100% found this document useful (1 vote)
46 views6 pages

Cs Paper

Uploaded by

eshanthbasu2008
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
100% found this document useful (1 vote)
46 views6 pages

Cs Paper

Uploaded by

eshanthbasu2008
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/ 6

KENDRIYA VIDYALAYA SANGATHAN, CHENNAIREGION

HALFYEARLY EXAMINATION 2024-25


Class :XI Time: 3hours
Max Marks: 70
COMPUTER SCIENCE (083)
General Instructions:
1. This question paper contains five sections, Section A to E
2. All the questions are compulsory
3. Section A has 21questions carrying 0l marks
each
4. Section B
has 07 Very Short Answer Type questions carrying 02 marks each
5. Section C
03 short answertype questions carrying 03 marks each
has
6. Section D has 04 Long Answer Type questions carrying 04 marks each
7. Section E has 02 questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only
9. In case of MCQ, text of the correct answer should also be written.

SectionA

1. State True or False:

While processing, the CPU stores the data as well as instructions in its local memory
called registers."

2. Which of the following is the smallest unit of data in a computer?


(ajBit (b)KB (c) Nibble (d)Byte

3. a volatile memory.
is

(a)Cache memory (b) ROM Hard disk (d) SSD


4 is the device generallyused to give audio inputto the computer system.
a) Keyboard b) Mouse c)Speaker Microphone
5. Which of the following is not an example of system software?
(a)Language Translator (b)Utility Software
(eCommunication Software (d)Word Processors
6. act as an interface between the operating system and the attached
(a)Programming
System
tools o Device driver
device.

(c) Utility (d)None of the above


7. The universal logic gate is
(a) NOR (b)NAND (c) XOR (GNOT

8. Hexadecimal representation of (122)10is:

Page 1 of 6
(07A)6 (d)(07B)16
(a)(7A)i6 (b(7B)16 (c)

as a group of binary digits


9.
Inoctal number system,cach symbol is represented
(d) 16
(a)2 (b) 3 (e) 8

which incorporates all the characters of every written


10. is a standard representation
language of the world.

(a)ASCII (b)ISCII (e) UNICODE (d)None of these

11. Write the full form of ISCII.

12. |
Identify the purpose for which the given symbol is used in flowchart:

(a)Process cbecision Input/Output d) Start/End

13. Which of thefollowing can be used as valid variable identifiers in Python?


(a)11th Class (bYLocation (c)Milkyway# (d) Name

14. Ifa =1and b=2 and c=3 then a %b // cevaluate to:


1

(a) 0 (b)1 (c) 0.5

15. Find out the output of givencode:


if 2 + 5 == 7:
print ("Good",end=)
else:
print ("Nice",end= @)
print ("Morning")
(a)GoodMorning (b)Nice@ (e)Good Morning (d) Nice@Morning

16. >>> 4>8 or 4


1

What willbe the correct answer?


(a)True (6)False (c) 4 (d) 10

17. Which of the following functions will return the first two characters of a string S?
oS:2] (c) S[-2:] (d) S[:-2]
(a) S[2:]

above Python code?


18. Predict
abc="6/4
the output
" of

print ("abc")

) (b) 6/4 1.5 (d) abc


(a) 1

19. Given L-[100,200,300].What is the output of L.pop()? l,


(b) 100 (c) [10,20] (d) Error
300

o20 and21 are ASSERTION and REASONING based questions. Mark the correct choice
as:

Page 2 of 6
(a), Both and R are True and
A R is the correct explanation of A 21
(b),Both A and R
are True and R is not the correct explanation of A20
(c). A is True but R is False

(d).A is False but R is True

20. Assertion (A): In Python, the list is mutable collection of data.

:
Reason (R) It mcans that any change or alteration in data, is mentioned in the same
place. The updated collection will be using the same address
for its storage.

causes abnormal programwhile it is

1
21. Assertion(A):- Runtime error termination of

executing
Reason(R) :-If statementis syntactically correct, runtime error never occurs.

Section B

volatile memory and non-volatile memory. Give examples


2
Differentiate

2
23.
B

-o

Write the equivalent Boolean expression for the above diagram


Or
Draw the Logic Circuit for the Expression:

(A+B)'.(BC)
2
24. Differentiate between a CompilerandInterpreter.

the corrections in the correct code 2


25. Find the errors, correct them and underline
P=10
for j in range (0,P)
If j%2==0:
print (j*4)
elif j%5=0:
print (j+3)
else:
print (j+9)
2
26. Write the output of:

i)

