
ICT REVIEWER (TEST 1 AND 2 OF SUMMATIVE ONLY)
Authored by Lady Shine
Computers
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a variable in JavaScript?
let
String
$var
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid JavaScript variable name?
$var
myVar
_var
1var
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "===" operator do in JavaScript?
Assigns a value to a variable
Compares both value and type
Compares only the type
Compares only the value
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the keyword "break" do in JavaScript?
Skips the current iteration and proceeds to the next
Exits the loop immediately
Terminates the entire program
Continues to the next iteration in a loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop in JavaScript does not have a predetermined iteration count?
foreach loop
for loop
do-while loop
while loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for strict equality comparison in JavaScript?
===
!=
==
=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
let x = 5;
console.log(x++);
5
4
6
Error
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?