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

Quiz

Data Types: Part II

Code Ramp 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1Which of the following are valid operators in JavaScript?
    1. A+
    2. B/
    3. C%
    4. D**
  2. 2If we create a new variable, but we don't assign that variable to anything right away, what data type does the new variable default to?
    1. Anull
    2. Bundefined
    3. CNaN
  3. 3If we have a variable called middleName and we're saving information for a user who has no middleName, what data type might that variable contain?
    1. Anull
    2. Bundefined
    3. CNaN
  4. 4If we try to assign a variable to the result of a mathematical operation that is not valid (e.g. var result = Math.log(-1); ), what type would that variable be?
    1. Anull
    2. Bundefined
    3. CNaN
  5. 5Which of the following are boolean expressions?
    1. A5 > 1
    2. Btrue === true
    3. C6 % 2
    4. D"Hello world".length > 10

Information

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