Class-11th IP Ch-4 Working with List & Dictionary

Class-11th IP Ch-4 Working with List & Dictionary

11th Grade

40 Qs

quiz-placeholder

Similar activities

Test Out Chapter 7 and 8 programming and databases

Test Out Chapter 7 and 8 programming and databases

10th - 12th Grade

44 Qs

EP: before giving care (T2)

EP: before giving care (T2)

9th - 12th Grade

39 Qs

ISO 27001 Lead Implementer

ISO 27001 Lead Implementer

1st Grade - University

40 Qs

Front Office_XI

Front Office_XI

11th Grade

40 Qs

Circulatory & Cardiac System Exam review

Circulatory & Cardiac System Exam review

11th - 12th Grade

45 Qs

Tata hidang 2

Tata hidang 2

10th - 12th Grade

40 Qs

Welding Symbols

Welding Symbols

11th - 12th Grade

40 Qs

5/18/22 Qbo mOCK eXAM#3

5/18/22 Qbo mOCK eXAM#3

9th - 12th Grade

35 Qs

Class-11th IP Ch-4 Working with List & Dictionary

Class-11th IP Ch-4 Working with List & Dictionary

Assessment

Quiz

Professional Development

11th Grade

Hard

Created by

Dinesh Kag

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to count the number of elements in a list?

Count ( )

find ( )

len ( )

index ( )

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements create a dictionary?

D = { }

d = {red 45 blue 55}

D= {40 orange 45 green}

all of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet?

d= {"Hello ":10,"Hi":20}

"hello" 40,45 and "hi"

"hello" and "hi"

40 and 45

d = (40" hello 45,hii)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code : list("welcome")

[welcome]

(welcome)

['w','e','l','c','o','m','e']

none of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose d={"red":20 "green":30} to obtain number of entire in dictiona which command do we use?

D size ( )

len (d)

size (d)

d Ien ( )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements will create list?

L1 = list ( )

L1 = [1,2,3,4]

both of the above

none of above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code:

L=['a' * x for x in range(4)]

print(L)

['', 'a', 'aa', 'aaa']

['a','aa','aaa']

Error

none of 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?