half xi-1
half xi-1
half xi-1
HALF-YEARLY
Class: XI Computer Science (083)
Maximum Marks: 70 Time Allowed: 3 hours
General Instructions:
1.This question paper contains five sections, Section A to E.
2.All questions are compulsory.
3.Section A have 18 questions carrying 01 mark each.
4.Section B has 07 Very Short Answer type questions carrying 02 marks each.
5.Section C has 05 Short Answer type questions carrying 03 marks each.
6.Section D has 03 Long Answer type questions carrying 05 marks each.
7.Section E has 02 questions carrying 04 marks each. One internal choice is given in Q35 against part c only.
8.All programming questions are to be answered using Python Language only.
a. 2 b. 0
c. 4 d. 3
Q16. The__________ function returns the exact copy of the string with the first letter in 1
uppercase:
(a) find() (b) copy()
(c) upper() (d) capitalize()
Q17 and 18 are ASSERTION AND REASONING based questions.
Mark the correct choice as
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
Q17. Assertion (A):- Elements of a strings in python can be accessed with positive and negative 1
integers .
Reasoning (R):- Python strings support both positive and negative indexing .
Q18. Assertion (A):- We can modify string contents. 1
Reasoning (R):- Python strings are immutable .
SECTION B
Q19. What are two execution modes in python ? Explain each . 2
Q23. Write a python program to take radius of a circle as input from user and print area of the 2
circle . Take PI=3.14
Or
Write the output of the following code :
x=2
while x>1:
x-=1
print(“inside the loop”)
else:
print(“out of loop”)
SECTION C
Or
Write a python program to take a string as input from user and print each word in lower
case.
SECTION D
Input:362
Output:11
Or
or
Predict the output :
astring = "Hello world!"
print(astring[::-1])
print(astring[-5:])
print(astring[3:7:1])
tmp = "-"
print (tmp.join(astring))
string1 = "gold is heavy metal"
print(string1.partition('is'))
SECTION E
Q34. Write a python program to take a number as input from user and print the factorial of that 4
number .
Q35 4
With respect to block diagram answer the following : (OPTION GIVEN IN PART C
ONLY)
a. What is the name of box A.
b. What is the function of Arithmetic & Logic unit
c. Write the names of two main memory OR Write the names of two auxiliary
memory
d. Give example of one input and one output device .