Grade 11 Python MCQ Quiz

Grade 11 Python MCQ Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Basics & Variables

Programming Basics & Variables

11th Grade

5 Qs

Uji Pemrograman Python untuk SMA/SMK

Uji Pemrograman Python untuk SMA/SMK

11th Grade

10 Qs

Coding and AI Knowledge Check

Coding and AI Knowledge Check

10th Grade - University

10 Qs

Quiz: Programming Basics Review

Quiz: Programming Basics Review

11th Grade

10 Qs

Quiz Software

Quiz Software

8th Grade - University

15 Qs

 Веб-сайттың құрылымы

Веб-сайттың құрылымы

9th - 12th Grade

6 Qs

Quizzi bài 29 Tin học 10

Quizzi bài 29 Tin học 10

10th Grade - University

10 Qs

Understanding Web Development Stacks

Understanding Web Development Stacks

11th Grade - University

8 Qs

Grade 11 Python MCQ Quiz

Grade 11 Python MCQ Quiz

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

Remya Pillai

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Python function is used to iterate over a sequence of numbers by specifying a numeric end value?

range()

for

while

enumerate()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

______________ operators are used to combine two or more comparison statements.

Arithmetic

Logical

Membership

Comparison

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following code snippets will correctly find the type of a variable `a`?

type(a)

gettype(a)

id(a)

datatype(a)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which are the membership operators in Python?

in, not in

is, is not

==, !=

and, or

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following are iterative (loop) statements in Python?

if, elif

for, while

switch, case

try, except

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Predict the output (or error) of this statement: print(x = y = 5)

5 5

Prints nothing

SyntaxError

x = y = 5

7.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Choose immutable datatypes in Python. (select all correct options)

list

tuple

string

set

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?