Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

TAKSHASHILA RESIDENTIAL SCHOOL

TERM-I EXAMINATION: 2022


CLASS XI
COMPUTER SCIENCE (083)

Question Set: A Question Paper No.: 8122/7


Maximum Marks: 35 Time Allowed: 90 Minutes

General Instructions:
 The question paper is divided into 3 Sections - A, B and C.
 Section A, consist of 25 Questions (1-25). Attempt any 20 questions.
 Section B, consist of 24 Questions (26-49). Attempt any 20 questions.
 Section C, consist of 6 case study based Questions (50-55). Attempt any 5 questions.
 All questions carry equal marks.

Section-A
This section consists of 25 Questions (1 to 25). Attempt any 20 questions from this section. Choose the best possible
option.
1. Which of the following is an input Device?
a. Speaker b. MICR c. Projector d. Plotter

2. Which of the following memory is made up of transistors and capacitors?


a. Dynamic RAM b. Static RAM c. Both A and B d. None of these

3. Which of the following memory is in between CPU and RAM to speed up access to data and instructions?
a. PROM b. Flash Memory c. Cache Memory d. None of these

4. Which of the following is a utility program that assist the computer by performing housing keeping functions?
a. Windows OS b. Anti Virus c. Spreadsheet d. Word Processing

5. Microphone (Mic.) is an example of


a. Input Unit b. Output Unit c. both a and b d. None of these

6. Which of the following memory types can’t store data / information Permanently?
a. RAM b. Compact Disk c. Magnetic Tape d. Hard Disk

7. Storages like Harddisk uses ____________ technology to store data.


a. Optical b. Magnetic c. Flash d. None of these

8. CU stands for
a. Control Unit b. cache unit c. calculating Unit d. Communication unit

9. The number system that uses 7 as base / radix to form any number is known as
a. Binary b. Octal c. Hexa-Decimal d. Decimal

10. ASCII stands for


1
a. American Standard Code for Information Interchange
b. Amplified Substitute Cable for Integrated Intercommunication
c. Asynchronous Structured Code for Information Intercommunication d. None of these

11. ___________ is the encoding scheme for worldwide characters.


a. ASCII b. ISCII c. Unicode d. None of these

12. Which of the following is not a property of algorithm?


a. It must take input and produce an output b. It should be precise
c. It should be infinite d. It is in human readable form

13. In Boolean algebra, X’.X is


a. 0 b. 1 c. X d. None of these

14. Which of the following is correct about DeMorgan’s theorem X . Y =¿


a. X +Y b. X . Y c. X . Y d. None of these

15. Which of the symbol represents NAND gate?

a. b. c. d.

16. Which of the following is a jumping statement to come out of a loop in python?
a. for b. while c. if d. break

17. Which of the following is not a keyword in python?


a. for b. if c. True d. input

18. What would be the data type of the variable A in the following expression?
A= 3*5//2
a. integer b. float c. complex d. boolean

19. Suppose X=[3,7,11]. Identify the type of python object


a. string b. list c. tuple d. dictionary
20.
Which of the following symbol is used to represent a comment line in python?
a. # b. // c. ‘’ d. None of these
21. Which of the following operator joins two or more strings?
a. + b. in c. * d. None of these

22. Which of the following is a bitwise operator?


a. ** b. // c. >> d. +

23. Which of the following is a complex literal?


a. 89 b. “89” c. 89j d. 89.0

24. Which of the following is not a valid identifier?


a. my_home b. if c. FOR d. budget_22

25. Which of the following is a mutable object in python?


a. integer b. tuple c. list d. string

Section-B
This section consists of 24 Questions (26 to 49). Attempt any 20 questions.

2
27. Which of the following is a Hexa-Decimal equivalent of (1110100101) 2?
a. A35 b. 3A5 c. A53 d. 53A

29. Which of the following is output 101011 +100111?


a. 1010110 b. 1010010 c. 1110010 d. 1010011

31. Which of the following is output 101111 - 100101?


a. 1010 b. 1011 c. 1110 d. 1111

33. Which of the following is the 1s complement of 101111?


a. 101110 b. 101101 c. 100111 d. 010000

35. Which of the following is the 2s complement of 101111?


a. 010000 b. 010001 c. 101001 d. 010101

37. Which of the following is correct for the Boolean expression X́ =


a. X b. 0 c. 1 d. None of these

39. X+X’Y =
a. XY b. X+Y c. X d. Y

41. Which of the following is a Hexa-Decimal equivalent of (1110100101) 2?


a. A35 b. 3A5 c. A53 d. 53A

43. The __________ converts the Python code into Machine Level language before execution.
a. Interpreter b. Compiler c. Both A and B d. None of these

45. Who among the following is the developer of Python ?


a. James Gosling b. Denis Ritche c. Guido van Rossum d. None of these

47. What is the output of the following?


x,y=7,2
x,y,x=x+1,y+3,x+10
print(x,y)
a. 17, 5 b. 7,2 c. 18,5 d. None of these

49. Find the output of the following code.


