JavaScript Variables and Arithmetic
Quiz
•
Computers
•
8th - 12th Grade
•
Hard
+1
Standards-aligned
Tim Helland
Used 26+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT a JavaScript operator?
+
*
++
*=
=+
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is most likely to appear in a JavaScript program?
; (semicolon)
= (equals)
" (quote)
, (comma)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a JavaScript keyword?
var
variable
equal
add
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var a = 2;
Which of these will cause a to be 3 times larger?
a += 3;
a += 4;
a += 1
a++;
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these will cause a syntax error?
var strA = "She says, "Hi There" ";
var a = 4.98 - 15;
var b = b;
var strB = "\"quoted\""
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this code?
var a = 15 % 3;
a = 0
a = 5
a = 12
a = 45
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is NOT a valid starting character for JS variable names?
A (uppercase letter)
a (lowercase letter)
$ (dollar sign)
_ (underscore)
3 (digit)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
15 questions
Identidad Corporativa
Quiz
•
10th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
Word 2016
Quiz
•
10th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
15 questions
Excel - basic
Quiz
•
9th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
