KENDRIYA VIDYALAYA SANGATHAN (JAIPUR REGION)
CLASS XI - HALF YEARLY EXAMINATION: 2018-19
SUBJECT: INFORMATICS PRACTICES (065)
Time: 03:00 Hrs. [Link]: 70
Instructions:
a. All questions are compulsory
b. This question paper contains 7 questions.
c. Programming language – Python
Q.1 (a) What is the role of CPU in mobile system? 1
(b) Write full form of APU and GPU in context of mobile system organisation. 1
(c) Expand the terms 'EB' and 'ZB' in reference of memory unit? 1
(d) Differentiate between Static and Dynamic RAM. 2
(e) What is the difference between compiler and interpreter? (any two) 2
(f) What is SoC? How is it different from CPU? Why it is considered better? 3
Q.2 (a) Who developed python programming language? 1
(b) Write any two name of IDE for python language. 1
(c) Identify the valid identifiers from following- 2
f@name , as , _tax , roll_no , 12class , totalmarks , addr1
(d) Explain various merits and demerits of python programming language. 3
(e) What do you mean by data types? What are Python's built- in core data 3
types? Write one example for each.
Q.3 (a) What is the difference between equality (==) and identity (is) operator? 1
(b) Reema is confused between 3*2 and 3**2. Help her to know the 1
difference between the two expressions.
(c) What is the difference between implicit and explicit type conversion? 1
(d) What will be the output produced by the following code- 2
A, B, C, D=9.2, 2.0, 4, 21
print(A/4)
print(A//4)
print(B**C)
print(A%C)
(e) Write following arithmetic expressions using operators in Python: 2
𝑎+𝑏
(i) c= (ii) x = a3 + b3 + c3
2𝑎
Class: XI, Informatics Practices
Half Yearly Examination – 2018-19
−𝑏±√𝑏 2 −4𝑎𝑐
(iii) A = π r(r+h)2 (iv) x =
2𝑎
(f) Write a program to get input from user and calculate EMI as per given 3
formula: E=PR(1+R)n / ((1+R)n -1)
Where-
E=EMI, P=Principal amount, R=Rate of interest, n=tenure of loan in
months
Q.4 (a) What is empty statement? What is the role of empty statement? Which 2
python statement can be termed as empty statement?
(b) Predict the output of the following code fragment- 2
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”)
(c) A year is leap year if it divisible by 4, except that years divisible by 100 3
are not leap years unless they are also divisible by 400. Write a program
that ask the user for a year and printout whether it is a leap year or not.
(d) ABC shop deals with footwear and apparels. Write a program to calculate 3
total selling price after levying the GST. Do calculate central Govt. GST
and state govt. GST. GST rates are as under-
Item GST Rate
Footwear <= 500 (per pair) 5%
Footwear > 500 (per pair) 18%
Apparels <= 1000 (per piece) 5%
Apparels > 1000 (per piece) 12%
Q.5 (a) What is pseudo code? How it is useful in developing logic for the solution 1
of a problem?
(b) Write four elements of while loop in python? 1
(c) Identify and correct the problem with following code- 1
countdown=10
while countdown > 0:
print(countdown, end=’ ‘)
countdown – 1
print(“Finally.”)
(d) Draw flowchart for displaying first 100 odd numbers. 2
Page 2 of 3
Class: XI, Informatics Practices
Half Yearly Examination – 2018-19
(e) Write a python script to print ‘Fibonacci series’ first 20 elements. Some 2
initial elements of the series are: 0 1 1 2 3 5 8 . . .
(f) Write a python script to read an integer > 1000 and reverse the number. 3
Q.6 (a) What are list slices? What for can you use them? 1
(b) What will the following code result in- 1
L1=[1,3,5,7,9]
print(L1==[Link]())
print(L1)
(c) How is clear() function different from del<dict> statement? 1
(d) Predict the output of the following code- 2
d1={5:"number","a":"string",(1,2):"tuple"}
print("Dictionary contents")
for x in [Link]():
print(x,':',d1[x],end=' ')
print(d1[x]*3)
print()
(e) Write a python script to search an element in a given list of numbers. 2
(f) Explain following List methods with examples 3
(i) count ( ) (ii) pop ( ) (iii) extend ()
Q.7 (a) What is argument? Give an example. 1
(b) Rewrite the following code after removing errors if any and underline each 1
corrections -
def func1()
input("input numbers:")
return number
(c) Write any four python’s built in string manipulation methods with 2
example.
(d) Write a program in Python to check whether the entered string is 3
palindrome or not. (Hint- "madam" is a palindrome string.)
(e) Explain the following terms with suitable example- 3
1. Module
2. Function
3. Namespace
===XXX===XI===IP===HLY===XX=XVIII=XIX===XXX===
Page 3 of 3