Data Types: Part I

Beschreibung

Quiz am Data Types: Part I, erstellt von Code Ramp am 12/06/2018.
Code Ramp
Quiz von Code Ramp, aktualisiert more than 1 year ago
Code Ramp
Erstellt von Code Ramp vor etwa 7 Jahre
445
0
1 2 3 4 5 (0)

Zusammenfassung der Ressource

Frage 1

Frage
Which of the following is not a JavaScript primitive data type?
Antworten
  • Boolean
  • String
  • Decimal
  • Number

Frage 2

Frage
Given the string 'Hello world!', how would you find out how many characters are in the string?
Antworten
  • 'Hello world!'.length
  • 'Hello world!'.len
  • 'Hello world!'.long
  • length('Hello world!')

Frage 3

Frage
Given the string 'Hello world!', which index is the letter 'e' found at?
Antworten
  • 0
  • 1
  • 2
  • 3

Frage 4

Frage
What does the special character` \n` do?
Antworten
  • Creates a new line in the string.
  • Makes it so our output skips the letter n.
  • Allows us to include quotes inside a string.

Frage 5

Frage
Which of the following are valid operators in JavaScript?
Antworten
  • %
  • +
  • /
  • **
Zusammenfassung anzeigen Zusammenfassung ausblenden

0 Kommentare

There are no comments, be the first and leave one below:

ähnlicher Inhalt

Publizistik Step 4 Prüfungsvorbereitung
Mona Les
Tag der deutschen Einheit
barbara91
Ökologie fürs Abitur - Lernfolien
Laura Overhoff
Imperialismus Zusammenfassung
Laura Overhoff
The Commonwealth
Laura D
DELF B1/B2 Vocabulaire 1/...
Chiara Braun
Systemwissenschaften 1 Teil Füllsack
Gustav Glanz
Histologie Schnitte Vetie
Kris Tina