GoConqr has a new look! Let us know what you think.

Quiz

Intro to JavaScript + Data Types and Variables I

Code Ramp 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1Which of the following are examples of computer programs?
    1. AYour browser
    2. BA video game
    3. CMicrosoft excel
    4. DYour operating system
  2. 2Which command serves as a good debugging tool by printing something to the JavaScript console?
    1. Aprompt()
    2. Bconsole.log()
    3. Calert()
  3. 3Which of the following is not a JavaScript primitive data type?
    1. AString
    2. BBoolean
    3. CDecimal
    4. DNull
  4. 4Which of the below demonstrates good variable naming conventions?
    1. Avar #1bestnameever = "Bob";
    2. Bvar firstName = "Bob";
    3. Cvar n = "Bob";
    4. Dvar first name = "Bob";
  5. 5If we've created a variable which contains a string value (e.g. var courseName = "Code Ramp"), how can we find the first character of that string (e.g. "C")?

    (Hint: We're using indexing here!)
    1. AcourseName[1]
    2. BcourseName[0]
    3. CcourseName[5]
    4. DcourseName[-1]

Information

Description
Quiz on Intro to JavaScript + Data Types and Variables I, created by Code Ramp on 10/04/2018.
Author
Code Ramp
Language
English
Views
38
Tags
toefl
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?