Ar___. M____
Quiz von , erstellt am 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____
Erstellt von Ar___. M____ vor mehr als 9 Jahre
Schließen

Introduction to programming

Frage 1 von 10

1

What is a programming language?

Wähle eine oder mehr der folgenden:

  • An artificial language used to program a computer

  • Written English

  • The make and model of a computer

Erklärung

Frage 2 von 10

1

What is machine code?

Wähle eine oder mehr der folgenden:

  • A programming language that a computer understands

  • The serial number of a computer

  • The make and model of a computer

Erklärung

Frage 3 von 10

1

What is a program?

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 4 von 10

1

What is a statement?

Wähle eine oder mehr der folgenden:

  • A keyword in a programming language

  • A box in a flowchart

  • A calculation performed in a programming language

Erklärung

Frage 5 von 10

1

What is an instruction?

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 6 von 10

1

What does the statement 'print' do?

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 7 von 10

1

What does the statement 'while' do?

Wähle eine oder mehr der folgenden:

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

  • Implement selection

  • Implement a loop

Erklärung

Frage 8 von 10

1

What does the statement 'def' do?

Wähle eine oder mehr der folgenden:

  • Creates a function or a procedure

  • Implement a loop

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

Erklärung

Frage 9 von 10

1

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

Wähle eine oder mehr der folgenden:

  • Implement selection

  • Implement a loop

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

Erklärung

Frage 10 von 10

1

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

Wähle eine oder mehr der folgenden:

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

  • There are no statements

  • There is one statement - 'print'

Erklärung