placeholder image to represent content

C D Quiz 7

Quiz by crio

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
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

Teachers give this quiz to your class