Programming Flashcards

1
Q

What is an integer

A

A positive or negative whole number, includes 0

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

What is a float

A

A positive or negative number that can be written as a fraction

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

What is a boolean

A

A value that outputs either true or false

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

What is a character

A

A single letter, number or symbol

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

What is a string

A

A collection of characters

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

What is date/time

A

A way of storing a point in time

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

What is a point/reference

A

A way of storing a memory address

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

What is a record

A

A collection of fields, each of which may have a different data type.

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

What is an array

A

A finite, indexed set of related elements each of which has the same data type.

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

What is a user defined data type

A

Customised data structures derived from existing data types to ensure a solution is memory efficient.

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

What is a variable decleration

A

Creating a variable for the first time, giving it a name and data type. This allocates the computers memory to the variable.

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

What is a constant declaration

A

Creating a variable for the first time that cannot change as the program is run.

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

What is assignment

A

Giving a variable or constant a value.

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

What is iteration

A

Repeating an instruction. Definite iteration when the number of repetitions is known before starting, indefinite when number of repetitions unknown.

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

What is selection

A

Comparing values and choosing an action based on those values

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

What is a subroutine

A

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

17
Q

What is a nested structure

A

When one structure is placed within another and can be identified by its level of indentation.

18
Q
A
19
Q
A