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

Quiz

Variables

Code Ramp 5 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (5)

  1. 1We think of variables as [blank_start]buckets[blank_end], they can contain a specific value.
    1. Abuckets
  2. 2If we initiate a new variable but do not assign it a value yet (e.g. var myNewVariable;), what value would this variable contain?
    1. A"" (an empty string)
    2. Bundefined
    3. Cnull
  3. 3Which of the below demonstrates good variable naming conventions?
    1. Avar #1bestnameever = "Bob";
    2. Bvar firstName = "Bob";
    3. Cvar first name = "Bob";
    4. Dvar n = "Bob";
  4. 4We bind a value to a variable using the [blank_start]assignment[blank_end] operator.
    1. Aassignment
    2. Bequals
  5. 5After a variable has been assigned a value, it cannot be changed.
    1. ATrue
    2. BFalse

Information

Description
Quiz on Variables, created by Code Ramp on 14/06/2018.
Author
Code Ramp
Language
English
Views
475
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?