Ar___. M____
Quiz by , created more than 1 year ago

programming is writing computer code to create a program, in order to solve a problem. Programs consist of a series of instructions to tell a computer exactly what to do and how to do it.

141
0
0
Ar___. M____
Created by Ar___. M____ over 9 years ago
Close

Introduction to programming

Question 1 of 10

1

What is a programming language?

Select one or more of the following:

  • An artificial language used to program a computer

  • Written English

  • The make and model of a computer

Explanation

Question 2 of 10

1

What is machine code?

Select one or more of the following:

  • A programming language that a computer understands

  • The serial number of a computer

  • The make and model of a computer

Explanation

Question 3 of 10

1

What is a program?

Select one or more of the following:

  • A video that is watched on a computer

  • A series of step-by-step instructions that tell a computer how to solve a task

  • A flowchart written on a computer

Explanation

Question 4 of 10

1

What is a statement?

Select one or more of the following:

  • A keyword in a programming language

  • A box in a flowchart

  • A calculation performed in a programming language

Explanation

Question 5 of 10

1

What is an instruction?

Select one or more of the following:

  • A box in a flowchart

  • A calculation performed in a programming language

  • One or more statements grouped together to instruct the computer to perform a task

Explanation

Question 6 of 10

1

What does the statement 'print' do?

Select one or more of the following:

  • Output a hard copy of a program to a printer

  • Output a message on the screen

  • Print a hard copy of a flowchart to a printer

Explanation

Question 7 of 10

1

What does the statement 'while' do?

Select one or more of the following:

  • Tell the computer to wait for a while before continuing with the program

  • Implement selection

  • Implement a loop

Explanation

Question 8 of 10

1

What does the statement 'def' do?

Select one or more of the following:

  • Creates a function or a procedure

  • Implement a loop

  • Tell the computer to wait for a while before continuing with the program

Explanation

Question 9 of 10

1

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

Select one or more of the following:

  • Implement selection

  • Implement a loop

  • Tell the computer to wait for a while before continuing with the program

Explanation

Question 10 of 10

1

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

Select one or more of the following:

  • There are two statements - 'print' and 'if'

  • There are no statements

  • There is one statement - 'print'

Explanation