
JavaScript Quiz
Authored by Romenion Kz
Computers
10th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
38 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var i = 1;
var sum = 0;
while (i <= 10)
{sum += i; i ++;}
alert (sum)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var i = 1;
var sum = 0;
while (i <= 15) {
if (i % 2 !== 0) sum += i;
i++;
}
alert(sum);
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var i = 6;
var product = 1;
while (i <= 10) {
product *= i;
i++;
}
alert(product);
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var x = 5;
var s = 0;
while(x){
s += x;
x --;
}
alert(s);
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var x = 10;
var s = 0;
while (x) {
s += x;
x--;
}
alert(s);
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var x = 4;
var s = 0;
while (x) {
s += x * x;
x--;
}
alert(s);
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var x = 5;
var s = 0;
while (--x){
s += x; }
s ++;
alert(s);
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
33 questions
Excel/Access 1
Quiz
•
9th - 12th Grade
43 questions
Parts of DSLR Camera
Quiz
•
10th - 12th Grade
35 questions
Unit 9.1 - Textual Programming
Quiz
•
8th Grade - University
40 questions
Customer Service
Quiz
•
9th - 12th Grade
35 questions
IT Fundamentals Topic 2
Quiz
•
10th - 12th Grade
40 questions
Python - Lists, Dictionaries and Loops
Quiz
•
9th - 12th Grade
42 questions
R093 Job Roles
Quiz
•
10th Grade
33 questions
Computing Careers Unit 9 FOC
Quiz
•
9th - 12th 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