Program Terminology Flashcards

1
Q

Define program

A

A sequence of instructions (called statements), which are executed one after another in a predictable manner. Sequential flow is the most common and straight-forward sequence of statements, in which statements are executed in the order that they are written - from top to bottom in a sequential manner;

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

What is a statement?

A

A single action terminated by a semicolon.

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

What is a block?

A

A group of zero, one or more statements enclosed by a pair of braces.

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

Define syntax.

A

A set of rules that define how a program needs to be written in order to be valid.

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

What is a keyword?

A

A word that has a special meaning in the programming language. These words cannot be used as variable names for your own program

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

What is an identifier or a name?

A

A word that refers to something in a program (such as a variable or a function name).

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

Define comment.

A

A textual explanation of what the code does.

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

What is a whitespace?

A

All characters that are not visible.

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