WorksheetsCPT Practice
Total questions: 13
Worksheet time: 7mins
One of the three building blocks of programming. Sequencing refers to just sequential steps in a program is known as?
Selection
Iteration
Sequencing
Phishing
What is the technical term for one of the three building blocks of programming which is another way of saying loops, or while/repeat until/for loops? For example:
For each x in item:
print(x)
Incremental
Alternative
Iteration
Algorithm
What is a Boolean?
A data type that can have one of two possible values: true or false.
A data type that can have multiple values.
A data type that can have one of three possible values: true, false, or maybe.
A data type that can only have the value true.
What is a conditional statement?
A statement that is executed before the condition is checked
A programming construct that allows the execution of different code blocks based on a specified condition.
A statement that is executed only once
A statement that is always executed regardless of the condition
What is a variable?
A mathematical equation
A programming language
A named storage location in a computer's memory that can hold a value.
A type of computer virus
What is a loop?
A loop is a programming construct that allows a set of instructions to be repeated multiple times until a certain condition is met.
A loop is a type of musical composition.
A loop is a circular shape or path.
A loop is a type of knot used in sailing.
What is an algorithm?
A musical instrument
A set of instructions designed to perform a specific task.
A type of food seasoning
A type of computer virus
Which are types of input? Select all that apply.
Keyboard
Mouse click
Touch (tablet)
None of these.
What is debugging?
Testing your code for errors.
Ew, bugs.
Which are types of output? Select all that apply.
Audio
Text
Images and video
Mouse Click
The value that is assigned in any list is considered...
Element
Index
String
Integer
Lists reference their values by using which of the following?
Index
Element
Variables
Loops
finding and correcting errors in your program
debugging
getting good
abstraction
iteration
