NEW
Font size
WorksheetsIntroduction to programming
Total questions: 17
Worksheet time: 5mins
What is a programming language?
Written English
An artificial language used to program a computer
A language used in pseudocode
Written in Russian
What is machine code?
The serial number of a computer
A programming language that a computer understands
The make and model of a computer
Something about the riot of washing machines
What is a program?
A series of step-by-step instructions that tell a computer how to solve a task
A video that is watched on a computer
A flowchart written on a computer
A school schedule
What is a statement?
A box in a flowchart
A keyword in a programming language
A calculation performed in a programming language
Something political
What is an instruction?
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
Output a message on the screen
What does the statement 'while' do?
Tell the computer to wait for a while before continuing with the program
Implement selection
Implement a loop
Output a hard copy of a program to a printer
What does the statement 'print' do?
Output a message on the screen
Output a hard copy of a program to a printer
Print a hard copy of a flowchart to a printer
Scans a document
What does the statement 'def' do?
Creates a function or a procedure
Implement a loop
Implement selection
Tell the computer to wait for a while before continuing with the program
What do the statements 'if' and 'else' do?
Implement a loop
Output a message on the screen
Implement selection
Tell the computer to wait for a while before continuing with the program
How many statements are there in this line of code: print("If I am 17, I can drive a car")
There is one statement - 'print'
There are two statements - 'print' and 'if'
There are no statements
What does the term "variable" mean in programming?
A fixed value that cannot be changed
A container for storing data that can be modified
A type of loop structure
A method for printing output
Which of the following is NOT a common data type in most programming languages?
Integer
Boolean
Pictorial
String
What does the acronym "IDE" stand for in programming?
a. Integrated Development Environment
b. Internal Data Exchange
c. Interactive Design Element
d. Indexed Database Engine
Integrated Development Environment
Internal Data Exchange
Interactive Design Element
Indexed Database Engine
In programming, what is a "function"?
A mathematical equation
A type of variable
A reusable block of code that performs a specific task
A way to format text output
Which of the following is an example of a Boolean value?
"Hello, World!"
3.14
True
[1, 2, 3]
What does the term "syntax" refer to in programming?
The meaning of a program
The set of rules that define how a program is written
The speed at which a program runs
The way a program interacts with hardware
What is a "comment" in programming used for?
To execute code
To declare variables
To explain code and add notes for humans
To connect to a database
