Variables

Description

Quiz on Variables, created by Code Ramp on 14/06/2018.
Code Ramp
Quiz by Code Ramp, updated more than 1 year ago
Code Ramp
Created by Code Ramp over 6 years ago
461
0

Resource summary

Question 1

Question
We think of variables as [blank_start]buckets[blank_end], they can contain a specific value.
Answer
  • buckets

Question 2

Question
If we initiate a new variable but do not assign it a value yet (e.g. var myNewVariable;), what value would this variable contain?
Answer
  • "" (an empty string)
  • undefined
  • null

Question 3

Question
Which of the below demonstrates good variable naming conventions?
Answer
  • var #1bestnameever = "Bob";
  • var firstName = "Bob";
  • var first name = "Bob";
  • var n = "Bob";

Question 4

Question
We bind a value to a variable using the [blank_start]assignment[blank_end] operator.
Answer
  • assignment
  • equals

Question 5

Question
After a variable has been assigned a value, it cannot be changed.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Data Types
Jacob Sedore
Experiments- Method, Control of Variables, Design, Types
Grace Fawcitt
Biology
Kyle Lennox
Scientific Process
Elena Oliva
Cluster for Pre-Writing Assignment: Academic Departments - Students from Health and Nursing Departments
Krystal Cruz Marrero
Chapter 2: Basic Computation
Alexander Cintron
Básicos de programacion
jose antonio negreros orellana
Programación
Carlos Figueroa Robles
Definicion algoritmo
Edward Arley
Variables
maxi-alfaro