0% found this document useful (0 votes)
15 views3 pages

Class XI Practice Paper

Class 11 practice paper

Uploaded by

shreemuneesh007
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)
15 views3 pages

Class XI Practice Paper

Class 11 practice paper

Uploaded by

shreemuneesh007
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
You are on page 1/ 3

CodeWithMaster

Channel link:- UCRmFOXWRi0lJI1Y1XGYfb6w

Time Allowed: 3 Hours MM: 70

General Instructions:
Please check this question paper contains 34 questions.
• The question paper is divided into 5 Sections- A, B, C, D and E.
• Section A, consists of 18 questions (1 to 18). Each question carries 1 Mark.
• Section B, consists of 6 questions (19 to 24). Each question carries 2 Marks.
• Section C, consists of 4 questions (25 to 28). Each question carries 3 Marks.
• Section D, consists of 2 questions (29 to 30). Each question carries 4 Marks.
• Section E, consists of 4 questions (31 to 34). Each question carries 5 Marks.
• All programming questions are to be answered using Python Language only

SECTION - A
1. Interpreter is used as a translator for __________. 1
i. Low level language ii. Python iii. C++ iv. C

2. Which of these are considered as primary memory? 1


i. RAM ii. ROM iii. Cache iv. Both A and B

3. If a process fails, most operating systems write the error information to a __________. 1
i. New file ii. Another running process iii. Log file iv. None of the above

4. What is the octal equivalent of the binary number 1101? 1


i. 15 ii. 16 iii. 17 iv. 20

5. Which of the following is a valid hexadecimal number? 1


i. 1G ii. 2H iii. 3I iv. 4F

6. What is the binary equivalent of the decimal number 10? 1


i. 1000 ii. 1010 iii. 1100 iv. 1110

7. In the context of Big Data, what is machine learning? 1


i. A database management technique ii. A type of computer hardware iii. A method for data storage
iv. An approach to analyze data and automate analytical model building

8. What is Hadoop? 1
i. A programming language for data analysis ii. A database management system
iii. An open-source framework for Big Data processing iv. A data visualization tool

9. Expert Systems in AI are designed to: 1


i. Replace human experts ii. Mimic human expertise in a specific domain
iii. Operate machinery iv. Handle large datasets

10. What is the output of the following code? 1


print('ab12'.isalnum())
i. True ii. False iii. None iv. Error

11. What is the output of the following code? 1


example = "hello"
print(example.count('l'))
i. 2 ii. 1 iii. None iv. 0

12. What is the data type of: ‘Hello, World!’? 1


Page 1 of 3
i. List ii. Tuple iii. String iv. Dictionary
13. Which of the following methods can be used to copy a list?
i. list.copy() ii. list.clone() iii. list.duplicate() iv. list.replicate()

14. Which method is used to add an element to the end of a list? 1


i. append() ii. add() iii. insert() iv. extend()

15. What will be the output? 1


list1 = [10, 20, 30, 40]
del list1[1:3]
print(list1)
i. [10, 20, 30, 40] ii. [10, 40] iii. [10, 30, 40] iv. [20, 30, 40]

16. How do you check for multiple conditions in a single if statement in python? 1
i. if x > 10 and y < 5: ii. if x > 10 && y < 5:
iii. if (x > 10) && (y < 5): iv. if x > 10 & y < 5:

17. What is the correct syntax for an if statement in Python? 1


i. if (x > 10) { } ii. if x > 10: iii. if x > 10 then: iv. if (x > 10)

18. What does a diamond shape represent in a flowchart? 1


i. Start/End ii. Process iii. Decision iv. Input/Output

SECTION – B

19. What is an infinite loop? Give one example. 2

20. Write a program to enter a string from user and count number of vowels. 2

21. Write the output of the given code: 2


string = "radar"
if string == string[::-1]:
print(f"{string} is a palindrome")
else:
print(f"{string} is not a palindrome")

22. Convert the Hexadecimal number 1A3 to Octal number. 2

23. What is the output of the following code? 2


Msg = "Bal Bharti sChool"
Msg1 = ""
for i in range(0, len(Msg)):
if Msg[i].isupper():
Msg1 += Msg[i].lower()
elif i % 2 == 0:
Msg1 += '#'
else:
Msg1 += Msg[i].upper()
print(Msg1)

24. Convert the Hexadecimal number A2F to Octal.

SECTION - C

25. Convert the Hexadecimal number 2F3 to Decimal and Binary. 3

26. Write the output after correcting the errors(if Page


any) : 2 of 3 3
numbers = [10, 20, 30, 40, 50]:
for i in range(len(numbers)):
if numbers[i] > 25:
print("numbers[i] is greater than 25")
elif numbers[i] == 25:
print("numbers[i] is equal to 25")
else
print(numbers[i], "is less than 25")

27. Write the output of the given program 3


list1 = [1, 2, 3, 4, 5]
list2 = [10, 20, 30, 40, 50]
result = []
for i in range(len(list1)):
result.append(list1[i] * list2[i])
print(result)

28. Write an algorithm to check whether a number is odd or even. 3


• Input: Any number
• Process: Check whether the number is even or not
• Output: Message “Even” or “Odd”

SECTION - D
29. Write a program to enter a string from user and count words in Title case. (Title case means that the first 4
letter of word is capitalize).

30. Write a program to enter a list of elements from user and display all elements having 9 at second last 4
place.
SECTION - E

31. Write a program to generate the sequence: 5, -10, 15, -20, 25….. upto n, where n is an integer input by 5
the user.
32. Write a program to find the product of digits of an integer number, input by the user. 5
33. Write a Program to find prime numbers between 2 to 100 using nested for loop. 5
34. Give the output of the following when num1 = 4, num2 = 3, num3 = 2 5
i) num1 += num2 + num3
print (num1)
ii) num1 = num1 ** (num2 + num3)
print (num1)
iii) num1 **= num2 + num3
iv) print (10 + 6 * 2 ** 2 != 9//4 -3 and 29 >= 29/9)
v) print ((0 < 6) or (not(10 == 6) and (10<0)))

Page 3 of 3

You might also like