Lists and Tuples - Class 11 - Python

Lists and Tuples - Class 11 - Python

11th Grade

20 Qs

quiz-placeholder

Similar activities

UH1_INFO_XII

UH1_INFO_XII

11th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

Strategi Algoritmik dan Pemrograman

Strategi Algoritmik dan Pemrograman

11th Grade

20 Qs

Sustainable Developments Goals

Sustainable Developments Goals

6th - 12th Grade

17 Qs

Data Structures: 1D,2D & List

Data Structures: 1D,2D & List

11th Grade

17 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

مراجعة حاسب2 ثلاث وحدات

مراجعة حاسب2 ثلاث وحدات

11th Grade

16 Qs

BTEC Theory quiz 1: Networks and Internet

BTEC Theory quiz 1: Networks and Internet

8th - 11th Grade

16 Qs

Lists and Tuples - Class 11 - Python

Lists and Tuples - Class 11 - Python

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Gargee Chattopadhyay

Used 93+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the following code result in?

True

[9, 7, 5, 3, 1]

False

[9, 7, 5, 3, 1]

True

[1, 3, 5, 7, 9]

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Predict the output:

1

2

[13, 18, 11, 16, 13, 18, 13, 2]

0

2

[13, 18, 11, 16, 13, 18, 13, 3]

5

2

[13, 18, 11, 16, 13, 18, 13, 3]

1

2

[13, 18, 11, 16, 13, 18, 13, 3]

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given two lists, which of the following statements will cause an error?

L1==L2

L1.upper()

L1[3].upper()

L2[1][1].upper()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Out of the following, what is correct syntax to copy one list into another?

listA=listB[]

listA=listB[:]

listA=listB[]()

listA=list(listB)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output when we execute list("hello")?

['h','e','l','l','o']

['hello']

['llo']

['olleh']

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What gets printed?

H

a

Hasan

Dia

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements will create a tuple?

tp1=("a","b")

tp1[2]=("a","b")

tp1=(3)*3

None of these

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?