Quiz
Data Types: Part I
Perguntas do quiz (5)
1Which of the following is not a JavaScript primitive data type?
- ABoolean
- BString
- CDecimal
- DNumber
2Given the string 'Hello world!', how would you find out how many characters are in the string?
- A'Hello world!'.length
- B'Hello world!'.len
- C'Hello world!'.long
- Dlength('Hello world!')
3Given the string 'Hello world!', which index is the letter 'e' found at?
- A0
- B1
- C2
- D3
4What does the special character` \n` do?
- ACreates a new line in the string.
- BMakes it so our output skips the letter n.
- CAllows us to include quotes inside a string.
5Which of the following are valid operators in JavaScript?
- A%
- B+
- C/
- D**
Informações
- Descrição
- Quiz sobre Data Types: Part I, criado por Code Ramp em 12-06-2018.
- Autor
- Code Ramp
- Idioma
- English
- Visualizações
- 458
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz