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.
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/4Tap an answer to check it instantly. No sign-up needed for these 4.
What is the correct way to create a tuple with a single element?
What will be the output of: tuple1 = (1, 2, 3, 4, 5); print(tuple1[2])?
Which method returns the number of times an element appears in a tuple?
What is the correct syntax to create an empty dictionary?
Sample Questions
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.
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.
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.
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 AllFrequently Asked Questions
What are the important topics in Tuples and Dictionaries for CBSE Class 11 Computer Science?
How many practice questions are there for Tuples and Dictionaries?
Sources & Official References
- NCERT Official — ncert.nic.in
- CBSE Academic — cbseacademic.nic.in
- CBSE Official — cbse.gov.in
- National Education Policy 2020 — education.gov.in
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Tuples and Dictionaries
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
NCERT Solutions
Every textbook question solved step by step
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.