
Python loop
Authored by Sherif Abdelhamid
Computers
University
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An infinite loop is :A loop runs infinite times when the condition-------------.
never fails
run one time
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Print i as long as i is less than 6 and i is initiated with the value of 1 :
Which program is correct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python while loop if the Boolean condition of a while loop never changes, it could cause the program to run forever or to freeze/crash.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python while loop The loop stops running when the condition ----------------, and the execution will move to the next line of code.
fails (become false)
is True
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python while loop It continually executes the statements(code) as long as the given condition is ----------
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The common concept in all programming languages loops is --------------------that is checked every round and the loop will continue to run until the condition is reached
the stopping condition
syntax
variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Loops help us remove the redundancy of code when a task has to be repeated several times
True
False
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
Seatwork HASH (Data Structure)
Quiz
•
University
11 questions
What is a computer
Quiz
•
KG - University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
12 questions
CIS1103 Week 9_10 CLO3 Part 1
Quiz
•
University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
10 questions
BOOLEAN CLUB QUIZ 1
Quiz
•
University
10 questions
Concept of Computer Network
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade