Examplary
Start for free
Oak ComputingTest · Computing

Using selection when developing programs

The starter and exit quiz of the lesson “Using selection when developing programs”, from the unit “Programming: selection” (Year 10 Computing) by Oak National Academy.

Free to use. Edit it, share it and hand it out to your students.

Oak National Academy

12 questions

  1. Which flowchart symbol is sued to represent a decision?
  2. Which of the following is the correct syntax for a print statement in Python?
  3. What does an IF statement represent?
  4. In programming what is the answer to an IF question?
  5. ___ is used when there is more than one possible path for a program to follow.
  6. What statement is used to obtain a value for a variable from a user?
  7. What is the purpose of selection in programming?
  8. Which of the following is used for selection in Python?
  9. What will be the output of the following code?number = 10if number > 5: print(number + 5)else: print(number - 5)
  10. A condition in programming is an expression that evaluates to either ___ or False.
  11. The ___ statement is used when there are multiple conditions to check one after another.
  12. What will the following program output?score = 30if score > 30: print("You won!")print("The end")

License: OGL

Using selection when developing programs · Examplary