pencil-icon
Build your own quiz

Computers

Image

KA JS Text and Strings

153
plays

5 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt
    Which of these lines of JS code properly store a string?
    var myName = 'Fox";
    var myName = Fox;
    var myName = 'Fox';
    var myName = "Fox';
  • 2. Multiple Choice
    30 seconds
    1 pt
    What operator do you use to combine strings together?
    ++
    &
    &&
    +
  • 3. Multiple Choice
    30 seconds
    1 pt
    Which of these lines of code display a string and have no errors?
    text(Heya, 10, 20);
    text("Heya", 10, 20);
    text("Heya, 10, 20");
    text("Heya, 10, 20);
  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?