Search Header Logo

Grade XI Full Syllabus Quiz

Authored by Mirza Baig

Computers

11th Grade

Used 5+ times

Grade XI Full Syllabus Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

75 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will create an empty list-L?

L={}

L[ ]

L=[ ]

L={ ]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Keys of a dictionary must be:

Similar

Unique

Can be similar or unique

All of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create an empty dictionary –d1, we use the statement as:

d1={}

d1=[ ]

d1=()

d1={ )

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following: List1=[‘S’,’P’,’S’,’GHY’] The length of the above list is:

6

5

4

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following list: list1 =['Red','Green','Blue','Cyan','Magenta','Yellow','Black'] print(list1[1:6:2]) The output is-

['Red', 'Blue', 'Magenta']

['Green', 'Cyan', 'Yellow']

['Green', 'Cyan', 'Yellow',’Black’]

['Red', 'Blue', 'Magenta’,’Black’]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code : L=[1,2,3,4,5,[6,7,8]] print(L[5])

[6, 7, 8]

6, 7, 8

Error

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code : L=[‘w’,’e’,’l’,’c’,’o’,’m’,’e’] print(len(L))

7

8

9

None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?