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

Important Questions and Answers for Class 11 Computer Science Chapter 10 Tuples and Dictionaries 2025-26

ffImage
banner

Tuples and Dictionaries in Python Class 11 PDF with CBSE Practice Questions

Important Questions Class 11 Computer Science Chapter 10 Tuples and Dictionaries help you prepare key topics from Tuples and Dictionaries in Python Class 11 PDF. 


You will find in-depth practice, including Tuple in python class 11 questions and answers. Concepts like tuple properties, dictionary operations, and output-based questions are explained in simple words. 


All solutions are easy to understand and match the CBSE exam marking scheme. These Vedantu Important Questions with Answers will help you master difficult concepts and score higher in exams. Practise, revise, and download the Important Questions PDF for free to prepare offline anytime.


Tuples and Dictionaries in Python Class 11 PDF with CBSE Practice Questions

1. Multiple choice questions.

1.1. Which of the following statements about tuples in Python is correct?


  • (a) Tuples are mutable sequences
  • (b) Tuples are defined with square brackets []
  • (c) Tuples can contain different data types
  • (d) Tuples do not support indexing

Answer: (c) Tuples can contain different data types.


1.2. Which operation is INVALID for a tuple in Python?


  • (a) Concatenation using +
  • (b) Indexing
  • (c) Modifying an element
  • (d) Slicing

Answer: (c) Modifying an element.


1.3. What is the output of print(('a',)*3)?


  • (a) ('a', 'a', 'a')
  • (b) ['a', 'a', 'a']
  • (c) 'a a a'
  • (d) Error

Answer: (a) ('a', 'a', 'a')


1.4. In a dictionary, what must every key be?


  • (a) Unique and immutable
  • (b) Unique and mutable
  • (c) Duplicate and immutable
  • (d) Duplicate and mutable

Answer: (a) Unique and immutable


1.5. Which method is used to get only the keys of a dictionary?


  • (a) items()
  • (b) key()
  • (c) keys()
  • (d) get()

Answer: (c) keys()


2. Very Short Answer (VSA).


2.1. What is a tuple in Python?


Answer: A tuple is an ordered, immutable sequence of elements, which can be of different data types, and is defined using round brackets () separated by commas.


2.2. Give an example of creating a dictionary in Python.


Answer: An example is: dict1 = {'Mohan':95, 'Ram':89}, which assigns marks to student names.


2.3. What happens if you try to assign a value to an element of a tuple?


Answer: It causes a TypeError, because tuples cannot be modified after creation.


2.4. Which operator checks if an element exists in a tuple or dictionary?


Answer: The in operator checks for membership in tuples and dictionaries.


2.5. How would you create a single-element tuple?


Answer: Place the value with a comma, e.g., (5,) creates a single-element tuple containing 5.


3. Short Answer Questions.


3.1. Explain the difference between a tuple and a list in Python.


Answer: The key difference is that lists are mutable, meaning their elements can be changed after creation, while tuples are immutable. Tuples are typically used for data that should not change, and offer faster iteration compared to lists.


3.2. How does tuple assignment work? Illustrate with an example.


Answer: Tuple assignment allows simultaneous assignment of values from a tuple to separate variables. For example: (a, b) = (10, 20) assigns 10 to a and 20 to b. Both sides must have the same number of elements.


3.3. What does the get() method do in a dictionary?


Answer: The get() method retrieves the value for a specified key in a dictionary. If the key is absent, it returns None instead of causing a KeyError.


3.4. Why should you prefer tuples for storing constant data?


Answer: Tuples are immutable and thus prevent accidental modification, making them ideal for storing constant, fixed data. This helps ensure the integrity of data throughout program execution.


4. Long Answer Questions.


4.1. Describe the main operations you can perform on tuples, with examples.


Answer: Main tuple operations include concatenation, repetition, indexing, slicing, and membership testing. Concatenation joins two tuples using +, repetition uses * to repeat elements, and slicing/indexing allows access to specific elements or ranges. Membership checks if a value is present. Tuples also support functions like len(), min(), and max().

  1. Concatenation: (1,2) + (3,4) → (1,2,3,4)
  2. Repetition: (5,)*3 → (5,5,5)
  3. Indexing: t[0] returns first element
  4. Slicing: t[1:3] returns elements from index 1 to 2
  5. Membership: 3 in t


4.2. Distinguish between mutable and immutable data types in Python, using tuples and dictionaries as examples.


Answer: Mutable data types can be changed after creation, while immutable types cannot. Dictionaries are mutable—you can add, remove, or change their content. Tuples are immutable—their contents cannot be changed. For instance, dict1['new']=5 is allowed, but tuple1[0]=5 raises an error.

  1. Mutable: d['key']=val; allowed
  2. Immutable: t[1]=val; error


4.3. Explain how you can count the frequency of characters in a string using a dictionary.


Answer: To count character frequencies, iterate through each character of the string. For each character, check if it exists in the dictionary. If yes, increment the count; otherwise, set count to 1. Finally, the dictionary will have each character as key and its frequency as value.

  1. Initialize empty dictionary
  2. For each character, check existence
  3. Increment or set to 1


4.4. How can nested tuples be used to store student records? Provide a short code example and describe its use.


Answer: Nested tuples allow storage of multiple related records, like student data (roll no, name, marks). For example,
students = ((101,"Aman",98), (102,"Geet",95))
Each sub-tuple represents one student. You can access individual details using indexes and iterate to print all records.

  1. Create tuple of student tuples
  2. Access or loop for records
  3. students[0][1] gives the name of first student


4. True or False Questions.


4.1. Tuples in Python are mutable and allow items to be changed after creation.


Answer: False


4.2. In a dictionary, values can be of any data type, including lists and other dictionaries.


Answer: True


4.3. The count() method in tuples counts the total number of tuples in the program.


Answer: False


5. Match the Following Questions.


Q1. Match the following.


Questions Answer
1. Tuple (A) Immutable sequence
2. Dictionary (B) Key-value pairs
3. list() (C) Creates a list

Answer: 1 - A, 2 - B, 3 - C


Benefits of Learning Tuples and Dictionaries in Python

Understanding tuples and dictionaries in Python Class 11 helps you organize and manage data efficiently. These topics are vital for coding and are widely used in various computer applications.


With well-structured questions and answers, this page supports exam prep for Class 11 CBSE 24 to 25 computer science chapter tuples most important question. Use these resources to build strong basics for programming and learn how to use tuples and dictionaries in Python correctly.


Practise with Tuple in python class 11 questions and answers and discover more. High-quality explanations ensure you get clarity on all key terms and coding techniques from Chapter 10.

FAQs on Important Questions and Answers for Class 11 Computer Science Chapter 10 Tuples and Dictionaries 2025-26

1. What are the most important types of questions from Chapter 10 Tuples and Dictionaries to prepare for Class 11 Computer Science exams?

Questions commonly asked in exams include definitions, differences between tuples and lists, advantages of using dictionaries, syntax/output-based MCQs, code-writing, and case-based applications. Focus on frequently tested formats:

  • Short answer explanation
  • Syntax/output tracing
  • Practical code/application

2. How should I structure my answers for 1-mark, 2-mark, and long answer questions in Chapter 10?

Keep 1-mark answers concise, using the exact key term or definition from the NCERT book. For 2-mark or long answers, use:

  1. Pointwise format with value points
  2. Sample code or steps, if asked
  3. Highlight output or advantage

3. Which high-weightage subtopics should I focus on first for Chapter 10 important questions?

Focus on subtopics that frequently appear in CBSE exams: tuple properties and operations, dictionary methods (like update/keys/values), differences between mutable and immutable types, real-life applications of tuples/dictionaries, and error/output questions. Revising these helps answer Class 11 Computer Science Chapter 10 most important questions easily.

4. Are program-based questions and output tracing frequent for Tuples and Dictionaries in Python?

Yes, examiners often include output-based and code-tracing questions for tuples and dictionaries. Practice by solving small code snippets, predicting output, and writing simple programs using tuple/dictionary operations. This builds speed and confidence for programming questions in Python for Class 11 Chapter 10.

5. How do I avoid common mistakes while answering dictionary or tuple questions in exams?

The main errors students make include incorrect syntax, confusing tuple with list syntax, or using invalid operations. Tips to avoid mistakes:

  • Always double-check brackets and spelling of methods
  • Write stepwise answers for program-based questions
  • Clarify differences when asked

6. Where can I find or download a reliable PDF of important questions for Chapter 10 Tuples and Dictionaries?

You can get Class 11 Computer Science Chapter 10 important questions PDF with stepwise answers, marking hints, and program question practice from Vedantu’s chapter resources. These are made as per the latest NCERT and CBSE guidelines for effective revision before tests.

7. What are some practical tips for answering output and application-based questions on dictionaries in exams?

To score full marks on dictionary output questions:

  • Read code carefully for bracket errors or key mismatches
  • Write the output stepwise, showing intermediate values
  • Mention Python error messages, if any, as part of your answer