WorksheetsJS: Conditionals!
Total questions: 11
Worksheet time: 6mins
Which of the following variable declarations are right?
var 10 =10;
var num = 10;
var name = "Bob";
var number 10 = 10;
What is the value of x here?
(a)
What is the value of z?
(a)
Is this statement true or false? ( write true or false)
(a)
Is this statement true or false? (write true or false)
(a)
Is this statement true or false? (Write true or false)
(a)
Which statement will be printed to the console?
I am 5
I am not 5
I'm not sure
Nothing will be printed
Which of these statements will be printed?
I am less than or equal to 10
I am none of the options
I am 5
What will be printed to the console?
You are in elementary school
You are in high school
You are in some other school
What will be printed to the console?
You passed
You failed
None of the options
What will be printed to the console log?
You got the average
You failed
Congrats you get ice cream!
