
Week 5.1
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Poul Nichols
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a while loop and a do-while
There is no difference
A do-while loop always executes at least once
A while loop always executes at least once
A do-while loop can only be used for counting
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to set up a while loop?
for
while
do
until
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet?
var count = 0; while (count < 5) {
document.write( count + "</br>");
count++; }
0
1
2
3
4
0 1 2 3 4
1 2 3 4 5
1
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet?
var i = 0;
do {
document.write(i + "<br>")
i++;
} while (i < 0);
0
0
1
2
3
4
5
An infinite loop
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
document.write("5" + 5);
5
5
"5" + 5
"55"
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
document.write(5 + 5);
5
5
"5" + 5
"55"
10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator would you use to invert the truth value of a condition?
&&
||
!
==
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
10 questions
DP-100 Day 2
Quiz
•
University - Professi...
10 questions
A+ Core 1 Printer Troubleshooting
Quiz
•
University - Professi...
10 questions
Python Basics
Quiz
•
Professional Development
10 questions
Microsoft 365 for Teachers
Quiz
•
Professional Development
15 questions
C Module 1 Quiz
Quiz
•
Professional Development
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
Bertelsmann AI Track Quiz Initiative #2
Quiz
•
University - Professi...
15 questions
SEC+ Ch.8 Review Test
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
