Skip to main content
Chapter 10 of 11
Revision Notes

Tuples and Dictionaries — Revision Notes

CBSE · Class 11 · Computer Science

Tuples and Dictionaries revision notes for CBSE Class 11 Computer Science: 4 topics in quick points. Part of the CBSE Class 11 Computer Science syllabus.

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 revision notes and more.

Free trial, no card needed.

Key Topics to Revise

1

Tuples: Basic Idea and Creation

  • A tuple is an ordered sequence of elements of different data types, such as integer, float, string, list or even a tuple.
  • Tuple elements are enclosed in round brackets and separated by commas.
  • Tuple elements are accessed by index starting from 0.
2

Tuple Properties and Operations

  • Tuples are immutable; their elements cannot be changed after creation.
  • Attempting item assignment on a tuple raises TypeError: 'tuple' object does not support item assignment.
  • An element inside a tuple may itself be mutable, such as a list, and that inner list can be modified.
3

Tuple Methods and Built-in Functions

  • len() returns the number of elements in a tuple.
  • tuple() creates an empty tuple when no argument is given, and converts a sequence into a tuple when one is passed.
  • count() returns how many times an element appears in a tuple.
4

Tuple Assignment and Nested Tuples

  • Tuple assignment allows values from a tuple on the right side to be assigned to variables on the left side.
  • The number of variables on the left must be the same as the number of elements in the tuple on the right.
  • If the right side is an expression, it is evaluated first and then assigned.

Get complete notes with diagrams and examples

Full Notes

Key Concepts

A tuple is an ordered sequenceA tuple is immutableA singleTuples support concatenation with +Useful tuple functions include len()

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 should I revise Tuples and Dictionaries for Class 11 exams?
Learn the core ideas first, then work through the 42 practice questions on Tuples and Dictionaries. Revise definitions regularly and use flashcards for quick recall before the exam.

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.