List in Python

List in Python

11th Grade

25 Qs

quiz-placeholder

Similar activities

Dictionary in Python

Dictionary in Python

10th - 12th Grade

20 Qs

BJC AP CSP Unit 3 Exam Review

BJC AP CSP Unit 3 Exam Review

9th - 12th Grade

27 Qs

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Python List, and String

Python List, and String

10th Grade - University

20 Qs

15 Days of Code

15 Days of Code

11th Grade - University

22 Qs

PYTHON TUPLE QUIZ

PYTHON TUPLE QUIZ

11th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Python Strings

Python Strings

11th Grade

21 Qs

List in Python

List in Python

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Pallabi Mazumdar

Used 351+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following statement will create list?

a. L1=list( )

b. L1=[1,2,3,4]

c. Both of the above

d. None of the above

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Write the output of the following code : list(“welcome”)

a. [‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’]

b. (‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’)

c. [‘welcome’]

d. None of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Write the output of the following code :

>>> L=[“Amit”,”Anita”,”Zee”,”Longest Word”]

>>> print(max(L))

a. Zee

b. Longest Word

c. Error

d. None of the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find out the output

a. Longest Word

b. Zee

c. Amit

d. Error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find out the output

a. 15 9 1

b. Error

c. Max and Min are only for String Value

d. None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

what is the output

a. [6, 7, 8]

b. 6, 7, 8

c. Error

d. 6

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the output

a. [‘c’ , ‘o’]

b. [‘c’ , ‘o’ , ‘m’]

c. (com)

d. Error

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?