Where
Where
General Instructions:
● Please check this question paper contains 37 questions.
● All questions are compulsory. However, internal choices have been provided in some
questions. Attempt only one of the choices in such questions
● The paper is divided into 5 Sections- A, B, C, D and E.
● Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
● Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
● Section C consists of 4 questions (29 to 32). Each question carries 3 Marks.
● Section D consists of 2 case study type questions (33 to 34). Each question carries 4
Marks.
● Section E consists of 3 questions (35 to 37). Each question carries 5 Marks.
● All programming questions are to be answered using Python Language only.
● In case of MCQ, text of the correct answer should also be written.
3 Identify the networking device responsible for routing data packets based on their
destination addresses.
(A) Modem
1
(B) Hub
(C) Repeater
(D) Router
Page 1 of 14
4 Identify the SQL command used to delete a relation (table) from a relational
database.
(A) DROP TABLE
1
(B) REMOVE TABLE
(C) DELETE TABLE
(D) ERASE TABLE
9 Which of the following Python statements is used to import data from a CSV file
into a Pandas DataFrame (Note: pd is an alias for pandas)?
(A) pd.open_csv('filename.csv')
1
(B) pd.read_csv('filename.csv')
(C) pd.load_csv('filename.csv')
(D) pd.import_csv('filename.csv')
10 What is plagiarism? 1
Page 2 of 14
(A) Using copyrighted material without giving proper acknowledgement to the
source
(B) Downloading illegal software.
(C) Spreading misinformation online.
(D) Hacking into computer systems.
12 In which of the network topologies do all devices connect to a central point, such
as a switch or hub?
(A) Star
1
(B) Bus
(C) Tree
(D) Mesh
14 Identify the type of cybercrime that involves sending fraudulent emails to deceive
individuals into revealing sensitive information.
(A) Hacking
1
(B) Phishing
(C) Cyberbullying
(D) Cyberstalking
15 While creating a Series using a dictionary, the keys of the dictionary become:
1
(A) Values of the Series
Page 3 of 14
(B) Indices of the Series
(C) Data type of the Series
(D) Name of the Series
18 Which Matplotlib plot is best suited to represent changes in data over time?
(A) Bar plot
(B) Histogram 1
(C) Line plot
(D) Histogram & Bar plot
19 Which type of network covers a small geographical area like a single office,
building, or school campus?
(A) PAN
1
(B) MAN
(C) LAN
(D) WAN
Q-20 and Q-21 are Assertion (A) and Reason (R) Type questions. Choose
the correct option as:
Page 4 of 14
(A) Both Assertion (A) and Reason (R) are true, and Reason (R) is the
correct explanation of Assertion (A)
(B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the
correct explanation of Assertion (A)
(C) Assertion (A) is True, but Reason (R) is False
(D) Assertion (A) is False, but Reason (R) is True
22 (A) What is a Series in Python Pandas? Also, give a suitable example to support
your answer.
OR
(B) What does the term 'library' signify in Python? Mention one use for each of 2
the following libraries:
• Pandas
• Matplotlib
23 What are intellectual property rights (IPR), and why are they important in the
2
digital world?
25 (A) What is Internet and how does it differ from World Wide Web (WWW)?
OR
2
Explain the concept of browser cookies and mention one advantage of using
(B) them.
Page 5 of 14
26 Define the term Primary Key in a database. Explain how it is different from a
2
Candidate Key.
27 Mention two health concerns associated with excessive use of Digital Devices. 2
Code:
import _______ as pd
data = ['Chennai','_______','Imphal']
indx = ['Tamil Nadu','Uttar Pradesh','Manipur']
s = pd.Series(_______, indx)
print(_______)
29 Ayesha's family is replacing their old computer with a new one. They decide to
throw the old computer in a nearby empty field/plot.
I. Explain any one potential environmental hazard associated with
improper e-waste disposal. 3
II. Suggest one responsible way to Ayesha's family for proper disposal of
their old computer.
III. Describe the importance of recycling in e-waste management.
Page 6 of 14
30 (A) Write a Python program to create the following DataFrame using a list of
dictionaries.
Product Price
0 Laptop 60000
1 Desktop 45000
2 Monitor 15000
3 Tablet 30000
3
OR
(B) Write a Python Program to create a Pandas Series as shown below using a
dictionary. Note that the left column indicates the indices and the right
column displays the data.
Russia Moscow
Hungary Budapest
Switzerland Bern
31 I. Write an SQL statement to create a table named STUDENTS, with the
following specifications:
Page 8 of 14
I. Display the sports-wise total number of medals won.
II. Display the names of all the Indian athletes in uppercase.
III. Display the athlete name along with their corresponding sports
33 During a practical exam, a student Ankita has to fill in the blanks in a Python
program that generates a bar chart. This bar chart represents the number of
books read by four students in one month.
Books
Student Name Read
Karan 12
Lina 9
Raj 5
Simran 3
Page 9 of 14
I. Write the suitable code for the import statement in the blank space in the
line marked as Statement-1.
II. Refer to the graph shown above and fill in the blank in Statement-2 with
suitable Python code.
III. Fill in the blank in Statement-3 with the name of the function to set the
label on the y-axis.
IV. Refer the graph shown above and fill the blank in Statement-4 with
suitable Chart Title.
34 (A) Rahul, who works as a database designer, has developed a database for a
bookshop. This database includes a table BOOK whose column (attribute)
names are mentioned below:
PRIC
BCODE TITLE AUTHOR E
B001 MIDNIGHT’S CHILDREN SALMAN RUSHDIE 500
THE GOD OF SMALL
B002 THINGS ARUNDHATI ROY 450
B003 A SUITABLE BOY VIKRAM SETH 600
B004 THE WHITE TIGER ARAVIND ADIGA 399
KHUSHWANT 4
B005 TRAIN TO PAKISTAN SINGH 350
Page 10 of 14
MED_NAME: Specifies the medicine name
SUPP_CITY: Specifies the city where the supplier is located.
STOCK: Indicates the quantity of medicine available.
DEL_DATE: Specifies the date when the medicine was delivered.
Table: MEDICINE
MID MED_NAME SUPP_CITY STOCK DEL_DATE
M01 PARACETAMOL MUMBAI 200 2023-06-15
M02 AMOXICILLIN KOLKATA 50 2023-03-21
M03 COUGH SYRUP 120 2023-02-10
BENGALURU
M04 INSULIN CHENNAI 135 2023-01-25
M05 IBUPROFEN 30 2023-04-05
AHMEDABAD
Page 11 of 14
The shortest distances between the departments/offices are as follows:
HR TO FINANCE 65 M
HR TO TECHNICAL 80 M
HR TO SUPPORT 70 M
FINANCE TO TECHNICAL 60 M
FINANCE TO SUPPORT 75 M
TECHNICAL TO SUPPORT 50 M
BENGALURU OFFICE TO LUCKNOW 1900 KM
Page 12 of 14
type of network—LAN, MAN, or WAN—will be created? Justify your
answer.
V. The company plans to develop an interactive website that will enable
its employees to monitor their performance after login. Would you
recommend a static or dynamic website, and why?
Page 13 of 14
II. Calculate the remainder when 125 is divided by 8.
III. Display the number of characters in the word 'NewDelhi'.
IV. Display the first 5 characters from the word 'Informatics
Practices'.
V. Display details from 'email' column (attribute), in the
'Students' table, after removing any leading and trailing
spaces.
Page 14 of 14
MARKING SCHEME
CLASS XII SESSION: 2024-25
INFORMATICS PRACTICES (065)
3 (D). Router
1
(1 mark for correct answer)
6 (B). df['column_name']
1
(1 mark for correct answer)
7 (D). line
1
(1 mark for correct answer)
8 True
1
(1 mark for correct answer)
9 (B). pd.read_csv('filename.csv')
1
(1 mark for correct answer)
11 (D). Rows
1
(1 mark for correct answer)
12 (A). Star 1
Page 1 of 8
(1 mark for correct answer)
13 (D). 5
1
(1 mark for correct answer)
14 (B). Phishing
1
(1 mark for correct answer)
19 (C). LAN
1
(1 mark for correct answer)
20 (A). Both Assertion (A) and Reason (R) are true, and Reason (R) is the correct
explanation of Assertion (A) 1
(1 mark for correct answer)
Page 2 of 8
(1 mark for correct example)
OR
(B) Library: A collection of modules providing functionalities for specific tasks.
Pandas: Used for data analysis
Matplotlib: Used for creating plots
(1 mark for correct definition)
(1/2 mark each for correct use of each library)
Page 3 of 8
26 Primary Key : A set of attributes that can uniquely identify each row in a table
(relation). It must contain unique values and cannot be null.
How it differs from Candidate Key
There can be multiple Candidate Keys in a table (relation), but only one of them 2
is selected as Primary Key.
(1 mark for correct definition)
(1 mark for correct difference)
Changes Made :
i. Changed Pandas to pandas.
ii. Corrected mismatched string quotation marks
iii. Corrected the closing parenthesis in the list data. 2
iv. Changed Dataframe to DataFrame.
(1/2 mark for each correct correction and underlining)
OR
Page 4 of 8
Q No Section-C (4 x 3 = 12 Marks) Marks
29 I. E-waste can release harmful substances like lead and mercury into the
environment.
(1 mark for correct answer)
II. They can donate or sell it to a certified e-waste recycling center.
3
(1 mark for correct answer)
III. Recycling e-waste helps conserve natural resources and reduces
pollution.
(1 mark for correct answer)
31 I.
CREATE TABLE STUDENTS (
3
StudentID NUMERIC PRIMARY KEY,
FirstName VARCHAR(20),
Page 5 of 8
LastName VARCHAR(10),
DateOfBirth DATE,
Percentage FLOAT(10,2)
);
(2 mark for correct creation of Table)
II.
INSERT INTO STUDENTS (StudentID, FirstName, LastName,
DateOfBirth, Percentage) VALUES (1, 'Supriya', 'Singh', '2010-08-18',
75.5);
(1 Mark for correct insert Query)
33 I. matplotlib.pyplot
II. books_read
III. ylabel 4
IV. Number of Books Read by Students
(1 mark for each correct answer)
Page 6 of 8
34 (A) I. SELECT LOWER(TITLE) FROM BOOK;
II. SELECT MAX(PRICE) FROM BOOK;
III. SELECT LENGTH(TITLE) FROM BOOK;
IV. SELECT BCODE, PRICE FROM BOOK ORDER BY PRICE DESC;
(1 mark for each correct answer)
OR
(B) I.
LENGTH(MED_NAME)
11
11
7
II.
4
MED_NAME
IBUPROFEN
III.
MED_NAME
PARACETAMOL
COUGH SYRUP
INSULIN
IV.
max(DEL_DATE)
2023-06-15
(1 mark for each correct answer)
Page 7 of 8
III. Switch/Hub
IV. WAN (Wide Area Network) will be created as the offices are located in
different cities.
V. A dynamic website is recommended as it can display the dynamic
performance data (which differs from employee to employee) of each
employee.
(1 mark for each correct answer)
36 I. print(df.head(2))
II. print(df['Title'])
III. df = df.drop(‘Rating’, axis=1)
5
IV. print(df.loc[2:4,'Title'])
V. df.rename(columns={'Title':'Name'}, inplace=True)
(1 mark for each correct answer)
Page 8 of 8