Iteration - While Loop

Quiz
•
Computers
•
8th - 12th Grade
•
Hard
M Dwedari
Used 50+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of this code?
Error
0, 1, 2, ...., 27
0, 1, 2, ...., 30
Infinite iteration
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this code?
0, 1, 2, 3, 4, ...., 29
0, 2, 4, ...., 28, 30
0, 1, 2, 3, 4, ...., 30
Infinite loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0, 1, 2, 3,...., 30
Error
0, 1, 2, 3,...., 29
0, 1, 2, 3,...., 28
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of this code?
0, 3, 6, 9,....., 30
0, 3, 6, 9, ...., 27
0, 1, 2, 3, 4, ..., 30
0, 3, 6, 9,....., 33
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10, 13, 16, ....30
10, 13, 16,....27
Error
no errors and no output
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this code?
10, 12, 14, 16
10, 12, 14, 16, 18
10, 12, 14
Infinite iteration
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this code?
65, 63, 61, 59, 57, 55
65, 63, 61, 59, 57, 59
67, 65, 63, 61
error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Testing

Quiz
•
9th - 12th Grade
17 questions
Python KS3

Quiz
•
8th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
12 questions
Python Gr 12

Quiz
•
11th - 12th Grade
10 questions
Basic Programming Concepts Quiz

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
10 questions
Networking Devices and Their Functions

Interactive video
•
5th - 8th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade