Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

NCERT Solutions for Class 11 Computer Science Chapter 10: Tuples and Dictionaries

ffImage
banner

Exercise-wise Answers for Tuples and Dictionaries in Python (Class 11)

Crack your basics with NCERT Solutions for Class 11 Computer Science Chapter 10 Tuples And Dictionaries, designed for the 2025–26 CBSE syllabus. These step-by-step answers help you understand the logic behind tuples, dictionaries, and strengthen your Python programming skills from day one.


Practice exercise-wise solutions to master Class 11 tuples and dictionaries NCERT answers just like your school exams. With clear definitions and key points, you’ll learn how to structure answers and score full marks using the latest CBSE marking scheme.


Want to revise fast and make your prep stress-free? Download a free PDF of chapter questions, important tips, and revision notes, all exam-focused to help you ace Chapter 10 Computer Science Class 11 effortlessly.


Exercise-wise Answers for Tuples and Dictionaries in Python (Class 11)

Exercise


  1. Consider the following tuples, tuple1 and tuple2:
    tuple1 = (23,1,45,67,45,9,55,45)
    tuple2 = (100,200)
        
    Find the output of the following statements:
    1. print(tuple1.index(45))
      Answer: 2
    2. print(tuple1.count(45))
      Answer: 3
    3. print(tuple1 + tuple2)
      Answer: (23, 1, 45, 67, 45, 9, 55, 45, 100, 200)
    4. print(len(tuple2))
      Answer: 2
    5. print(max(tuple1))
      Answer: 67
    6. print(min(tuple1))
      Answer: 1
    7. print(sum(tuple2))
      Answer: 300
    8. print(sorted(tuple1))
      Answer: [1, 9, 23, 45, 45, 45, 55, 67]
    9. print(tuple1)
      Answer: (23, 1, 45, 67, 45, 9, 55, 45)
  2. Consider the following dictionary stateCapital:
    stateCapital = {"AndhraPradesh":"Hyderabad",
    "Bihar":"Patna","Maharashtra":"Mumbai",
    "Rajasthan":"Jaipur"}
        
    Find the output of the following statements:
    1. print(stateCapital.get("Bihar"))
      Answer: Patna
    2. print(stateCapital.keys())
      Answer: dict_keys(['AndhraPradesh', 'Bihar', 'Maharashtra', 'Rajasthan'])
    3. print(stateCapital.values())
      Answer: dict_values(['Hyderabad', 'Patna', 'Mumbai', 'Jaipur'])
    4. print(stateCapital.items())
      Answer: dict_items([('AndhraPradesh', 'Hyderabad'), ('Bihar', 'Patna'), ('Maharashtra', 'Mumbai'), ('Rajasthan', 'Jaipur')])
    5. print(len(stateCapital))
      Answer: 4
    6. print("Maharashtra" in stateCapital)
      Answer: True
    7. print(stateCapital.get("Assam"))
      Answer: None
    8. del stateCapital["Rajasthan"]
      print(stateCapital)
      Answer: {'AndhraPradesh': 'Hyderabad', 'Bihar': 'Patna', 'Maharashtra': 'Mumbai'}
  3. “Lists and Tuples are ordered”. Explain.
    Answer: In both lists and tuples, the elements are stored in a specific sequence. Each element has a fixed position, which is known as its index. This means we can access elements by their position, making lists and tuples ordered collections.
  4. With the help of an example show how can you return more than one value from a function.
    Answer: In Python, a function can return multiple values by using a tuple. For example:
    def operation(a, b):
        sum = a + b
        product = a * b
        return sum, product
    
    x, y = operation(5, 3)
    print(x)   # Output: 8
    print(y)   # Output: 15
    
    In this example, the function returns both sum and product.
  5. What advantages do tuples have over lists?
    Answer:
    • Tuples are immutable, so their elements cannot be changed by mistake.
    • Tuples are faster to process than lists.
    • Tuples can be used as keys in dictionaries, but lists cannot.
  6. When to use tuple or dictionary in Python. Give some examples of programming situations mentioning their usefulness.
    Answer:
    • Use tuples when you need an ordered collection whose items should not change, like storing months of the year or RGB color codes.
    • Use dictionaries when you need to store data as key-value pairs, such as storing names and phone numbers or mapping student names to marks.
  7. Prove with the help of an example that the variable is rebuilt in case of immutable data types.
    Answer:
    tuple1 = (1, 2, 3, 4, 5)
    tuple1[2] = 10  # This gives an error as tuples are immutable.
    # To change a value, rebuild the tuple:
    tuple1 = (1, 2, 10, 4, 5)  # The variable tuple1 is now rebuilt.
    
  8. TypeError occurs while statement 2 is running. Give reason. How can it be corrected?
    >>> tuple1 = (5) #statement 1
    >>> len(tuple1) #statement 2
        
    Answer: In statement 1, tuple1 = (5) creates an integer, not a tuple. To create a single-element tuple, a comma is required: tuple1 = (5,). Now len(tuple1) will return 1.

Mastering Tuples and Dictionaries in Python

