Back to marketplace

(P1) Fundamentals of 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)

What is a data type?

Back (Answer)

Data types are defined by the values it can take or the operations that can be performed on it.

#2
Front (Question)

What is an integer?

Back (Answer)

A whole number, positive or negative. Including zero.

#3
Front (Question)

What is a real/float number?

Back (Answer)

A positive or negative number which can have a fractional part.

#4
Front (Question)

What is a boolean value?

Back (Answer)

Value which is either true or false.

#5
Front (Question)

What is a character?

Back (Answer)

A single number, letter or symbol.

#6
Front (Question)

What is a string?

Back (Answer)

A collection of characters.

#7
Front (Question)

What is the data type ‘data/time’?

Back (Answer)

Way of storing a point in time, many different formats are used.

#8
Front (Question)

What is a pointer/reference?

Back (Answer)

Way of storing memory addresses.

#9
Front (Question)

What is a record?

Back (Answer)

Collection of fields, each of which could have a different data type. Rows from a table.

#10
Front (Question)

What is an array?

Back (Answer)

An indexed set of related elements each of which has the same data type.

#11
Front (Question)

What is variable declaration?

Back (Answer)

Creating a variable for the first time, giving it a name and sometimes a data type. This allocates a portion of the computer’s memory to the variable.

#12
Front (Question)

What is constant declaration?

Back (Answer)

Creating a constant for the first time, giving it a name and a data type. The value of the constant does not change while the program is running.

#13
Front (Question)

What is assignment?

Back (Answer)

Giving a constant or variable a value.

#14
Front (Question)

What is iteration?

Back (Answer)

Repeating an instruction, this could be definite or indefinite.

#15
Front (Question)

What is selection?

Back (Answer)

Comparing values and choosing an action based on those values.

#16
Front (Question)

What is a subroutine?

Back (Answer)

A named block of code containing a set of instructions designed to perform a frequently used operation.

#17
Front (Question)

Give two examples of iteration.

Back (Answer)

For loop While loop

#18
Front (Question)

What is definite iteration?

Back (Answer)

Iteration in which the number of repetitions required is known before the loop starts.

#19
Front (Question)

What is indefinite iteration?

Back (Answer)

Iteration in which the number of repetitions required is not known before the loops starts.

#20
Front (Question)

Give an example of definite iteration.

Back (Answer)

For loop.

#21
Front (Question)

Give an example of indefinite iteration.

Back (Answer)

While loop.

#22
Front (Question)

What does it mean if code is ‘nested’ and how can you identify it.

Back (Answer)

Nested: One structure is placed within another. Identified by indentations.

#23
Front (Question)

How can you make your code easier to understand?

Back (Answer)

Use indentations. Choose sensible indentifier names.

#24
Front (Question)

What does the operation real/float division do?

Back (Answer)

When one value is divided by another, both a quotient and the remainder are returned.