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.
2
Q
What is a variable?
A
A storage location that can store data and that can be referenced to by a variable name.
3
Q
What is a data type?
A
It describes the type of data that is being used.
Eg. string, integer, float, boolean etc.
4
Q
What is an operator?
A
A character that represents a specific mathematical or logical process.