Programming Flashcards

1
Q

Variable

A

A named location in memory, the contents of which can change as the program executes

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

Constant

A

A named location in memory, the contents of which do not change during the program’s execution

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

Input

A

The process of passing data into the program usually (though not exclusively) by the system user

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

Output

A

The process of passing data out a program through output devices like a monitor and speaker

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

Assignment

A

The process of storing an item of data as a variable or a constant. The = sign is employed.
Ex) name = input()

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

Control Flow

A

The way a program moves from instruction to instruction. There are three types:

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

Sequence

A

A set of instructions that go from one instruction to the next

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

Selection

A

A decision that affects the flow of the program based on the results of an event

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

Iteration

A

Repetition of parts or all of a program forever or until a certain condition has been met

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