Data Types: Part I

Descripción

Test sobre Data Types: Part I, creado por Code Ramp el 12/06/2018.
Code Ramp
Test por Code Ramp, actualizado hace más de 1 año
Code Ramp
Creado por Code Ramp hace casi 6 años
434
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

Pregunta
Which of the following are valid operators in JavaScript?
Respuesta
  • %
  • +
  • /
  • **
Mostrar resumen completo Ocultar resumen completo

Similar

Guerra civil
Daniel Gonzalez2941
AGENCIA DE VIAJES
yess_linda2
Símbolos y Abreviaciones para tomar apuntes
Diego Santos
La Dictadura Franquista Selectividad
Diego Santos
La acentuación de diptongos, triptongos e hiatos
Elisa Tormo Guevara
Literatura: Obras y Autores
Diego Santos
HERRAMIENTAS DE APRENDIZAJE CUADRO COMPARATIVO
alerusi30
Independencia de México
Alejanda Aias
RESOLUCIÓN DE CONFLICTOS
Kelly Maria
Ley Orgánica de la Administración Pública Federal.
Miguel Guizar
Vocabulaire: Je vole (Louane) -
Michel Gomez