While loop

Quiz
•
1st - 2nd Grade
•
Medium
Sundus Housah
Used 60+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents the correct flowchart for while loop.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a while loop the minimum time a code will be executed is
Once
Twice
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a While loop a code will be repeated until the condition becomes
FALSE
TRUE
User choice
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
loops is control flow statement for specifying iteration, which allows code to be executed repeatedly
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IF statements are used for iterations
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Decision making can be done by Switch statements
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the mistake in this syntax
____________________________________
whle (condition is true) {
code to be executed
}
;
{
While
{ and While
; and While
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
<html>
<body>
<?php
$x = 1;
while($x == 5) {
echo "The number is: $x <br>";
$x++;
}
?>
</body>
</html>
________________________________________________
This code will print ..
The number is: 1
The number is: 2
The number is: 3
The number is: 4
The number is: 5
The number is: 0
The number is: 2
The number is: 3
The number is: 4
The number is: 5
Nothing
The number is: 0
The number is: 0
The number is: 0
The number is: 0
The number is: 0
Similar Resources on Wayground
10 questions
Competitive Programming

Quiz
•
1st Grade
9 questions
Python Quiz (More Loops)

Quiz
•
KG - 6th Grade
11 questions
2nd Grade Math Comparison

Quiz
•
2nd Grade
12 questions
Compare Numbers Using Place Value

Quiz
•
2nd Grade
12 questions
Place Value

Quiz
•
2nd Grade
10 questions
Compare and Order Numbers to Thousands

Quiz
•
2nd - 3rd Grade
10 questions
Information Coding Scheme

Quiz
•
1st Grade - University
12 questions
Mental Math

Quiz
•
1st Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade