
Review 1
Quiz by Paul
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
16 questions
Show answers
- Q1What is the term used to describe a block of code that repeats a specific number of times?IterationSequenceSelectionFunction30s
- Q2Which of the following control structures allows a program to choose between different paths based on a condition?IterationSequenceArraySelection30s
- Q3What is the correct term for the order in which statements are executed in a program?SelectionIterationSequenceLoop30s
- Q4In programming, what is the purpose of a loop?To create a functionTo repeat a block of code multiple timesTo execute code only onceTo store data in a variable30s
- Q5Which of the following statements best describes a conditional statement in programming?It always runs regardless of conditionsIt repeats a section of codeIt allows the program to execute certain code only if a specified condition is trueIt defines a set of procedures30s
- Q6What type of loop continues to execute as long as a specified condition is true?Do while loopSwitch statementFor loopWhile loop30s
- Q7What is the main difference between sequence and selection in programming?Sequence and selection are the sameSelection runs all code; sequence runs noneSequence executes statements in order; selection chooses which statements to execute based on conditionsSequence repeats code; selection does not30s
- Q8Which control structure is used to execute a block of code only when a certain condition is met?While loopIf statementFunctionFor loop30s
- Q9What is the primary purpose of variables in programming?To create loops in the codeTo make the code fasterTo add colors to the programTo store and manipulate data30s
- Q10Which of the following best describes a variable in programming?A type of loopA function that performs actionsA named storage location for dataA way to comment code30s
- Q11What happens when you change the value of a variable in a program?The variable is deletedThe variable becomes permanentThe program crashesThe new value replaces the old value30s
- Q12Why do programmers use descriptive names for variables?To avoid using commentsTo make the program run fasterTo reduce the amount of codeTo enhance code readability and maintainability30s
- Q13In programming, what does it mean to 'initialize' a variable?To declare the variable without a valueTo change the variable typeTo delete the variableTo assign a starting value to the variable30s
- Q14What is the primary purpose of casting in programming?To delete a variableTo convert a variable from one data type to anotherTo create a new variableTo increase the size of a variable30s
- Q15Why might a programmer use casting when working with user input?To encrypt the inputTo ensure the input is treated as the correct data typeTo make the input invisibleTo automatically save the input30s