Python Operators and Loops Quiz

Quiz
•
Computers
•
8th Grade
•
Hard
Rakesh Kumar
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
40 questions
Y9 Loops and Ifs

Quiz
•
8th - 12th Grade
44 questions
ÔN TẬP HỌC KỲ 2 TIN 8

Quiz
•
6th - 8th Grade
47 questions
Python Basics Quiz

Quiz
•
8th Grade
40 questions
FBLA Exploring Computer Science

Quiz
•
6th - 12th Grade
40 questions
8 - BAB 2 AP

Quiz
•
6th - 8th Grade
40 questions
Python Assessment 1

Quiz
•
7th - 9th Grade
40 questions
Ucertify Programming and Logic Review

Quiz
•
7th - 8th Grade
41 questions
Python Final Review

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade