C D Quiz 7
Quiz by crio
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
5 questions
Show answers
- Q1
Predict the output for the following code: console.log(1 + 8 * 4 / 5)
0
7.2
7.4
7.3
30s - Q2
How do you declare a JavaScript variable?
variable carName;
var carName;
v carName;
None of the above
30s - Q3
What will be the output?
var x = 2;
var y = "2";
console.log(x===y);
True
Undefined
None of the above
False
30s - Q4
How does a FOR loop start?
for i = 1 to 5
for (i = 0; i <= 5)
for (i = 0; i <= 5; i++)
for (i <= 5; i++)
30s - Q5
What will be the output?
let ob = {1: "One", 2: "Two", 3: "Three"};
console.log(ob.2);
One
Three
Two
Error
30s