![placeholder image to represent content](/_next/image?url=%2Fassets%2Fquiz_default_logo.jpg&w=256&q=75)
Boolean and Shortcut Operators
Quiz by A RJ
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
15 questions
Show answers
- Q1true || falsefalsetrue20s
- Q2!truetruefalse20s
- Q3false || truefalsetrue20s
- Q4true && falsefalsetrue20s
- Q5true && truetruefalse20s
- Q6false && truefalsetrue20s
- Q7true || truetruefalse20s
- Q8false || falsefalsetrue20s
- Q9false && falsefalsetrue20s
- Q10!falsetruefalse20s
- Q11Final vaue of the variable age?934720s
- Q12If age=35, write a shorthand expression that changes that value of age to 5.age/=4;age*=2;age/=7;age-=10;20s
- Q13What is the shorthand version of the following code: age=age%10;age+=10;age/=10;age%=10;age-=10;20s
- Q14What 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
- Q15Given the following code, what is the final value of the variable a?3639412720s