Grade 11 Python MCQ Quiz

Grade 11 Python MCQ Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

0- and 1-Pixel Art Activity

0- and 1-Pixel Art Activity

9th - 12th Grade

10 Qs

Network Configuration Quiz

Network Configuration Quiz

9th - 12th Grade

10 Qs

Quiz Fotografi

Quiz Fotografi

11th Grade

10 Qs

Quizzi bài 29 Tin học 10

Quizzi bài 29 Tin học 10

10th Grade - University

10 Qs

Pengenalan Kecerdasan Buatan

Pengenalan Kecerdasan Buatan

11th Grade - University

15 Qs

Quiz Software

Quiz Software

8th Grade - University

15 Qs

Online Platforms

Online Platforms

11th Grade

10 Qs

Week 3-Database Quiz 1

Week 3-Database Quiz 1

9th - 12th Grade

14 Qs

Grade 11 Python MCQ Quiz

Grade 11 Python MCQ Quiz

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Remya Pillai

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 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

30 sec • 1 pt

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

Arithmetic

Logical

Membership

Comparison

3.

MULTIPLE CHOICE QUESTION

30 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

30 sec • 1 pt

Which are the membership operators in Python?

in, not in

is, is not

==, !=

and, or

5.

MULTIPLE CHOICE QUESTION

30 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

30 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

30 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?