2.2 Programming Fundamentals Flashcards

1
Q

term

A

definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Programming basics

A

Fundamentals of writing programs, including using functions like print() and input(), and repeating instructions using loops like for and while.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Structured Query Language (SQL)

A

A language used to query databases. SQL commands can retrieve data and modify databases using SELECT, INSERT, UPDATE, and DELETE commands.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SQL SELECT command

A

The SELECT command retrieves fields from a database based on specific conditions defined using the WHERE clause.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Variable assignment

A

Assigning a value to a variable, which stores information during program execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Initialisation

A

Assigning a variable with its first value when a program starts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Constant

A

A variable that holds a value which stays the same throughout the program’s execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Iteration

A

The process of repeating a set of instructions, often using loops like for or while to perform repetitive tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Selection

A

Choosing which part of the program to follow based on certain conditions, using if, elif, and else statements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

String Manipulation

A

Manipulating strings of text, such as joining or slicing strings to form new values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SQL wildcard

A

The * wildcard in SQL retrieves all records from a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Data Structures

A

Organized sets of data, such as lists or arrays, that can be easily modified and accessed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

To iterate through a list of values

A

You must use a loop (for or while) to go through the list and access each value, depending on how many values are present.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Sub-programs

A

Small blocks of code with a unique name that can be called multiple times throughout the program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Parameters

A

Variables that are passed into sub-programs to give them the necessary data to perform tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Arguments

A

The actual values passed into a sub-program to be used by the parameters.

17
Q

Local Variables

A

Variables that are only accessible within a certain section of code or sub-program.

18
Q

Global Variables

A

Variables that can be accessed by the entire program, including all sub-programs.

19
Q

Pseudocode

A

A plain-language description of a program or algorithm, often used for planning before actual coding.

20
Q

Random number generation

A

Using functions like random_int() to generate random numbers within a specified range.

21
Q

While loops

A

A loop that repeats a set of instructions as long as a specified condition remains true.

22
Q

For loops

A

A loop used to repeat a set of instructions a specific number of times, usually with a counter.

23
Q

Writing to files

A

Using programming functions like openWrite and file.writeLine to store data into files.

24
Q

Flowcharts

A

Diagrams used to represent the flow of a program using different symbols for processes, inputs, outputs, and decisions.

25
Q

Data Types

A

Different types of data used in programming: String (text), Integer (whole numbers), Real (decimals), Boolean (true/false).