Introduction to programming test questions

1

What is a programming language?

2

What is machine code?

3

What is a program?

4

What is a statement?

5

What is an instruction?

6

What does the statement 'print' do?

7

What does the statement 'while' do?

8

What does the statement 'def' do?

9

What do the statements 'if' and 'else' do?

10

How many statements are there in this line of code: print("If I am 17, I can drive a car")?