Data Types and Programming Concepts Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Integer

A

A whole number data type.

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

Real/Float

A

A decimal number data type.

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

Boolean

A

A data type that can have a value of true or false.

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

Character

A

A single alphanumeric character data type.

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

String

A

A group of characters data type.

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

Data / Time

A

A data type used for storing a point in time.

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

Pointer / Reference

A

A data type used for storing memory addresses.

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

Records

A

A collection of fields data type.

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

Arrays

A

An indexed set of elements data type.

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

Variable Declaration

A

Creating a variable for the first time by giving it a name and a data type.

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

Constant Declaration

A

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

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

Assignment

A

Giving a variable/constant a value.

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

Iteration

A

Repeating an instruction.

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

Selection

A

Comparing values and choosing an action based on a condition.

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

Subroutine

A

A block of code with a set of instructions designed to perform a frequently used operation. Can be recalled.

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

Definite iteration

A

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

17
Q

Indefinite iteration

A

Iteration where the number of repetitions required is not known before the loop starts.

18
Q

Nested structures

A

Used with selection and iteration - one structure is placed within another using indentation.

19
Q

Meaningful identifier names

A

Variable names that are sensible and meaningful, making it easier for others to understand the purpose of the variable.

20
Q

Sequence

A

One of the three main programming concepts, which refers to the order in which instructions are executed.

21
Q

SUMMARY

A

The three main programming concepts are sequence, selection, and iteration. There are many data types, and each has its own use. Variables must be named sensibly and have a meaningful name, making it easier for other programmers to identify their purpose in the program.