Python Lists

Python Lists

8th Grade

31 Qs

quiz-placeholder

Similar activities

ALGO - Lesson 4 (Data Structure)

ALGO - Lesson 4 (Data Structure)

University

28 Qs

Introduction to Computers

Introduction to Computers

10th Grade

30 Qs

Dasar Program Keahlian TKI

Dasar Program Keahlian TKI

12th Grade

30 Qs

G9_U0_revision

G9_U0_revision

9th Grade

26 Qs

Grade 9 Review

Grade 9 Review

9th Grade

26 Qs

Algoritma dan Logika Informatika

Algoritma dan Logika Informatika

University

35 Qs

1. แนวปฏิบัติการสร้างความตระหนักเรื่องการรักษาความปลอดภัย

1. แนวปฏิบัติการสร้างความตระหนักเรื่องการรักษาความปลอดภัย

University

30 Qs

Doamne ajuta Antoane

Doamne ajuta Antoane

12th Grade

28 Qs

Python Lists

Python Lists

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Raja Meenakshi

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

31 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. 15 9 1

b. Error

c. Max and Min are only for String Value

d. None of the above

5.

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

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the output

a. ['Sumit',‘Naina’]

b. [a]

c. ['Sumit']

d. None of the above

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command is used to add an element in List named L1

a. L1.add(4)

b. L1.append(4)

c. L1.new(4)

d. None of the above

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

Already have an account?

Discover more resources for Computers