
Python loops_21May20_2
Authored by Shalaka Ekbote
Computers
5th - 9th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would amount equal in this piece of code:
amount = 2 + 5 * 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the value of ‘marks’ after running this code:
marks = 20
total = 5
newmarks = marks * 3
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed when this program is run:
days = 5
if days > 6:
print(“Month”)
else:
print(“Week”)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What letter will be printed on the screen after running this code:
team = “Manchester United”
letter = name[5]
print(letter)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be printed after running this FOR loop:
for number in range(6):
print(number)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many times does the following program print the word ‘computer’:
word= "computer"
for num in range(1,6):
print(word)
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Look at the code below and identify which of the statements below are true:
for loopCounter in range(10,101,10):
print(loopCounter)
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
20 questions
INFORMATIKA by MONA RAHMAYANA
Quiz
•
7th Grade
20 questions
TABLAS DE MULTIPLICAR
Quiz
•
7th Grade
20 questions
list 6th
Quiz
•
7th Grade - University
25 questions
TIN HỌC 5 - SÁCH HDTH (ÔN HK2 NĂM 2023-2024)
Quiz
•
1st - 5th Grade
20 questions
New Scratch
Quiz
•
6th - 8th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
20 questions
Kiến thức về Thuật toán và Chương trình
Quiz
•
8th Grade - University
20 questions
System Computer : Al-Azhar
Quiz
•
9th - 12th 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