list

list

11th Grade

7 Qs

quiz-placeholder

Similar activities

Thunder

Thunder

KG - University

10 Qs

Задачи

Задачи

11th Grade

10 Qs

Pemrograman Web Pra PAS

Pemrograman Web Pra PAS

11th Grade

10 Qs

Excel

Excel

11th - 12th Grade

10 Qs

Bài 25 tin 10

Bài 25 tin 10

9th Grade - University

10 Qs

Función CONTAR

Función CONTAR

KG - Professional Development

10 Qs

Tin học 2

Tin học 2

11th Grade

12 Qs

list

list

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Ms.Haseeba Computer

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following program:

list1 = ["python", "list", 1952, 2323, 432]

print(list1[1:4])

["python","list",1952,2323]

[1952,2323,432]

["list",1952,2323]

["list",1952,2323,432]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following program:

list1 = ["python", "list", 1952, 2323, 432]

print(list1[-5])

list

1952

432

python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following code-

a,b=[3,1,2],[5,4,6]

print(a+b)

[3,1,2]+[5,4,6]

(3,1,2,5,4,6)

[3,1,2,5,4,6]

[54,6,3,1,2]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following code-

list1=[1, 3, 2]

list1 * 2

[1,3,2][1,3,2]

[1,3,2]*2

[1,3,2,1,3,2]

( [1,3,2] )([1,3,2])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

theList=[1, 2, [1.1, 2.2]]

print(len(theList))

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following program:

data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]

print(data[1][0][0])

2

5

1

7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following program:

a=[2,3]

a.append(7)

print(a))

(2,3)

[2,7]

[2,3,7]

[7,2,3]

Access all questions and much more by creating a free account

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

Already have an account?