CodeHS JavaScript
Assessment
•
Greg Baker
•
Computers
•
8th - 12th Grade
•
298 plays
•
Medium
Improve your activity
Higher order questions
Match
•
Reorder
•
Categorization
actions
Add similar questions
Add answer explanations
Translate quiz
Tag questions with standards
More options
21 questions
Show answers
1.
Multiple Choice
His name is Fred and he is less than 16 years old
if (name = "fred" && age < 16 )
if (name === "fred" && age < 16 )
if (name = "fred" || age < 16 )
if (name === "fred" || age < 16 )
2.
Multiple Choice
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
3.
Multiple Choice
What is the symbol used for the INCREMENT operator in JS?
+
++
=
==
4.
Multiple Choice
Conditions return values of which data type?
Integer
boolean
floating-point
string
5.
Multiple Choice
Loops in programming start counting from ?
0
1
Any number
6.
Multiple Choice
What symbol represents the or operator in JavaScript?
OR
or
||
|
Explore this activity with a free account
Find a similar activity
Create activity tailored to your needs using
Computer Hardware
•
9th - 12th Grade
Hardware & Software
•
6th - 7th Grade
Computer Basics
•
6th - 8th Grade
Coding
•
5th - 8th Grade
Python
•
7th - 8th Grade
Parts of a Computer
•
KG - 1st Grade
Computer Basics
•
University
Computer Basics
•
9th - 12th Grade