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
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
40 questions
Prof Comm Final Exam Review
Quiz
•
8th Grade
40 questions
2nd Grade Roman Numerals
Quiz
•
2nd Grade - University
40 questions
Software Pre-test
Quiz
•
7th - 8th Grade
45 questions
Computer Architecture : Basic
Quiz
•
8th - 10th Grade
40 questions
TSDE Final Exam Review
Quiz
•
8th Grade
40 questions
Tyoes and components of a computer system
Quiz
•
8th - 11th Grade
40 questions
Final Semester Exam
Quiz
•
8th Grade
38 questions
5G Edge Quiz 1
Quiz
•
8th 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
