Class 11 Revision Paper New
Class 11 Revision Paper New
Sample Paper
Class XI INFORMATICS PRACTICES (065)
General Instructions:
(a) 1st_value
(b) value_1st
(c) first-value
(d) first.value
4. Name the built-in function in Python that returns the largest item in an iterable.
5. Which data type is used to store a collection of items in Python that can be changed?
6. What will be the output of the following code?
print("Hello" * 2)
(a) RAM
(b) ROM
(c) Hard Disk
(d) Cache
8. Which of the following is a valid string literal in Python?
len([1, 2, 3, 4])
11. Which of the following is used to define a block of code in Python?
(a) Semicolon
(b) Curly braces
(c) Indentation
(d) Parentheses
12. What is the index of the last element in a list of 10 items in Python?
13. Which keyword is used to define a function in Python?
14. What will be the output of the following code?
a = [1, 2, 3]
b = a
b[0] = 5
print(a)
15. Which of the following methods is used to remove whitespace from the beginning and end of a
string?
(a) strip()
(b) split()
(c) replace()
(d) join()
16. What is the result of the following expression?
4 + 3 * 2
17. Assertion-Reasoning:
Assertion (A): Python lists are mutable.
Reason (R): Elements of a list can be modified after the list is created.
(b) Both A and R are true, but R is not the correct explanation of A.
18. Assertion-Reasoning:
Assertion (A): The break statement in Python is used to terminate a loop.
Reason (R): The continue statement skips the current iteration and moves to the next iteration.
country=’INDIA’
for i in country:
print(i)
29.Write a Python program to find the largest of three numbers input by the user.
30. Write a Python program to count the number of vowels in a given list.
31. What is the difference between the remove() and pop() methods in Python lists? Provide examples.
32. Write a Python program to merge two dictionaries and display the combined dictionary.
33. Write a Python program to create a dictionary where the keys are numbers between 1 and 5, and the
values are the squares of these numbers.
34. Write a Python program to input a list of numbers and create a new list containing only the even
numbers from the input list.
35. Write a Python program to create a list of student names. The program should allow the user to:
(a) clear()
(b) sorted()
(c) items()
(d) values()
(e) insert()
(f)pop()
(g)extend()
(h)sort()
(i)count()
(j)keys()