Python Operators and Loops Quiz

Python Operators and Loops Quiz

8th Grade

43 Qs

quiz-placeholder

Similar activities

G8-Comp. Sci. Review Semester 2

G8-Comp. Sci. Review Semester 2

8th Grade

40 Qs

Python Portfolio Quiz 3 Programming logic

Python Portfolio Quiz 3 Programming logic

7th - 10th Grade

42 Qs

G8 Python Programming Quiz

G8 Python Programming Quiz

8th Grade

40 Qs

YEAR 8- PYTHON QUIZ

YEAR 8- PYTHON QUIZ

8th Grade

40 Qs

M2 Reviewer for Final Test

M2 Reviewer for Final Test

8th Grade

40 Qs

IH Code-A-Thon Gr-8

IH Code-A-Thon Gr-8

8th Grade

40 Qs

FOC II Exam 2025

FOC II Exam 2025

8th Grade

47 Qs

Nested Ifs Part 2

Nested Ifs Part 2

6th - 12th Grade

40 Qs

Python Operators and Loops Quiz

Python Operators and Loops Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?