0% found this document useful (0 votes)
13 views4 pages

Cumulative Test Class XI Computer Science

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

Cumulative Test Class XI Computer Science

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

केंद्रीय विद्यालय संगठन , कोलकाता संभाग

KENDRIYA VIDYALAYA SANGATHAN, KOLKATA REGION


संचयी परीक्षा / CUMULATIVE TEST 2023 – 24
कक्षा / CLASS – XI अधिकतम अंक / MAX MARKS – 70
विषय SUB : Computer Science (083) समय / TIME – 03 घंटे / Hours

SECTION – A
1. True 1
2. (b) 43220 1
3. (a ) True 1
4. c) Guido van Rossum 1
5. Integrated Development Learning Environment 1
6. (a) # 1
7. False 1
8. ( c ) Integer 1
9. ( c ) Printer 1
10. ( b ) False 1
11. (c) - 1
12. ( b) NOR 1
13. ( c) Hardware 1
14. ( d) # 1
15. (c) George Boole 1
16. ( c ) // 1
17. ( A ) Both A and R are true and R is the correct explanation for A. 1
18. ( A ) Both A and R are true and R is the correct explanation for A. 1
SECTION – B
19. a) (1725)8 2
b) (10AF9)16
20. A B A’ B A+B (A+B)’ A’.B’ 2
0 0 1 1 0 1 1
0 1 1 0 1 0 0
1 0 0 1 1 0 0
1 1 0 0 1 0 0

On comparing the columns (A+B)’ and A’.B’


We find both are identical , hence proved that (A+B)’ =A’.B’
21. The statement 3 * 2 multiplies 3 by 2 and produces the result 6 , whereas 2
3 * * 2 calculates 3 raised to the power 2 and produces the result 9.
22. i) len( ) 2
ii) capitalize( )
iii) isalpha( )
iv) upper( )

1|Page
½ marks for each correct answer.

OR
[ 9,13,28,2,7]
23. A.(B+C’) 2
24. Devices which transform digital output into human understandable form are 2
known as output devices. Examples : printer, monitor, projector,speakers etc.
25. octal equivalent of (𝐴72𝐸)16 is (123456)8. 2
SECTION – C
26. i) (A.B) ‘ = A’ + B’ ( 1 Mark ) 3
ii) (A+B)’ = A’.B’ ( 1 Mark )
iii) A.A = A or A+A = A ( 1 Mark for either of the two )
27. 3
i) A=100

B=200

ii) a=b=c=10

iii) x=20

x=x-5

y=x

OR

a=input(“Enter a string with digits :”)

c=0

for i in a :

if [Link]( ) :

c= c + int( i )

print( c )
28. index1=[Link](20) 3
List1[index1]=200
print(List1)
29. Errors are problems that occur in the program due to an illegal operation 3
performed by the user or by the fault of a programmer, which halts the normal
flow of the program. Errors are also termed bugs or faults.
Errors are of three types :
1. Syntax Errors - These errors arise when the interpreter cannot understand

2|Page
a line of code with wrong syntax.
2. Logical Errors - A logical error produces an undesired output but without
abrupt termination of the execution of the program. Since the program
interprets successfully even when logical errors are present in it, it is
sometimes difficult to identify these errors.
3. Run Time Errors - A run time error causes abnormal termination of the
program while it is executing. Runtime error is when the statement is
correct syntactically, but the interpreter cannot execute it. Runtime errors
do not appear until after the program starts running or executing.
Note : Suitable examples in each case may be accepted.
30. "break" is used to exit a loop prematurely, terminating its execution. 3
"continue" is used to skip the current iteration of a loop and move to the next
one.

Suitable example may be accepted.


SECTION – D
31. a) The various steps to be followed to solve the given problem are as : 4

i) Input length of the rectangle.


ii) Input breadth of the rectangle.
iii) Set the area by multiplying length and breadth.
iv) Set the perimeter by adding the length and breadth and then multiply
it by 2.
v) Display area and Perimeter.
b) Flowcharts are graphical representations of a program's logic or algorithm. They
use various symbols and shapes to represent different actions, decisions, and
processes within a program. Flowcharts are helpful for planning, understanding,
and documenting algorithms.
32 The tentative program is : 4

n = int( input(“Enter any number :”))


A=[ ]
for i in range(n) :
v=int(input(“Enter value to add :”))
[Link](v)
print(“Maximum = “,max(A))
print(“Minimum = “,min(A)) { Marks to be awarded for alternate code also }

OR
i = int( input(“Enter the limit :”))

x=0

3|Page
y=1
z=1

print(“Fibonacii series \n”)

print( x , y , end=””)
while(z<=i) :
print(z,end=’ ‘ )
x=y
y=z
z=x+y { Marks to be awarded for alternate code also }
SECTION – E
33. (a) The difference between for loop and while loop is that 5
for is an entry controlled loop whereas while is an exit controlled loop.
for is counting loop and while is conditional loop
(b)
N=5
for i in range(1,N+1)
for j in range(1, i + 1 )
print(j , end = ‘ ‘ )
print(“ “ )
34. a) i) = 3+2=5
ii) num
iii) Factorial=120
b) dlrowolleh
35. a) sELCcME&Cc 3+2=5

(b) corrections are underlined.


Value=30
for VAL in range( 0 , Value ) : # Error 1
if VAL % 4 = = 0 : # Error 2
print( VAL * 4 )
elif VAL % 5 = = 0 : # Error 3
print( VAL + 3 )
else : # Error 4
print( VAL + 10 )
( ½ mark for each error )

4|Page

You might also like