GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Intro to JavaScript + Data Types and Variables I

Code Ramp 5 Fragen

Quiz starten

Fragen in diesem 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]

Informationen

Beschreibung
Quiz am Intro to JavaScript + Data Types and Variables I, erstellt von Code Ramp am 10/04/2018.
Sprache
English
Aufrufe
38
Schlagwörter
toefl
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck