0% found this document useful (0 votes)
25 views1 page

Class XI Python 40 Marks Question Paper

This document outlines an exam for Class XI Computer Science focusing on Python, covering topics such as strings, lists, tuples, and dictionaries. It includes multiple-choice questions, very short answers, short answers, a case-based question, and long answer programming tasks. The exam is structured to assess students' understanding and application of Python concepts within a 1½ hour timeframe for a total of 40 marks.

Uploaded by

spibeek
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Class XI Python 40 Marks Question Paper

This document outlines an exam for Class XI Computer Science focusing on Python, covering topics such as strings, lists, tuples, and dictionaries. It includes multiple-choice questions, very short answers, short answers, a case-based question, and long answer programming tasks. The exam is structured to assess students' understanding and application of Python concepts within a 1½ hour timeframe for a total of 40 marks.

Uploaded by

spibeek
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Class XI – Computer Science (Python)

Chapters: String, List, Tuple, Dictionary


Time: 1½ Hours Maximum Marks: 40

Section A – MCQs (10 × 1 = 10)


1. Which of the following is an immutable data type?
2. Which function is used to find the length of a string?
3. What is the output of type({})?
4. Which operator checks membership in a string or list?
5. Which of the following can be a dictionary key?
6. What will len((5, 10, 15)) return?
7. Which method adds an element at the end of a list?
8. Strings in Python are:
9. Which method removes all items from a dictionary?
10. What will 'COMPUTER'[1:4] return?

Section B – Very Short Answer (2 × 5 = 10)


11. What is a string? Give one example.
12. Define a list. Write any two features of lists.
13. What is a tuple? Mention one use of tuple.
14. What is a dictionary? How are values accessed in it?
15. What is slicing? Write one example.

Section C – Short Answer (3 × 2 = 6)


16. Explain any three differences between list and tuple.
17. Write any three string functions and explain their purpose.

Section D – Case Based Question (4 × 1 = 4)


18. A student stores data as follows:
marks = [72, 85, 90, 78]
details = {'Name':'Ravi','Class':11,'Section':'A'}

a) Identify the type of marks.


b) How many elements are in marks?
c) How can the value of 'Class' be accessed?
d) Write one advantage of using a dictionary.

Section E – Long Answer (2 × 5 = 10)


19. Write a Python program to input a string and count the number of vowels present in it.
20. Write a Python program to create a dictionary of 5 students with their marks and display the
name of the student who scored the highest marks.

You might also like