placeholder image to represent content

LOOPS

Quiz by Brad Yourth

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
6 questions
Show answers
  • Q1
    A while loop is a ____?____ type of loop.
    pretest
    endless
    counter
    infinite
    30s
  • Q2
    A for loop is a(n) ____?____ loop.
    boolean
    condition-controlled
    accumulator
    count-controlled
    30s
  • Q3
    A(n) ____?____ is a variable used for a running total in a loop.
    sentinel
    counter
    accumulator
    boolean
    30s
  • Q4
    When detected, a ___?___ is a special value used to stop a loop.
    condition
    counter
    decision
    sentinel
    30s
  • Q5
    Counters and accumulators must be assigned an initial value of zero.
    True
    False
    30s
  • Q6
    __?__ loops must be coded with care to prevent them from being infinite.
    both for and while
    while
    for
    30s

Teachers give this quiz to your class