CodeHS JavaScript Control Functions
Quiz
•
Computers
•
8th - 12th Grade
•
Medium
Greg Baker
Used 82+ times
FREE Resource
Enhance your content in a minute
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
When we are done with a line what do we put at the end?
a colon :
a semi-colon ;
a period .
a quotation mark "
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When we surround a word with quotes "David" it's called ?
a program
a loop
a string
a command
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable
Store values in containers so we can use them later.
Store values in containers so we can use them never.
Store values in containers so we can use them once.
Store values in containers so we can't use them later.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A short form writing the word variable is
rav
VAR
var
varia
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the symbol used for the INCREMENT operator in JS?
+
++
=
==
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
8-klass test jumısı (2-sherek BJ) © R.Nurzhanov
Quiz
•
8th Grade
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
20 questions
ਜਮਾਤ 10 ਵੀਂ ਕੰਪਿਊਟਰ ਕੁਇਜ਼ (ਸਾਰੇ ਪਾਠ ) ਮਾਰਚ 2024 : shivesh narang
Quiz
•
10th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st
Quiz
•
9th - 12th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Payment Gateways
Quiz
•
8th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
20 questions
Keyboard Quiz
Quiz
•
9th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
