Topic 1 - Programming Flashcards
1
Q
What does execution mean?
A
The process by which a computer carries out the instructions of a computer program.
2
Q
What is a syntax error?
A
An error that occurs when a rule of the programming language is broken.
3
Q
What is a data type?
A
Specifies what kind of data a variable can hold.
4
Q
What are the four common data types?
A
Integer, Real, Boolean & Character.
5
Q
What is initialisation?
A
The process of assigning an initial value to a variable.
6
Q
What do you use an assignment statement for?
A
To change the value of a variable.
7
Q
What are Real values called in Python?
A
A float, or floating number.
8
Q
A function is:
A
A subprogram that performs a specific task and can be used at any point in the program.