Back to marketplace

2.2 Programming Fundamentals

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

Initialisation

Back (Answer)

Setting the initial value for a variable.

#2
Front (Question)

Variable

Back (Answer)

An identifier associated with an area of computer memory in which data is stored. The data can change during program execution.

#3
Front (Question)

Sequence

Back (Answer)

The order. A set of instructions that will be carried out, one after the other, in the stated order.

#4
Front (Question)

Constant

Back (Answer)

An identifier associated with an area of computer memory in which data is stored. The data CANNOT change during program execution.

#5
Front (Question)

Selection

Back (Answer)

A program control structure with a logical test, or sequence of tests, that evaluate(s) to True or False. It allows subsequent statements to be run selectively depending on the outcome of the test(s).

#6
Front (Question)

Condition

Back (Answer)

An expression that evaluates to True or False (such as within an ‘if’ statement)

#7
Front (Question)

Selection with multiple conditions

Back (Answer)

Multiple statements take the form of else if and act as additional conditions that are checked in the order in which they are written in the selection block

#8
Front (Question)

Expression

Back (Answer)

Combination of variables, constants, values, or operators that is evaluated to produce a result.

#9
Front (Question)

Loop

Back (Answer)

A sequence of instructions that is repeated. This can be a fixed number of repetitions (count-controlled loop) or the number of repetitions can be controlled by a condition (condition-controlled loop)

#10
Front (Question)

Integer

Back (Answer)

A whole number, such as 5. It can be positive or negative.

#11
Front (Question)

Integer Division / Floor Division / Quotient

Back (Answer)

A division where the quotient (result) is an integer and any remainders are discarded. The operator is often represented by the abbreviation DIV or in Python it uses the // sign.

#12
Front (Question)

Modulo operation

Back (Answer)

An operation that returns the remainder of a division. The modulo operator is often represented by the abbreviation MOD or in Python it uses the % sign.

#13
Front (Question)

Real / Float

Back (Answer)

Real is also referred to as float. Real numbers include numbers with decimal places. A real number can be positive or negative.

#14
Front (Question)

Boolean

Back (Answer)

The Boolean data type is based on logic and can have one of only two values, True or False

#15
Front (Question)

Char

Back (Answer)

Char refers to a single character. The character can be any letter, digit or symbol

#16
Front (Question)

String

Back (Answer)

The string data type refers to text. A string is a collection of characters and includes spaces, punctuation, numeric digits and any other symbols. The numeric digits would be handled as text characters, not integers.

#17
Front (Question)

Null

Back (Answer)

A null value is used to indicate ‘nothing’; the lack of any value, of any type of data.

#18
Front (Question)

Data Type

Back (Answer)

An attribute of a data item that determines the values that can be stored and the operations that can be carried out on that data item. Examples include string, character, integer, float (real) and Boolean.

#19
Front (Question)

Casting

Back (Answer)

Changing the data type of a piece of data. For example, converting a string to an integer using int()

#20
Front (Question)

Concatenation

Back (Answer)

Joining two or more strings together to make a new string.

#21
Front (Question)

Index

Back (Answer)

A number that describes the position of an item within an array. Starts at zero for the first item.

#22
Front (Question)

Substring

Back (Answer)

A part of a string.

#23
Front (Question)

Function

Back (Answer)

A named block of code that performs a task and returns one or more values.

#24
Front (Question)

Procedure

Back (Answer)

A named section of code that can be called (executed) to perform a specific task by using the identifier (name of the procedure) in a program statement. It does not return a value.