KS4 Python While Loops and For Loops
Quiz
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
Medium
Adam Cowell
Used 140+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following means not equal to
==
!=
>
=
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Why are arrows used in flowcharts
To show a statement is equal to another
To allow the computer to run the program
To indicate a flow of direction
To make them look nice
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the difference between a while-endwhile and do-while loop
a do-while loop is harder to write
a while-endwhile loop takes longer for the computer to run
a do-while checks the condition at the end of the loop
a while-endwhile checks the condition at the end of the loop
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these? is an example of condition/decision in a while loop?
Enter your name
Increase count by 1
An if statement
A boolean operator
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Can a while loop contain an if statement (nested)
Yes
No
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these is the python code for 'then'
>
<
∞
:
7.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
4
3
2
1
3
2
1
0
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
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
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
