placeholder image to represent content

Boolean and Shortcut Operators

Quiz by A RJ

Feel free to use or edit a copy

includes Teacher and Student dashboards

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

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
15 questions
Show answers
  • Q1
    true || false
    false
    true
    20s
  • Q2
    !true
    true
    false
    20s
  • Q3
    false || true
    false
    true
    20s
  • Q4
    true && false
    false
    true
    20s
  • Q5
    true && true
    true
    false
    20s
  • Q6
    false && true
    false
    true
    20s
  • Q7
    true || true
    true
    false
    20s
  • Q8
    false || false
    false
    true
    20s
  • Q9
    false && false
    false
    true
    20s
  • Q10
    !false
    true
    false
    20s
  • Q11
    Final vaue of the variable age?
    Question Image
    9
    3
    4
    7
    20s
  • Q12
    If age=35, write a shorthand expression that changes that value of age to 5.
    age/=4;
    age*=2;
    age/=7;
    age-=10;
    20s
  • Q13
    What is the shorthand version of the following code: age=age%10;
    age+=10;
    age/=10;
    age%=10;
    age-=10;
    20s
  • Q14
    What is the long (not shorthand) version of the following code: age*=6;
    age=age-6;
    age=age/6;
    age=age+6;
    age=age*6;
    20s
  • Q15
    Given the following code, what is the final value of the variable a?
    Question Image
    36
    39
    41
    27
    20s

Teachers give this quiz to your class