Python Operators and Loops Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Rakesh Kumar
Used 1+ times
FREE Resource
Enhance your content in a minute
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an arithmetic operator in Python?
and
or
+
not
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
**
%
//
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will 10 % 3 return?
3
0
1
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to compare two values for equality?
=
==
!=
>=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 5 > 3 and 2 5 then:
if (x > 5)
if x > 5:
if x > 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used for multiple conditions?
if
else
elif
endif
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is executed when none of the if or elif conditions are true?
for
else
elif
break
Create a free account and access millions of resources
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
44 questions
OCR J275 - Networks Part A
Quiz
•
8th - 11th Grade
38 questions
EV3 SENSORS
Quiz
•
6th - 8th Grade
40 questions
Spreadsheet Formulas,Charts,Formatting
Quiz
•
7th - 8th Grade
40 questions
Информатика -140: 2024 1-нұсқа талдау ақылы
Quiz
•
8th Grade
40 questions
DBI
Quiz
•
7th - 8th Grade
40 questions
Introduction to Computers
Quiz
•
6th - 8th Grade
46 questions
TIN HOC LƠP 4 HK1
Quiz
•
1st Grade - University
40 questions
HTML Basics
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
