Computers

8th -

12thgrade

Image

CodeHS JavaScript

297
plays

21 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    His name is Fred and he is less than 16 years old

    if (name = "fred" && age < 16 )

    if (name === "fred" && age < 16 )

    if (name = "fred" || age < 16 )

    if (name === "fred" || age < 16 )

  • 2. Multiple Choice
    30 seconds
    1 pt

    Repeat something 10 times

    repeat 10

    for (var i=0; i<10; i++)

    repeat { } until 10;

    while (i = 10)

  • 3. Multiple Choice
    30 seconds
    1 pt

    What is the symbol used for the INCREMENT operator in JS?

    +

    ++

    =

    ==

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?