myaim="$$MY DREAM$$"
print (myaim[-4:-2:1)
i)
my string ="Believe in yourself"
print (len (my string) )
print ("Dear "+my string)

Page 3 of 6
27. Predict the output of the below code:
listl =
[10,20,30,40, 50)
list2 =list (1istl)
new list U
for i in list2:
if i%4m0:
new list.append (i)
print (new list)

28.Whatis the difference between ''and '? Explain with the hclp of an examplc. 2
Section C

29. Draw the Truth table for the


cxpression X.Y'+X.Y o
37
30. Write a program to calculate and print total and averageruns scored by a
matches. cricketer in 3 3

31. Writean algorithm to find the average of n numbers 3


SectionD

32. Define Operating System?


Explain the functions of Operating System? 4
33. Consider belowcode:
Numl, Num2=0, 1
n= # Statement 1

if
#Statement2
print ("Please enter a positive number")
elif
#Statement 3
print ("You have entered 0")
else:

#Statement 4
Num3-Numl+Nun2
Num1 =
Num2
Nun2= Num3
print (Num2 )
a. Write input statement to accept number of terms(n)
-Statement 1
b. Write if condition to check whetherinput is
positive number or not - Statement 2
c. Write if condition to check whether input is 0 or not- Statement 3
d. Write for loop to iterate the values up to n terms -Statement 4
34 Write a python user defined function to input radius and display the area and 4
circumferenceof a circle.
(Area of circle r,
Circumference 2nr) [REPRESENT AS pi=3.14]

Page 4 of 6
inhas done the coding
using if..elif and
annerthat he himself get confused about if..else. but he has done coding in such a 4
the results and execution of the
writtenby him is given below. coding. Code
Help him in finding the output of
the code. Consider the
following code segment for the question (i) to
(iv).
x=int (input("Enter the value of x:"))
y=int (input ("Enter the value of y:"))
if x<=0:
X=X+1
else:
X=X+1
if x>0 and y>0:
print ("w")
elif x>0:
print ("X")
if y>0:
print (Y")
else:
print ("2")
()Whatletters will be printed if the user enters 0 for x and 0 fory?4 w
(ii)What letters will be printed if the user enters 1 forx and 1 for y?w
(iii)What letters will be printed if the user enters 1 forx and -1l fory?x z
(iv)What letters will be printed if the user enters 1 for x and 0 for y? vz
OR
Writea python program to input 3 numbers and displaythe greater of the numbers.

Section E

36. I)
Consider the following string school:
school= "Kendriya Vidyalaya"
What will be the output ofthe following string operations(Any Five):
(a) print (school [0:len (school) ])
(b) print (school [-7:-1])
(c) print (school [::2])
(a) print (school [len (school) -1])
(e) print (2* school)
() print (school [:3] + school (3:])

OR
I) Write the output for the following statements on the given string:

Strl= "Half yearly Exam"


(a) print (Strl.upper
())
(b) print (Strl.split ())
(c) print (Strl.find 'End')) (
(d) print (Strl.index 'e')) (
(e) print (Str1[::-1])
37. Consider the list, L -[5,15,25,60,52,2,84,61,38] and answer the below questions. 3+
a) Write python statement to do the following: 2
i) Sort L in place in ascending order
ii) Add the number 90 at the end of the list

iii) thevalue at index starting from 2 to 4 1:*


Delete
b) Write the output / value of L after execution of the following statements w.r.t
original 1list L.
i) (
L.append [100,150])
ii) print (len (L) )

You might also like