NCERT Class 11 Computer Science Computer Science: Chapter 10 — Tuples and Dictionaries
This chapter introduces Tuples and Dictionaries in Python, fundamental data structures for Class 11 Computer Science students. It explains that tuples are ordered, immutable sequences of elements, enclosed in parentheses, and can contain mixed data types. The chapter details how to access tuple elements using indexing and slicing, emphasizing their immutability. It also covers the creation of tuples, including handling single-element tuples and sequences without parentheses. Dictionaries, as mutable, unordered collections of key-value pairs, are also introduced, along with their operations and methods. Understanding these structures is crucial for efficient data handling and programming in Python, supporting the CBSE curriculum.
Quick info
| Board | CBSE / NCERT |
|---|---|
| Class | Class 11 |
| Subject | Computer Science |
| Book | Computer Science |
| Chapter | Chapter 10 — Tuples and Dictionaries |
| Language | English |
| PDF type | NCERT Textbook |
| Session | CBSE 2026 |
| Reading time | 3 minutes |
| Word count | 432 |
Learning outcomes
- Understand the concept of tuples as ordered, immutable sequences.
- Learn to create and access elements within tuples.
- Recognize the immutability of tuples and its implications.
- Grasp the basics of dictionaries as mutable key-value collections.
- Identify the differences between tuples and lists.
Vocabulary
| Word | Meaning |
|---|---|
| Tuple | An ordered sequence of elements of different data types, enclosed in parentheses. |
| Immutable | Cannot be changed after creation. |
| Ordered sequence | Elements have a defined order and can be accessed by index. |
| Index | A numerical position of an element in a sequence, starting from 0. |
| Slicing | Accessing a range of elements from a sequence. |
| Dictionary | A mutable, unordered collection of key-value pairs. |
| Mutable | Can be changed after creation. |
| Key-value pair | A pair of data where a unique key maps to a value. |
The complete chapter text is read in the official NCERT PDF viewer below (streamed from ncert.nic.in). This page provides NCERT Help study material — summary, vocabulary, practice questions, and FAQs — not a full reproduction of the textbook.
Read chapter online
This PDF is loaded from the official NCERT website (ncert.nic.in). Use the page buttons below to read — download is disabled on NCERT Help.
Read page by page below. PDF is streamed from the official NCERT website — no download button on this page.
Practice questions
- What is a tuple in Python? Answer: A tuple is an ordered, immutable sequence of elements, typically enclosed in parentheses.
- Can the elements of a tuple be changed after creation? Answer: No, tuples are immutable, meaning their elements cannot be changed once the tuple is created.
- How are elements accessed in a tuple? Answer: Elements are accessed using index values, starting from 0, and through slicing.
- What is the difference between a tuple and a list? Answer: Tuples are immutable, while lists are mutable. Tuples are defined with parentheses (), and lists with square brackets [].
- How do you create a tuple with a single element? Answer: A tuple with a single element is created by following the element with a comma, e.g., (20,).
Frequently asked questions
What is the primary characteristic of a tuple in Python?
A tuple is an ordered and immutable sequence of elements.
How are tuple elements enclosed?
Tuple elements are enclosed in parentheses (round brackets).
Can a tuple contain elements of different data types?
Yes, a tuple can contain elements of different data types like integers, floats, strings, lists, or other tuples.
What happens if you try to change an element in a tuple?
An error occurs because tuples are immutable.
How do you create a tuple with just one item?
You must include a comma after the item, like `my_tuple = (5,)`.
Is a sequence of comma-separated values without parentheses considered a tuple?
Yes, Python treats a sequence of comma-separated values without parentheses as a tuple by default.
Related resources
Important topics
Topics covered
NCERT Class 11 Computer Science — Computer Science — Chapter 10 — Tuples and Dictionaries. Verified by NCERT Help Editorial Team. Reviewed on 29 Jul 2026. Last updated 10 Aug 2026.