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.

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

What is a syntax error?

A

An error that occurs when a rule of the programming language is broken.

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

What is a data type?

A

Specifies what kind of data a variable can hold.

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

What are the four common data types?

A

Integer, Real, Boolean & Character.

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

What is initialisation?

A

The process of assigning an initial value to a variable.

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

What do you use an assignment statement for?

A

To change the value of a variable.

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

What are Real values called in Python?

A

A float, or floating number.

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

A function is:

A

A subprogram that performs a specific task and can be used at any point in the program.

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