
Data Codehs
Authored by Thomas Martinez
Computers
8th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 QUESTION
30 sec • 1 pt
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the symbol used for the INCREMENT operator in JS?
+
++
=
==
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Conditions return values of which data type?
Integer
boolean
floating-point
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Loops in programming start counting from ?
0
1
Any number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the or operator in JavaScript?
OR
or
||
|
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arithmetic Operators
What is ++ ?
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?