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
[SMP-VIII] ASAS 2024 Ganjil

Quiz
•
8th Grade - University
46 questions
Ulangkaji ASK T1 Bab 3 Algoritma

Quiz
•
1st - 12th Grade
40 questions
Latihan Soal Microsoft Word

Quiz
•
8th Grade - University
43 questions
Python loops

Quiz
•
8th Grade
47 questions
Ôn Tập Giữa Kỳ II - Tin Học 8

Quiz
•
8th Grade
44 questions
WCSD SC&A Programming

Quiz
•
8th Grade
40 questions
Exam: Form 2 Term32024

Quiz
•
8th Grade
41 questions
Roblox Studio Beginner

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade