Xi Ip Hy 2023
Xi Ip Hy 2023
School
Half- Yearly Examination (2023-24)
Subject: INFORMATICS PRACTICES (065)
MM: 70 Class: XI Time:2 hrs
General Instructions:
SECTION A
1. What is the full form of IPO.
(i) Input Process Output
(ii) Input Print Output
(iii) Internet Print Output
(iv) Internet Process Output
2. 1024 ZB = ?
(i) 1 YB
(ii) 1 BB
(iii) 1 EB
(iv) 1 GB
3. What is an information?
(i) Processed data
(ii) Collection of programs
(iii) Collection of instructions
(iv) None of these
4. Nimish has joined an organization which uses only Open Source Software. Help him to
identify which software he cannot use in his organization.
(i) Python
(ii) Libre Office
(iii) JAVA
(iv) Tally
6. Shilpi is teaching Arithmetic operators in Python. One of her student wrote the following
statement:
'7'+5
Predict the output of the above mentioned statement:
(i) 75
(ii) 12
(iii) TypeError
(iv) 77777
7. Identify the correct command which will produce the output given below:
[0,-2,-4,-6,-8]
(i) list(range(-2,-8,-2))
(ii) list(range(0,-8,-2))
(iii) list(range(-2,-10,-2))
(iv) list(range(0,-10,-2))
8. Which of the following are not fundamental building blocks of a python program?
(i) Indentifiers
(ii) Constants
(iii) Keywords
(iv) Errors
10. L1 = [3,4,5,6,6,8,0]
print(L1[-1])
(i) 0
(ii) 3
(iii) 5
(iv) 8
Q13 and 14 are ASSERTION AND REASONING based questions. Mark the correct choice as :
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
SECTION B
15 What will be the output produced by the following code?
A=9
B=3
C=2
print(A/4)
print(A//4)
print(B**C)
print(A%C)
Or
Write down the type of memory needed to do the following:
i) To execute the program
ii) To store the instructions which cannot be overwritten
17 Find errors in the following code fragment.(Rewrite the program underlining the
correction)
x = int(“Enter value of x:”)
if x > 18:
Print(x)
19 Write a python program that asks user to enter their name and age. And display the name
and age by adding 100 to it.
Or
Convert the following for loop into a while loop:
for x in range(5):
print(x)
SECTION C
24 Evaluate the following:
i) year = 23
if year % 2 == 0:
print(“MORTAL”)
else:
print(“IMMORTAL)
ii) num = ‘345’
print(num*3)
iii) name = “yuvraj”
print(name[:])
OR
(i) Liansha has written the following statement in Python, but it is showing an error:
$f = 021
According to you what could be the problem? And also rectify it.
(ii) Define identifiers.
SECTION D
29 Find out the error(s) in the following code fragments:
(a) temperature = 90
Print temperature
(b) my_lis = [ 12, 13, 14, 14 )
print[my_lis[1]]
(c) for n in range(4):
print(n)
(d) x = 24
4=x
(e) Print(“X =” X)
Or
Consider the following dictionary:
states=[‘Delhi’ , ‘Kerala’ , ‘Tamil Nadu’ , ‘Bihar’]
Write Python statements for the following:
30 The record of salesman (Name, Item Sold, sale of three quarters and Commission) is
stored in the following list:
Sale=[‘Liansha’, ‘Laptop’, [35000,42000,85000],20000]
Write Python statements to retrieve the following information from the list Sale:
i) Print the sale of 2nd Quarter.
ii) What will print(Sale[3]) produce as output .
iii) Change value of product from ‘Laptop’ to ‘Tablet’
iv) Delete Commission from the list
v) print index of ‘Poorav’
SECTION E
32 Case Study 1
IndiaSells is an india-based cargo company that deals with the export and sale of various
goods within the country and across the globe. To do business analysis of the day-to-day
transactions, they have hired a programmer to develop a computerized system for the same.
(i) Write a python code that accepts cost of goods sold (cogs), revenue generated (rg),
operating costs (oc), and prints gross profit (gp), net profit (np) and net profit
percentage (npp).
{gp = rg – cogs, net profit = revenue – cogs – oc}
(ii) What happens if the user enters a name instead of cost in program.
OR
Gurukul Vidyapeeth is a reputed institution in the field of academics and extra – curricular
activities. Every year, with the commencement of the new session, it hikes fee by 10% for all
the students which was manually done till date and required enormous efforts on the part of
the office staff. To solve this problem, develop a python program that calculates this 10% fee
hike every year automatically after obtaining the basic fee amount from the user and displays
it to the parents of the students enrolled with the institute. Also hiking cost 100 rs. Per head so
input the number of users and calculate total hiking cost for school data.
33 Case Study 2
The students were instructed by their computer teacher to build a program in python that
functions as a calculator. It can carry out basic mathematical calculations (+, -, *, /).
The program may perform following tasks:
(a) User will input two numbers and operator.
(b) According to operator selected calculation will take place and output is displayed
OR
World Class Telecom Company is planning to conduct a videoconference with its associated
partners across several nations. In its videoconferencing area, there are several Microphones,
Speakers, Webcams and a Biometric sensor. Describe the purpose of each of the devices.