NCERT Solutions Computer Science Chapter 10 Tuples And Dictionaries (2025-26) help you understand how tuples and dictionaries work in Python. These structures are essential for storing data efficiently and tackling higher-level programming tasks at school and beyond.


By practicing with NCERT exercises, you'll discover the key differences between mutable and immutable types. Recognizing real-world uses for these Python concepts gives you an edge in solving computer science questions with speed and accuracy.


Consistent revision of chapter-wise NCERT solutions strengthens your foundational knowledge. Revise important examples, focus on practical applications, and you'll be well-prepared to score better in the exam!


FAQs on NCERT Solutions for Class 11 Computer Science Chapter 10: Tuples and Dictionaries

1. What is covered in NCERT Solutions for Class 11 Computer Science Chapter 10 Tuples and Dictionaries?

NCERT Solutions for Class 11 Computer Science Chapter 10 Tuples and Dictionaries provide stepwise solutions for all exercise questions based on Python tuples and dictionaries. The chapter covers:

  • Definition and properties of tuples in Python
  • Definition and usage of dictionaries
  • Operations on tuples and dictionaries
  • Differences between tuples and lists
  • Important programming exercises and practicals
  • Sample exam questions with answers
These solutions are aligned with the CBSE Class 11 Computer Science 2025–26 syllabus and help in exam preparation.

2. How does mastering this chapter boost your Python skills and exam scores?

Mastering Chapter 10 on Tuples and Dictionaries enhances your programming logic and scoring ability in Python-related questions. Benefits include:

  • Improved understanding of data structures in Python
  • Ability to solve NCERT textbook exercises and expected board questions
  • Better marks due to clear stepwise answers aligned with the CBSE marking scheme
  • Foundation for advanced Python topics in higher classes

3. Are diagrams or definitions mandatory in answers for Class 11 Computer Science Chapter 10?

Definitions are essential for theoretical questions in Chapter 10, while diagrams are rarely required but can help illustrate data structures. To score full marks:

  • Write clear and accurate definitions for key terms like tuple, dictionary
  • Use examples of tuples and dictionaries
  • Add diagrams only if specifically asked (e.g., memory layout), else focus on code and explanation

4. How should I structure long answers to score full marks in Computer Science Chapter 10?

Long answers in Chapter 10 should follow a logical structure:

  • Start with a definition or introduction (if required)
  • Use stepwise explanations with key points
  • Include relevant code snippets or examples
  • Highlight differences or advantages in tabular/bullet form if asked
  • Conclude with a summary statement

5. Where can I download the NCERT Solutions PDF for Computer Science Chapter 10 Tuples and Dictionaries?

You can download the chapter's solutions PDF for Class 11 Computer Science Chapter 10 from trusted educational platforms that provide CBSE-aligned, chapterwise NCERT Solutions. Look for a single-click download option labelled as "NCERT Solutions for Computer Science Chapter 10 Tuples and Dictionaries PDF." Always ensure the site matches the 2025–26 syllabus for accuracy.

6. Which types of questions from Tuples and Dictionaries are most likely in school exams?

Common exam questions based on Chapter 10 include:

  • Define tuple and dictionary with examples
  • Differences between lists and tuples; tuples and dictionaries
  • Short code writing or output-tracing questions
  • State whether tuples are mutable/immutable, with explanation
  • Practical questions on creating, accessing, and updating tuples/dictionaries
  • Exercise-based short and long answer questions

7. Are NCERT Solutions enough for Class 11 Computer Science exams?

NCERT Solutions for Class 11 Computer Science Chapter 10 Tuples and Dictionaries are generally sufficient for school and CBSE exams. For best results:

  • Practice all NCERT intext and back exercise questions
  • Review definitions and practical examples
  • Attempt some additional questions from exemplars or sample papers for thorough understanding

8. What are the most important topics from Chapter 10 Tuples and Dictionaries?

The most important topics for Class 11 Computer Science Chapter 10 are:

  • Definition, characteristics, and creation of tuples and dictionaries
  • Accessing, modifying, and deleting elements
  • Differences between tuples, lists, and dictionaries
  • Applications and advantages of each data structure
  • Syntax and usage in Python programs

9. Do examiners award partial marks for correct steps even if the final answer is wrong?

Yes, in CBSE marking scheme, examiners often award partial marks for correct steps, especially in programming or stepwise theoretical answers. To maximise your score:

  • Show all steps clearly
  • Highlight correct logic, even if the final output is incorrect
  • Use the step marking system for partial credit

10. How to present diagrams or code output in Computer Science Chapter 10 answers?

For diagrammatic or code output questions:

  • Draw diagrams or data structure layouts neatly, if asked
  • Write code snippets in standard Python syntax
  • Show expected output clearly below the code
  • Label variables and outputs for clarity
This improves readability and matches CBSE answer presentation style.

11. How to revise Computer Science Chapter 10 quickly before exams?

For fast revision of Chapter 10 Tuples and Dictionaries:

  • Read key definitions and differences
  • Practice all back exercise questions from NCERT Solutions
  • Review important code examples involving tuples and dictionaries
  • Use quick revision notes or flashcards for formulae and properties