X=”Good” + 3
print(X)
a. GoodGoodGood b. Good3 c. Goo d. Error

51. What would be the value of X in the following expression?


X= 150 – 2 * 5 ** 3 // 2
a. -350 b. 25 c. 140 d. 9250

53. What would be the value of X in the following expression?


X=10 > 5 and 7 > 12 or not 18 > 3

a. False b. True c. 0 d. 1

55. What is the value of X in the following code?


X=bool('0') and 30>5
a. False b. True c. 0 d.1
3
57. Which of the following is correct for the expression x= 2-ye 2y+4y
a. import math b. import math
x= 2-y* maths.exp(2*y)+4*y x= 2-y maths.exp(2y)+4y

c. x= 2-y* maths.exp(2*y)+4*y d. x= 2-y maths.exp(2y)+4y

59. What is the output of the following code?


X= 50
Y= “40”
print(str(X)+Y)
a. 90 b. 5040 c. 2000 d. Error

61. What is the output of the following code?


x=0
for i in range(1,15,3):
x+=i
if i%3==0:
break
print(x)
a. 9 b. 25 c. 35 d. None of these

63. Observe the following code and find the output


x=1
while x<=10:
print(x,end=’’)
if x==5:
continue
x+=1
a. 1 2 3 4 … 10 b. 1 2 3 4 5 c. 1 2 3 4 5 5 5 … d. None of these

65. Find the output of the following code


for r in range(1,4):
for c in range(1,r+1):
print(r, end='')
print()
a. 1 b. 1 c. 1 d. None of these
12 2 2 23
123 3 3 3 456
67. What is the output of following code
x=1
if x>3:
if x>4:
print("A",end=’’)
else:
print("B",end=’’)
elif x<2:
if(x!=0):
print("C",end=’’)
print("D",end=’’)
a. AB b. CD c. AC d. BD

69. What is the output of the following?


X=“amazing”

4
print(X[-7:-3])
a. amazing b. zing c. amaz d. zama

71. What are the possible outcome(s) executed from the following code?

import random
NAV = ["LEFT","FRONT","RIGHT","BACK"];
NUM = random.randint(1,3)
NAVG = ""
for C in range (NUM,1,-1):
NAVG = NAVG+NAV[C]
print (NAVG)

(i) BACKRIGHT (II)BACKRIGHTFRONT (III)BACK (iv) LEFTFRONTRIGHT

73. What would be the output of following code?

s=’1bzz’
while len(s)<=4:
if s[-1]=='z':
s=s[0:3]+'c'
elif 'a' in s:
s=s[0]+'bb'
elif not int(s[0]):
s='1'+s[1:]+'z'
else:
s=s+'*'
print(s)
a.1bzz b. 1bzc* c. 1bcc d. None of these

Section-C
Case Study based Questions
This section consists of 6 Questions (50 -55) Attempt any 5 questions.

75. Sangeeta has written the following python program


if a==0:
print(‘zero’)
if a==1:
print(’one’)
if a==2:
print(‘two’)
if a==3:
print(‘three’)

which of the following code to reduce no. of comparisions?


a if a==0: b if a==0: c if a==0: d. None of these
print(‘zero’) print(‘zero’) print(‘zero’)
if a==1: else if a==1: elif a==1:
print(’one’) print(’one’) print(’one’)
if a==2: else if a==2: elif a==2:
print(‘two’) print(‘two’) print(‘two’)
if a==3: else a==3: elif a==3:

5
print(‘three’) print(‘three’) print(‘three’)

a. Power problem b. Affected by Virus c. Not properly shut down d. None of these

77. Abinash want to find the Boolean expression from the circuit diagram. Help him in find the expression.

a. u’v+uv’ b. u+v’.u’+v c. uv+ u’v’ d. (u’+v’). (u+v)

79. Suraj has written the following code in python but founds error in the code. As an expert, you have to find errors in
the statements?

30=To # Statement1
for K in range(0,To) # Statement2
IF K%4==0: # Stateement3
print (K*4) # Stateement4
else: # Stateement5
print (K+3) # Stateement6
a. statement 1,2,3 b. statement 1,2,4 c. statement 1,3 d. No error in the code

Amita has written the following code to find HCF of two given nos. But she has some statement missing. As an
expert complete the incomplete statements.
n=int(input("Enter a number"))#statement 1
m= int(input("Enter another number"))#statement 2
if n>m: #statement 3
bg= n #statement 4
sm=m #statement 5
else: #statement 6
bg=m #statement 7
sm=n #statement 8
while True: #statement 9
#statement 10
if r==0: #statement 11
print(HCF=”,sm) #statement 12
__________ #statement 13
else: #statement 14
_________ #statement 15
sm= r #statement 16
81. Identify the suitable statement for blank space in the line marked as Statement-10
a. r=bg//sm b. r=bg%sm c. r=0 d. None of these

83. Identify the suitable statement for blank space in the line marked as Statement-13
a. break b. continue c. return d. None of these
85. Identify the suitable statement for blank space in the line marked as Statement-6
a. bg=sm b. sm=bg c. sm==bg d. bg==sm

You might also like