Skip to main content
Chapter 10 of 11
Practice Quiz

Tuples and Dictionaries — Practice Quiz

CBSE · Class 11 · Computer Science

Try a 4-question quiz on Tuples and Dictionaries for CBSE Class 11 Computer Science: tap an answer to check it and see why.

42 questions68 flashcards5 concepts

Interactive on Super Tutor

Studying Tuples and Dictionaries? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for practice quiz and more.

Free trial, no card needed.

Quick Quiz: Tuples and Dictionaries

0/4

Tap an answer to check it instantly. No sign-up needed for these 4.

1

What is the correct way to create a tuple with a single element?

2

What will be the output of: tuple1 = (1, 2, 3, 4, 5); print(tuple1[2])?

3

Which method returns the number of times an element appears in a tuple?

4

What is the correct syntax to create an empty dictionary?

42 Questions·
multiple choicemultiple correct

Sample Questions

1multiple correct

Which of the following are characteristics of tuples? (Select all correct answers)

Show answer

Tuples are immutable, Tuples are ordered, Tuples can store different data types, Tuples allow duplicate elements

Tuples are immutable (cannot be changed), ordered (maintain sequence), can store mixed data types, and allow duplicates. They use parentheses, not square brackets.

2multiple correct

In a dictionary, which of the following can be used as keys? (Select all correct answers)

Show answer

Strings, Numbers, Tuples

Dictionary keys must be immutable. Strings, numbers, and tuples are immutable and can be keys. Lists are mutable, so they cannot be used as keys.

3multiple choice

What will happen if you try to access a key that doesn't exist in a dictionary?

Show answer

Raises KeyError

Accessing a non-existent key directly raises a KeyError. To avoid this, use the get() method which returns None for missing keys.

4multiple choice

What does the len() function return for a dictionary?

Show answer

Number of key-value pairs

len() returns the number of key-value pairs (items) in a dictionary. Each key-value pair counts as one item.

+38 more questions on Tuples and Dictionaries (CBSE Class 11 Computer Science)

Practise All

Frequently Asked Questions

What are the important topics in Tuples and Dictionaries for CBSE Class 11 Computer Science?
Key topics in Tuples and Dictionaries include Tuples: Basic Idea and Creation, Tuple Properties and Operations, Tuple Methods and Built-in Functions, Tuple Assignment and Nested Tuples. Study these first, then practise questions on each for Class 11 exams.
How many practice questions are there for Tuples and Dictionaries?
There are 42 questions on Tuples and Dictionaries. Try the 4-question sample quiz on this page first; each answer shows an explanation when you tap it.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Tuples and Dictionaries chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for CBSE Class 11 Computer Science. Free to start, no card needed.