Back to marketplace

3.2 Programming

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

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

Card preview (24)

#1
Front (Question)

Data types

Back (Answer)

Programming languages store data as different types and they are dealt with differently by the program.

#2
Front (Question)

INT

Back (Answer)

Integer - whole numbers, positive and negative

#3
Front (Question)

REAL

Back (Answer)

Numbers that have a decimal point- sometimes called FLOAT

#4
Front (Question)

BOOLEAN

Back (Answer)

Can have one of two values - true/false, yes/no, 1/0

#5
Front (Question)

CHAR

Back (Answer)

Character - a single letter, number or symbol

#6
Front (Question)

STRING

Back (Answer)

Used to represent text - it is a collection of characters

#7
Front (Question)

Casting

Back (Answer)

Changing one data type to another, e.g. converting string to integer

#8
Front (Question)

DIV operator

Back (Answer)

Returns the whole number part of a division, e.g. 5 DIV 2 = 2

#9
Front (Question)

MOD operator

Back (Answer)

Returns the remainder part of a division, e.g. 5 MOD 2 = 1

#10
Front (Question)

Assignment

Back (Answer)

Assigning a value to a variable or constant, e.g. total=25 assigns the value 25 to the variable total

#11
Front (Question)

Comparison operator

Back (Answer)

Compares the left hand side of an expression to the right hand side, e.g. 4<10 (is 4 less than 10)

#12
Front (Question)

Same as?

Back (Answer)

Python uses ==

#13
Front (Question)

Not the same as?

Back (Answer)

Python uses !=

#14
Front (Question)

Variable

Back (Answer)

A named data store which can change as the program is run

#15
Front (Question)

Constant

Back (Answer)

A named data store which cannot be changed as the program is run, e.g. pi

#16
Front (Question)

Local variable

Back (Answer)

A variable that is only defined and usable in certain parts of a program

#17
Front (Question)

Global variable

Back (Answer)

A variable that can be used throughout the whole program

#18
Front (Question)

Selection

Back (Answer)

A decision/way of controlling a program using a selection statement, IF - THEN - ELSE

#19
Front (Question)

Nested IF statements

Back (Answer)

Using an IF statement inside another one.

#20
Front (Question)

ELIF

Back (Answer)

Used where there is more than one option in a selection statement. Short for ELSE - IF

#21
Front (Question)

Iteration

Back (Answer)

A way of repeating a set of instructions - can be a based on a condition or a number of repetitions

#22
Front (Question)

FOR LOOP

Back (Answer)

A count controlled loop

#23
Front (Question)

Array

Back (Answer)

A data structure that can store a group of data values of the same time. A one-dimensional array could be called a LIST. A two-dimensional list could be called a TABLE.

#24
Front (Question)

Subroutine

Back (Answer)

A set of instructions stored under one name which can be used (called) when you want the program to use them