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
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
10 questions
Python Lesson 39 Functions and Outputs

Quiz
•
8th Grade
15 questions
Python : Codeathon Competition

Quiz
•
5th - 8th Grade
11 questions
List of References

Quiz
•
9th - 12th Grade
9 questions
Python Basics Quiz for KS3

Quiz
•
11th Grade - University
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
10 questions
Python Lesson 4 : if-elif-else conditionals

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade