Fundamentals Of Programming Flashcards

1
Q

Explain the three programming constructs?

A

Sequence - the order in which instructions are processed.
Selection - eg. if, else.
Iteration- the repeated execution of a section of code.

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

What is a variable?

A

A storage location that can store data and that can be referenced to by a variable name.

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

What is a data type?

A

It describes the type of data that is being used.
Eg. string, integer, float, boolean etc.

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

What is an operator?

A

A character that represents a specific mathematical or logical process.

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