
JavaScript Quiz
Authored by Romenion Kz
Computers
10th Grade
Used 11+ 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
35 questions
Unit 9.1 - Textual Programming
Quiz
•
8th Grade - University
40 questions
Customer Service
Quiz
•
9th - 12th Grade
40 questions
Python - Lists, Dictionaries and Loops
Quiz
•
9th - 12th Grade
33 questions
Computer Lab Safety
Quiz
•
9th - 12th Grade
42 questions
R093 Job Roles
Quiz
•
10th Grade
33 questions
Computing Careers Unit 9 FOC
Quiz
•
9th - 12th Grade
33 questions
Excel/Access 1
Quiz
•
9th - 12th Grade
43 questions
Parts of DSLR Camera
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade