Understanding the concept of list

Understanding the concept of list

11th Grade

25 Qs

quiz-placeholder

Similar activities

Quiz tentang Blok Scratch

Quiz tentang Blok Scratch

9th Grade - University

20 Qs

KILAS BALIK MATERI SEBELUMNYA

KILAS BALIK MATERI SEBELUMNYA

9th - 12th Grade

20 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

25 Qs

PH1 PKWU Desain Grafis

PH1 PKWU Desain Grafis

11th Grade

20 Qs

Informatika Bepikir Komputasional

Informatika Bepikir Komputasional

10th Grade - University

20 Qs

KUIS TIK

KUIS TIK

9th Grade - University

20 Qs

ASESMEN DIAGNOSTIK INFORMATIKA KELAS 9

ASESMEN DIAGNOSTIK INFORMATIKA KELAS 9

9th Grade - University

20 Qs

Web 3.4-3.5 Bacaan

Web 3.4-3.5 Bacaan

11th Grade

20 Qs

Understanding the concept of list

Understanding the concept of list

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Medium

Created by

KV Churu Activities

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...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?


>>> a=(1,2,3,4)

>>> del(a[2])

Now, a=(1,2,4)

Now, a=(1,3,4)

Now a=(3,4)

Error as tuple is immutable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct way to access value 20 from the following tuple
tuple1= ("Orange", [10, 20, 30], (5, 15, 25))

tuple1[1:2](1)

tuple1[1:2][1]

tuple1[1][1]

All of the above

3.

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]

4.

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

5.

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)

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

Media Image

What will be the output of following Python code?

(15,11,16,12)

(15,11,17,16)

(15,11,17,16,12)

Error

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?