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

Quiz

Data Types: Part I

Code Ramp 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1Which of the following is not a JavaScript primitive data type?
    1. ABoolean
    2. BString
    3. CDecimal
    4. DNumber
  2. 2Given the string 'Hello world!', how would you find out how many characters are in the string?
    1. A'Hello world!'.length
    2. B'Hello world!'.len
    3. C'Hello world!'.long
    4. Dlength('Hello world!')
  3. 3Given the string 'Hello world!', which index is the letter 'e' found at?
    1. A0
    2. B1
    3. C2
    4. D3
  4. 4What does the special character` \n` do?
    1. ACreates a new line in the string.
    2. BMakes it so our output skips the letter n.
    3. CAllows us to include quotes inside a string.
  5. 5Which of the following are valid operators in JavaScript?
    1. A%
    2. B+
    3. C/
    4. D**

Information

Description
Quiz on Data Types: Part I, created by Code Ramp on 12/06/2018.
Author
Code Ramp
Language
English
Views
458
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?