How do I declare a new variable?

MTA JavaScript Basics
Quiz
•
11th Grade - University
•
Hard
Used 18+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var newVariable = 5
Variable int = new Variable()
var 5 = myVariable
int var = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will:
x++;
Add 1 to the previous value of x
Add 1 to the previous value of y
Subtract 1 from the previous value of x
Give an error message
Add 2 to the previous value of x.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer will use this to see details about code that she does not want the site user to necessarily see:
document.write();
var debug();
print.console();
console.log();
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
ORDINARIO PROGRAMACION
Quiz
•
University
25 questions
Test Your JavaScript Fundamental (Part 1)
Quiz
•
University
31 questions
Ass2-Quiz2-Programming
Quiz
•
11th Grade
30 questions
JavaScript
Quiz
•
University
29 questions
JavaScript
Quiz
•
9th - 12th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries
Quiz
•
9th - 12th Grade
25 questions
JavaScript
Quiz
•
University
25 questions
Quizizz JavaScript Attempt 2 Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
