Professional Documents
Culture Documents
Xi Ip Term 2 MS 2023-24 Improvement Exam
Xi Ip Term 2 MS 2023-24 Improvement Exam
TERM II EXAMINATION
CLASS - XI
SESSION - 2023-24
INFORMATICS PRACTICES (065)
Q3. __________ are used to perform maintenance functions in computer systems . (1)
a) Application Software
b)
c)
d)
System Software
Utility Software
None of these
✔️
Q4. 2096 MB is equivalent to ___________ GB (1)
a) 1 GB and 100 MB
b)
c)
d)
1 TB and 100 MB
2 GB and 48 MB
1 B and 48 GB
✔️
Q5. STR=”RGBCOLOR” (1)
colors=list(STR)
How do we delete ‘B’ in given List colors?
a) del colors[2]
b) colors.remove("B")
c)
d)
colors.pop(2)
All of these ✔️
Page 1
Q6. ______ command is used to remove a column from the table in MySQL. (1)
a)
b)
c)
UPDATE
ALTER
DROP
✔️
d) DELETE
Q7. Ravi wants to generate a list with following values: [-15,-13,-11,-9,-7] (1)
Identify the right python statement for the same.
a) list(range(-15,-8,2))
b)
c)
d)
✔️
list(range(-15,-8,-2))
list(range(-15,-6,-2))
list(range(-15,-6,2))
Q8. Ravish is working with a table employee. He wants to insert a record in the table. Help him to (1)
complete the query for this task.
insert into employee __________(‘E001’,’Amit’,83000);
a)
b)
c)
table
values
value
✔️
d) field
Q10. Which Python mode allows you to save code/instructions in program file mode? (1)
a)
b)
c)
Interactive Mode
Script Mode
Program Mode
✔️
d) Inline mode
Q11. Rajveer wants to display records of selected employees from the emp table, which clause needs (1)
to be added in the query to achieve this.
a) DISTINCT
b)
c)
d)
ORDER BY
WHERE ✔️
None of these
Q12. Consider a table Book having two fields as mentioned below: (1)
Field Type
BookID varchar(30)
BookAuthor char(30)
If in a record , the value stored in BookID is ‘B10113’ and Book Author is ‘James’, then BookID
and BookAuthor will consume _______ and ________ characters space respectively.
a) 7,5
b) 6,5
c)
d) ✔️
30,30
6,30
Keyboard
d) Touch Sensor
Page 2
Q14. Out of given data types, which one is a sequential data type in python? (1)
a)
b)
c)
string✔️
integer
boolean
d) dictionary
Q15. In the context of revolutionizing the shopping experience through a mobile application, which (1)
technology offers the capability to immerse users in simulated environments, potentially
transforming their interaction with products and services?
a)
b)
c)
Virtual Reality (VR) ✔️
Augmented Reality (AR)
Q16. What type of cloud computing model is suitable for a company seeking a provider offering basic (1)
services like virtual server provisioning and on-demand storage, allowing for the deployment and
operation of custom applications?
a)
b)
Infrastructure as a Service (IaaS)
Platform as a Service (PaaS)
✔️
c) Software as a Service (SaaS)
d) Function as a Service (FaaS)
Question 17 and 18 are ASSERTION AND REASONING based questions. Mark 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
Q17. Assertion: The modulo operator (%) returns the remainder of a division operation. (1)
Reasoning: The modulo operator is primarily used for integer division.
iii. A is True but R is False
Q18. Assertion: The primary key ensures data integrity and facilitates efficient data retrieval operations. (1)
Reasoning: A primary key uniquely identifies each record in a database table
i. Both A and R are true and R is the correct explanation for A
.
Section - B (7 x 2 = 14)
Q19. Arpita, a data analyst, accidentally deleted crucial data from her company's database. Is it (2)
possible for Arpita to recover the deleted data? Justify your answer.
Yes, it's possible for Arpita to recover the deleted data if the company has backups or
employs data recovery techniques. Otherwise, the data may be permanently lost.
OR
Enumerate the utilization or purposes of the following memory devices:
i. Random Access Memory
ii. Read Only Memory
Random Access Memory (RAM) is used for temporary storage of data and program
instructions while a computer is running.
Read Only Memory (ROM) contains firmware and boot-up instructions essential for the
computer's operation.
Page 3
15.3333
True
Q21. Convert the following program into a for loop without affecting the output. (2)
count=0
while count<10:
print(“Hello”)
print(“Good Bye!”)
count=count+1
for count in range(10):
print("Hello")
print("Good Bye!")
Page 4
i. SELECT Doc_name FROM HOSPITAL WHERE Doc_name LIKE ‘_ _ i %’ ;
Avinash
ii. SELECT Doc_name FROM HOSPITAL WHERE Doc_name LIKE ‘% r_ _’ ;
Hariharan
Section - C (5 x 3 = 15)
Q26. Rewrite the following code in Python after removing all syntax error(s). (3)
30 = To
for K in range(0, To)
If K%4 = 0:
Print(K*4)
Else:
Print(K+3)
To = 30
for K in range(0, To):
if K % 4 == 0:
print(K * 4)
else:
print(K + 3)
Q27. Write a program that performs the following operations on a given list of integers L1: (3)
L1=[20,22,13,20,50]
i. Find the sum of all the even numbers in the list.
ii. Calculate the average of the odd numbers in the list.
Page 5
Proprietary RDBMS software: Oracle Database, IBM DB2, MS ACCESS
Q30. What is Cloud Computing? Explain any two types of cloud computing services. (3)
Cloud Computing: Delivery of computing services over the internet, including storage,
processing power, and applications, on-demand, without direct management.
Two types:
1. Infrastructure as a Service (IaaS): Provides virtualized computing resources over the
internet, such as servers, storage, and networking.
2. Software as a Service (SaaS): Delivers software applications over the internet on a
subscription basis, eliminating the need for local installation and maintenance.
OR
i. How we can utilize blockchain technology to elevate the assessment process in schools.
ii. What do you understand about the term PaaS?
iii. Give examples of any two IoT devices.
i. Blockchain technology can enhance school assessment processes by providing secure,
immutable records of student achievements and grades, ensuring transparency and
preventing tampering.
ii. Platform as a Service (PaaS) is a cloud computing model that provides a platform
allowing customers to develop, run, and manage applications without dealing with the
underlying infrastructure.
iii. Examples of IoT devices include smart thermostats (e.g., Nest) and wearable fitness
trackers (e.g., Fitbit).
Section - D (3 x 5 = 15)
Q31. The record of Student (Name, Class, Marks in 3 subject and Percentage) is stored in the following (5)
list: student=[‘Kamal’, ‘IX’, [98,88,65],94]
Write Python statements to retrieve the following information from the list Sale:
Page 6
i. Print the marks of the 2nd Subject.
ii. Change the marks of 3rd subject to 76.
iii. Remove the class from the list
iv. Delete percentage from the list
v. Print average marks of all three subjects’ marks.
student = ['Kamal', 'IX', [98, 88, 65], 94]
OR
Consider the following dictionary:
states={'G': 'Goa', 'K': 'Karnataka', 'T': 'Telangana', 'B': 'Bengal'}
Write Python statements for the following:
i. To insert (‘M’ : ‘Madhya Pradesh’) in the dictionary states.
ii. To return the value corresponding to the key ‘K’
iii. To print all the keys of the dictionary states.
iv. To delete the item from the dictionary corresponding to the key ‘T’
v. To delete the whole dictionary object
# Given dictionary
states = {'G': 'Goa', 'K': 'Karnataka', 'T': 'Telangana', 'B': 'Bengal'}
Page 7
# iv. To delete the item from the dictionary corresponding to the key 'T'
del states['T']
print("Dictionary after deleting the item corresponding to the key 'T':", states)
Q32. Consider the table ‘Bank’ given below and write suitable SQL queries for the following: (5)
Page 8
SELECT DISTINCT Travel_Date FROM Traveler_Details;
iii. How NULL is different from a blank space in MySql? Write the reason to support your
answer.
NULL in MySQL represents the absence of a value, while a blank space is
considered as a value. NULL indicates that the value is unknown or not applicable,
whereas a blank space means that the attribute has been assigned an empty string.
iv. % and _ are used with the _____________ operator in MySQL.
% and _ are used with the LIKE operator in MySQL.
‘OR
Mr. Malhotra is working on a MySQL table named ‘Stud’ with the following table schema:
Section - E (2 x 4 = 08)
Page 9
Q35. i. What will be the output of following program: (1+1
book1 = {"Title": "Python Programming","Pages": 300} +2)
book2 = {"Title": "Java Programming","Pages": 300}
print(book1 == book2)
False
ii. Explain how value to the multiple variable can be assigned in a single line using an
example.
In Python, values to multiple variables can be assigned in a single line using tuple
unpacking. For example:a, b, c = 1, 2, 3
iii. Predict the output of the following:
categories = ["A", "B", "C", "D"]
scores = [80, 75, 85, 90]
for i in range(len(categories)):
if categories[i] == "B":
scores[i] += 15
if categories[i] == "B":
scores[i] -= 6
print(scores)
-----------------END-------------
Page 10