Python Operators and Loops Quiz

Python Operators and Loops Quiz

8th Grade

43 Qs

quiz-placeholder

Similar activities

Ôn Tập Chuong III - Tin 11

Ôn Tập Chuong III - Tin 11

6th Grade - University

40 Qs

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

CONDING QUIZ

CONDING QUIZ

6th - 8th Grade

41 Qs

Kiểm tra Python lần 1 - 45 câu -  40 phút

Kiểm tra Python lần 1 - 45 câu - 40 phút

6th - 8th Grade

41 Qs

L4 Summer Assessment

L4 Summer Assessment

8th Grade

46 Qs

Ulangkaji ASK T2 Bab 3.2 Struktur Kod Arahan

Ulangkaji ASK T2 Bab 3.2 Struktur Kod Arahan

1st - 12th Grade

39 Qs

Python

Python

8th - 12th Grade

40 Qs

Midterm prep 7th

Midterm prep 7th

7th Grade - University

41 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?