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

Leadership and Teamwork

Leadership and Teamwork

9th - 12th Grade

37 Qs

PAE Fall 2020 Review

PAE Fall 2020 Review

8th - 11th Grade

42 Qs

pedagogik 4abc

pedagogik 4abc

5th Grade - University

39 Qs

REVIEW - Test 6 Quizizz 12/16

REVIEW - Test 6 Quizizz 12/16

11th - 12th Grade

45 Qs

TIME YOURSELF 1 : ACCOUNTING 1

TIME YOURSELF 1 : ACCOUNTING 1

1st Grade - University

40 Qs

Healthcare Spanish Terms

Healthcare Spanish Terms

9th - 12th Grade

36 Qs

SCOUTING SKILL TEST

SCOUTING SKILL TEST

1st Grade - Professional Development

40 Qs

Kitchen Knives

Kitchen Knives

9th Grade - University

40 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

Practice Problem

Hard

Created by

Dinesh Kag

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Already have an account?

Discover more resources for Professional Development