placeholder image to represent content

The chemistry of photosynthesis

Quiz by Harini Raghavachari

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
9 questions
Show answers
  • Q1
    What is a variable in Javascript?
    A type of loop.
    A keyword for declaring functions.
    An object containing multiple values.
    A container for storing data values.
    A container for storing data values.
    30s
  • Q2
    Which keyword is used for declaring a function in Javascript?
    var
    let
    function
    const
    function
    30s
  • Q3
    What is the output of the following code: console.log(2 + '2');
    22
    undefined
    4
    NaN
    22
    30s
  • Q4
    What is the correct syntax for a 'for' loop in Javascript?
    for (initialization; condition; increment) {...}
    for (initialization; increment; condition) {...}
    for (initialization; condition; increment) {...}
    while (condition) {...}
    for (condition; initialization; increment) {...}
    30s
  • Q5
    What is the difference between '==' and '===' in Javascript?
    '==' is used for assignment, while '===' is used for comparison.
    '==' checks for value equality, while '===' checks for both value and type equality.
    '==' and '===' are the same in Javascript.
    '==' checks for value equality, while '===' checks for both value and type equality.
    '==' checks for both value and type equality, while '===' checks for value equality.
    30s
  • Q6
    What is an array in Javascript?
    A function that returns a value.
    An object that contains multiple methods.
    A special variable that can hold multiple values.
    A loop that runs multiple times.
    A special variable that can hold multiple values.
    30s
  • Q7
    What is the purpose of the 'return' keyword in a function?
    To stop the execution of the function.
    To specify the value that should be returned by the function.
    To print a message to the console.
    To declare a variable inside the function.
    To specify the value that should be returned by the function.
    30s
  • Q8
    What is the output of the following code: console.log(10 > 5 && 5 < 3);
    NaN
    false
    true
    undefined
    false
    30s
  • Q9
    Which operator is used for concatenating strings in Javascript?
    +
    -
    +
    /
    *
    30s

Teachers give this quiz to your class