SlideShare a Scribd company logo
‭
MARKING SCHEME‬
‭
CLASS XII SESSION: 2024-25‬
‭
INFORMATICS PRACTICES (065)‬
‭
Time allowed: 3 Hours Maximum Marks:70‬
‭
Q No.‬ ‭
Section-A‬ ‭
Marks‬
‭
1‬ ‭
True‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
2‬ ‭
(B). Filter rows based on a specific condition‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
3‬ ‭
(D). Router‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
4‬ ‭
(A). DROP TABLE‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
5‬ ‭
(D). Electronic devices that are no longer in use‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
6‬ ‭
(B). df['column_name']‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
7‬ ‭
(D). line‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
8‬ ‭
True‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
9‬ ‭
(B). pd.read_csv('filename.csv')‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
10‬ ‭
(A) Using copyrighted material without giving proper acknowledgement to‬
‭
the source‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
11‬ ‭
(D). Rows‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
12‬ ‭
(A). Star‬ ‭
1‬
‭
Page‬‭
1‬‭
of‬‭
8‬
‭
(1 mark for correct answer)‬
‭
13‬ ‭
(D). 5‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
14‬ ‭
(B). Phishing‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
15‬ ‭
(B). Indices of the Series‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
16‬ ‭
(B). P-2, Q-4, R-1, S-3‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
17‬ ‭
(D). Filtering data based on condition‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
18‬ ‭
(C). Line plot‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
19‬ ‭
(C). LAN‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
20‬ ‭
(A). Both Assertion (A) and Reason (R) are true, and Reason (R) is the‬
‭
correct explanation of Assertion (A)‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
21‬ ‭
(D). Assertion (A) is False, but Reason (R) is True‬
‭
(1 mark for correct answer)‬
‭
1‬
‭
Q No.‬ ‭
Section-B (7 x 2 = 14 Marks)‬ ‭
Marks‬
‭
22‬ ‭
(A)‬ ‭
A‬‭
Series‬‭
is‬‭
a‬‭
one-dimensional‬‭
array‬‭
containing‬‭
a‬‭
sequence‬‭
of‬‭
values‬‭
of‬
‭
any‬‭
data‬‭
type‬‭
(int,‬‭
float,‬‭
list,‬‭
string,‬‭
etc)‬‭
which‬‭
by‬‭
default‬‭
have‬‭
numeric‬
‭
data labels starting from zero.‬
‭
We can imagine a Pandas Series as a column in a spreadsheet. An‬
‭
example of a series containing the names of students is given below:‬
‭
Index Value‬
‭
0 Arnab‬
‭
1 Samridhi‬
‭
2 Ramit‬
‭
3 Divyam‬
‭
(1 mark for correct definition)‬
‭
2‬
‭
Page‬‭
2‬‭
of‬‭
8‬
‭
(B‬
‭
)‬
‭
(1 mark for correct example)‬
‭
OR‬
‭
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)‬
‭
23‬ ‭
Intellectual Property Rights (IPR)‬
‭
These are legal rights that protect the creations of the human intellect. The‬
‭
nature of these works can be artistic, literary or technical etc.‬
‭
Importance in the digital world‬
‭
These‬ ‭
rights‬ ‭
help‬ ‭
prevent‬ ‭
the‬ ‭
unauthorized‬ ‭
use‬ ‭
or‬ ‭
reproduction‬ ‭
of‬ ‭
digital‬
‭
content‬‭
and‬‭
ensure‬‭
that‬‭
creators‬‭
are‬‭
fairly‬‭
compensated‬‭
and‬‭
incentivized‬‭
for‬
‭
their original work.‬
‭
(1 mark for correct definition)‬
‭
(1 mark for correct importance)‬
‭
2‬
‭
24‬ ‭
I. SELECT SUBSTRING('Database Management System', 10, 6);‬
‭
II.‬‭
SELECT INSTR('Database Management System', 'base');‬‭
(1 mark‬
‭
for each correct query)‬
‭
2‬
‭
25‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
The‬ ‭
Internet‬ ‭
is‬ ‭
a‬ ‭
vast‬ ‭
network‬ ‭
of‬ ‭
interconnected‬ ‭
computer‬ ‭
networks‬
‭
facilitating‬‭
global‬‭
communication‬‭
and‬‭
data‬‭
exchange.‬‭
The‬‭
World‬‭
Wide‬
‭
Web‬ ‭
(WWW),‬ ‭
on‬ ‭
the‬ ‭
other‬ ‭
hand,‬ ‭
is‬‭
a‬‭
system‬‭
of‬‭
interlinked‬‭
hypertext‬
‭
documents accessed via the Internet.‬
‭
(1 mark for correct definition)‬
‭
(1 mark for correct difference)‬
‭
OR‬
‭
Browser cookies: Small pieces of data stored on our digital devices by‬
‭
websites to remember information and personalize our experience.‬
‭
Advantage: Improve user experience by remembering preferences, like‬
‭
our preferred language and other settings.‬
‭
(1 mark for correct definition)‬
‭
(1 mark for correct advantage)‬
‭
2‬
‭
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 is selected as Primary Key.‬
‭
(1 mark for correct definition)‬
‭
(1 mark for correct difference)‬
‭
2‬
‭
27‬ ‭
Two health concerns due to excessive use of Digital‬
‭
Devices: a) Eye strain and vision problems.‬
‭
b) Musculoskeletal issues like neck and back pain.‬
‭
(1 mark for each correct health concern)‬
‭
2‬
‭
28‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
import‬‭
pandas‬‭
as pd‬
‭
D1 = {'Name': 'Rakshit', 'Age': 25}‬
‭
D2 = {'Name': 'Paul', 'Age': 30}‬
‭
D3 = {'Name':‬‭
'Ayesha'‬
‭
, 'Age': 28}‬
‭
data =‬‭
[D1, D2, D3]‬
‭
df = pd.‬
‭
DataFrame‬
‭
(data)‬
‭
print(df)‬
‭
Changes Made :‬
‭
i. Changed Pandas to pandas.‬
‭
ii. Corrected mismatched string quotation marks‬
‭
iii. Corrected the closing parenthesis in the list data.‬
‭
iv. Changed Dataframe to DataFrame.‬
‭
(1/2 mark for each correct correction and underlining)‬
‭
OR‬
‭
import‬‭
pandas‬‭
as pd‬
‭
data = ['Chennai',‬‭
'Lucknow'‬
‭
, 'Imphal']‬
‭
indx = ['Tamil Nadu','Uttar Pradesh','Manipur']‬
‭
s = pd.Series(‬
‭
data‬
‭
, indx)‬
‭
print(‬
‭
s‬
‭
)‬
‭
(1/2 mark for each correct fill in the blank)‬
‭
2‬
‭
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.‬
‭
(1 mark for correct answer)‬
‭
III. Recycling e-waste helps conserve natural resources and reduces‬
‭
pollution.‬
‭
(1 mark for correct answer)‬
‭
3‬
‭
30‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
import pandas as pd‬
‭
d1 = {'Product': 'Laptop', 'Price': 60000}‬
‭
d2 = {'Product': 'Desktop', 'Price': 45000}‬
‭
d3 = {'Product': 'Monitor', 'Price': 15000}‬
‭
d4 = {'Product': 'Tablet', 'Price': 30000}‬
‭
data = [d1, d2, d3, d4]‬
‭
df = pd.DataFrame(data)‬
‭
print(df)‬
‭
(1 mark for correct import statement)‬
‭
(1 mark for correct list of dictionary)‬
‭
(1 mark for correct creation of DataFrame)‬
‭
OR‬
‭
import pandas as pd‬
‭
data =‬
‭
{'Russia':'Moscow','Hungary':'Budapest','Switzerland':'Bern'} s =‬
‭
pd.Series(data)‬
‭
print(s)‬
‭
(1 mark for correct import statement)‬
‭
(1 mark for correct dictionary)‬
‭
(1 mark for correct creation of Series)‬
‭
3‬
‭
31‬ ‭
I.‬
‭
CREATE TABLE STUDENTS (‬
‭
StudentID NUMERIC PRIMARY KEY,‬
‭
FirstName VARCHAR(20),‬
‭
3‬
‭
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)‬
‭
32‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
I. SELECT DEPARTMENT, AVG(SALARY) FROM PAYROLL GROUP‬
‭
BY DEPARTMENT;‬
‭
II. SELECT DESIGNATION FROM PAYROLL ORDER BY SALARY‬
‭
DESC;‬
‭
III. SELECT EMP_NAME, DEPARTMENT FROM EMPLOYEE E,‬
‭
PAYROLL P WHERE E.EMP_ID=P.EMP_ID;‬
‭
(1 mark for each correct query)‬
‭
OR‬
‭
I. SELECT SPORT,SUM(Medals) FROM MEDALS GROUP BY‬
‭
SPORT;‬
‭
II. SELECT UPPER(Name) FROM ATHLETE WHERE COUNTRY =‬
‭
'INDIA';‬
‭
III. SELECT NAME, SPORT FROM ATHLETE A, MEDALS M‬
‭
WHERE‬
‭
A.AthleteID= M.AthleteID;‬
‭
(1 mark for each correct query)‬
‭
3‬
‭
Q No.‬ ‭
Section-D (2 x 4 = 8 Marks)‬ ‭
Marks‬
‭
33‬ ‭
I. matplotlib.pyplot‬
‭
II. books_read‬
‭
III. ylabel‬
‭
IV. Number of Books Read by Students‬
‭
(1 mark for each correct answer)‬
‭
4‬
‭
Page‬‭
6‬‭
of‬‭
8‬
‭
34‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
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‬
‭
I.‬
‭
LENGTH(MED_NAME)‬
‭
11‬
‭
11‬
‭
7‬
‭
II.‬
‭
MED_NAME‬
‭
IBUPROFEN‬
‭
III.‬
‭
MED_NAME‬
‭
PARACETAMOL‬
‭
COUGH SYRUP‬
‭
INSULIN‬
‭
IV.‬
‭
max(DEL_DATE)‬
‭
2023-06-15‬
‭
(1 mark for each correct answer)‬
‭
4‬
‭
Q No.‬ ‭
Section-E (3 x 5 = 15 Marks)‬ ‭
Marks‬
‭
35‬ ‭
I. The server should be installed in the HR department as it has the most‬
‭
number of computers.‬
‭
II. Star topology‬
‭
5‬
‭
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)‬
‭
IV. print(df.loc[2:4,'Title'])‬
‭
V. df.rename(columns={'Title':'Name'}, inplace=True)‬
‭
(1 mark for each correct answer)‬
‭
5‬
‭
37‬ ‭
(A)‬
‭
(B‬
‭
)‬
‭
I. SELECT AVG(test_results) FROM Exams;‬
‭
II. SELECT RIGHT(registration_number, 3) FROM Vehicles;‬
‭
III. SELECT TRIM(username) FROM Users;‬
‭
IV. SELECT MAX(salary) FROM Employees;‬
‭
V. SELECT COUNT(*) FROM Suppliers;‬
‭
(1 mark for each correct query)‬
‭
OR‬
‭
I. SELECT ROUND(3.14159, 2);‬
‭
II. SELECT MOD(125, 8);‬
‭
III. SELECT LENGTH('NewDelhi');‬
‭
IV. SELECT LEFT('Informatics Practices', 5);‬
‭
V. SELECT TRIM(email) FROM Students;‬
‭
(1 mark for each correct query)‬
‭
5‬
‭
Page‬‭
8‬‭
of‬‭
8‬

More Related Content

Similar to InformaticsPractices-MS - Google Docs.pdf (20)

PDF
Sample Questions for XII Computer Science (2).pdf
kvfwteachers
 
PDF
CS Sample Paper 1
kvs
 
PDF
Ee693 sept2014midsem
Gopi Saiteja
 
PDF
Gate-Cs 2006
Ravi Rajput
 
PDF
selfstudys_com_file (4).pdfjsjdcjjsjxjdnxjj
AntarikshGarg
 
PDF
Gate-Cs 1998
Ravi Rajput
 
PDF
Computer Science Sample Paper 2
kvs
 
PDF
Cs101 endsem 2014
RamKumar42580
 
PDF
CS124S5 gate exam pyq for practice for it.pdf
RitikGaba
 
PDF
gate-Cs 2000
Ravi Rajput
 
PDF
AP PGECET Computer Science 2016 question paper
Eneutron
 
PDF
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
FarhanAhmade
 
PDF
Gate Previous Years Papers It2005
Rahul Jain
 
PDF
PGCET Computer science 2017 question paper
Eneutron
 
PPTX
lecture-Basic-programing-R-1-basic-eng.pptx
ThoVyNguynVng
 
PDF
Sample Question Paper IP Class xii
kvs
 
PDF
90 Informatics Practices.pdf
vikas500500
 
PDF
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 
PDF
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 
PDF
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 
Sample Questions for XII Computer Science (2).pdf
kvfwteachers
 
CS Sample Paper 1
kvs
 
Ee693 sept2014midsem
Gopi Saiteja
 
Gate-Cs 2006
Ravi Rajput
 
selfstudys_com_file (4).pdfjsjdcjjsjxjdnxjj
AntarikshGarg
 
Gate-Cs 1998
Ravi Rajput
 
Computer Science Sample Paper 2
kvs
 
Cs101 endsem 2014
RamKumar42580
 
CS124S5 gate exam pyq for practice for it.pdf
RitikGaba
 
gate-Cs 2000
Ravi Rajput
 
AP PGECET Computer Science 2016 question paper
Eneutron
 
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
FarhanAhmade
 
Gate Previous Years Papers It2005
Rahul Jain
 
PGCET Computer science 2017 question paper
Eneutron
 
lecture-Basic-programing-R-1-basic-eng.pptx
ThoVyNguynVng
 
Sample Question Paper IP Class xii
kvs
 
90 Informatics Practices.pdf
vikas500500
 
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 
Decision Tree Algorithm Implementation Using Educational Data
ijcax
 

Recently uploaded (20)

PPTX
办理学历认证InformaticsLetter新加坡英华美学院毕业证书,Informatics成绩单
Taqyea
 
PDF
UNISE-Operation-Procedure-InDHIS2trainng
ahmedabduselam23
 
PPTX
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
PDF
NIS2 Compliance for MSPs: Roadmap, Benefits & Cybersecurity Trends (2025 Guide)
GRC Kompas
 
PPTX
apidays Singapore 2025 - The Quest for the Greenest LLM , Jean Philippe Ehre...
apidays
 
PPTX
big data eco system fundamentals of data science
arivukarasi
 
PPTX
美国史蒂文斯理工学院毕业证书{SIT学费发票SIT录取通知书}哪里购买
Taqyea
 
PPTX
b6057ea5-8e8c-4415-90c0-ed8e9666ffcd.pptx
Anees487379
 
PPTX
BinarySearchTree in datastructures in detail
kichokuttu
 
PDF
Driving Employee Engagement in a Hybrid World.pdf
Mia scott
 
PPTX
SlideEgg_501298-Agentic AI.pptx agentic ai
530BYManoj
 
PPTX
Listify-Intelligent-Voice-to-Catalog-Agent.pptx
nareshkottees
 
PPTX
Powerful Uses of Data Analytics You Should Know
subhashenia
 
PPTX
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
PDF
The Best NVIDIA GPUs for LLM Inference in 2025.pdf
Tamanna36
 
PDF
apidays Singapore 2025 - Building a Federated Future, Alex Szomora (GSMA)
apidays
 
PDF
1750162332_Snapshot-of-Indias-oil-Gas-data-May-2025.pdf
sandeep718278
 
PDF
apidays Singapore 2025 - Streaming Lakehouse with Kafka, Flink and Iceberg by...
apidays
 
PPTX
Comparative Study of ML Techniques for RealTime Credit Card Fraud Detection S...
Debolina Ghosh
 
PPTX
apidays Singapore 2025 - Generative AI Landscape Building a Modern Data Strat...
apidays
 
办理学历认证InformaticsLetter新加坡英华美学院毕业证书,Informatics成绩单
Taqyea
 
UNISE-Operation-Procedure-InDHIS2trainng
ahmedabduselam23
 
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
NIS2 Compliance for MSPs: Roadmap, Benefits & Cybersecurity Trends (2025 Guide)
GRC Kompas
 
apidays Singapore 2025 - The Quest for the Greenest LLM , Jean Philippe Ehre...
apidays
 
big data eco system fundamentals of data science
arivukarasi
 
美国史蒂文斯理工学院毕业证书{SIT学费发票SIT录取通知书}哪里购买
Taqyea
 
b6057ea5-8e8c-4415-90c0-ed8e9666ffcd.pptx
Anees487379
 
BinarySearchTree in datastructures in detail
kichokuttu
 
Driving Employee Engagement in a Hybrid World.pdf
Mia scott
 
SlideEgg_501298-Agentic AI.pptx agentic ai
530BYManoj
 
Listify-Intelligent-Voice-to-Catalog-Agent.pptx
nareshkottees
 
Powerful Uses of Data Analytics You Should Know
subhashenia
 
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
The Best NVIDIA GPUs for LLM Inference in 2025.pdf
Tamanna36
 
apidays Singapore 2025 - Building a Federated Future, Alex Szomora (GSMA)
apidays
 
1750162332_Snapshot-of-Indias-oil-Gas-data-May-2025.pdf
sandeep718278
 
apidays Singapore 2025 - Streaming Lakehouse with Kafka, Flink and Iceberg by...
apidays
 
Comparative Study of ML Techniques for RealTime Credit Card Fraud Detection S...
Debolina Ghosh
 
apidays Singapore 2025 - Generative AI Landscape Building a Modern Data Strat...
apidays
 
Ad

InformaticsPractices-MS - Google Docs.pdf

  • 1. ‭ MARKING SCHEME‬ ‭ CLASS XII SESSION: 2024-25‬ ‭ INFORMATICS PRACTICES (065)‬ ‭ Time allowed: 3 Hours Maximum Marks:70‬ ‭ Q No.‬ ‭ Section-A‬ ‭ Marks‬ ‭ 1‬ ‭ True‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 2‬ ‭ (B). Filter rows based on a specific condition‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 3‬ ‭ (D). Router‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 4‬ ‭ (A). DROP TABLE‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 5‬ ‭ (D). Electronic devices that are no longer in use‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 6‬ ‭ (B). df['column_name']‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 7‬ ‭ (D). line‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 8‬ ‭ True‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 9‬ ‭ (B). pd.read_csv('filename.csv')‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 10‬ ‭ (A) Using copyrighted material without giving proper acknowledgement to‬ ‭ the source‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 11‬ ‭ (D). Rows‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 12‬ ‭ (A). Star‬ ‭ 1‬
  • 2. ‭ Page‬‭ 1‬‭ of‬‭ 8‬ ‭ (1 mark for correct answer)‬ ‭ 13‬ ‭ (D). 5‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 14‬ ‭ (B). Phishing‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 15‬ ‭ (B). Indices of the Series‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 16‬ ‭ (B). P-2, Q-4, R-1, S-3‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 17‬ ‭ (D). Filtering data based on condition‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 18‬ ‭ (C). Line plot‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 19‬ ‭ (C). LAN‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 20‬ ‭ (A). Both Assertion (A) and Reason (R) are true, and Reason (R) is the‬ ‭ correct explanation of Assertion (A)‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ 21‬ ‭ (D). Assertion (A) is False, but Reason (R) is True‬ ‭ (1 mark for correct answer)‬ ‭ 1‬ ‭ Q No.‬ ‭ Section-B (7 x 2 = 14 Marks)‬ ‭ Marks‬
  • 3. ‭ 22‬ ‭ (A)‬ ‭ A‬‭ Series‬‭ is‬‭ a‬‭ one-dimensional‬‭ array‬‭ containing‬‭ a‬‭ sequence‬‭ of‬‭ values‬‭ of‬ ‭ any‬‭ data‬‭ type‬‭ (int,‬‭ float,‬‭ list,‬‭ string,‬‭ etc)‬‭ which‬‭ by‬‭ default‬‭ have‬‭ numeric‬ ‭ data labels starting from zero.‬ ‭ We can imagine a Pandas Series as a column in a spreadsheet. An‬ ‭ example of a series containing the names of students is given below:‬ ‭ Index Value‬ ‭ 0 Arnab‬ ‭ 1 Samridhi‬ ‭ 2 Ramit‬ ‭ 3 Divyam‬ ‭ (1 mark for correct definition)‬ ‭ 2‬ ‭ Page‬‭ 2‬‭ of‬‭ 8‬ ‭ (B‬ ‭ )‬ ‭ (1 mark for correct example)‬ ‭ OR‬ ‭ 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)‬ ‭ 23‬ ‭ Intellectual Property Rights (IPR)‬ ‭ These are legal rights that protect the creations of the human intellect. The‬ ‭ nature of these works can be artistic, literary or technical etc.‬ ‭ Importance in the digital world‬ ‭ These‬ ‭ rights‬ ‭ help‬ ‭ prevent‬ ‭ the‬ ‭ unauthorized‬ ‭ use‬ ‭ or‬ ‭ reproduction‬ ‭ of‬ ‭ digital‬ ‭ content‬‭ and‬‭ ensure‬‭ that‬‭ creators‬‭ are‬‭ fairly‬‭ compensated‬‭ and‬‭ incentivized‬‭ for‬ ‭ their original work.‬ ‭ (1 mark for correct definition)‬ ‭ (1 mark for correct importance)‬ ‭ 2‬ ‭ 24‬ ‭ I. SELECT SUBSTRING('Database Management System', 10, 6);‬ ‭ II.‬‭ SELECT INSTR('Database Management System', 'base');‬‭ (1 mark‬ ‭ for each correct query)‬ ‭ 2‬
  • 4. ‭ 25‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ The‬ ‭ Internet‬ ‭ is‬ ‭ a‬ ‭ vast‬ ‭ network‬ ‭ of‬ ‭ interconnected‬ ‭ computer‬ ‭ networks‬ ‭ facilitating‬‭ global‬‭ communication‬‭ and‬‭ data‬‭ exchange.‬‭ The‬‭ World‬‭ Wide‬ ‭ Web‬ ‭ (WWW),‬ ‭ on‬ ‭ the‬ ‭ other‬ ‭ hand,‬ ‭ is‬‭ a‬‭ system‬‭ of‬‭ interlinked‬‭ hypertext‬ ‭ documents accessed via the Internet.‬ ‭ (1 mark for correct definition)‬ ‭ (1 mark for correct difference)‬ ‭ OR‬ ‭ Browser cookies: Small pieces of data stored on our digital devices by‬ ‭ websites to remember information and personalize our experience.‬ ‭ Advantage: Improve user experience by remembering preferences, like‬ ‭ our preferred language and other settings.‬ ‭ (1 mark for correct definition)‬ ‭ (1 mark for correct advantage)‬ ‭ 2‬ ‭ 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 is selected as Primary Key.‬ ‭ (1 mark for correct definition)‬ ‭ (1 mark for correct difference)‬ ‭ 2‬ ‭ 27‬ ‭ Two health concerns due to excessive use of Digital‬ ‭ Devices: a) Eye strain and vision problems.‬ ‭ b) Musculoskeletal issues like neck and back pain.‬ ‭ (1 mark for each correct health concern)‬ ‭ 2‬
  • 5. ‭ 28‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ import‬‭ pandas‬‭ as pd‬ ‭ D1 = {'Name': 'Rakshit', 'Age': 25}‬ ‭ D2 = {'Name': 'Paul', 'Age': 30}‬ ‭ D3 = {'Name':‬‭ 'Ayesha'‬ ‭ , 'Age': 28}‬ ‭ data =‬‭ [D1, D2, D3]‬ ‭ df = pd.‬ ‭ DataFrame‬ ‭ (data)‬ ‭ print(df)‬ ‭ Changes Made :‬ ‭ i. Changed Pandas to pandas.‬ ‭ ii. Corrected mismatched string quotation marks‬ ‭ iii. Corrected the closing parenthesis in the list data.‬ ‭ iv. Changed Dataframe to DataFrame.‬ ‭ (1/2 mark for each correct correction and underlining)‬ ‭ OR‬ ‭ import‬‭ pandas‬‭ as pd‬ ‭ data = ['Chennai',‬‭ 'Lucknow'‬ ‭ , 'Imphal']‬ ‭ indx = ['Tamil Nadu','Uttar Pradesh','Manipur']‬ ‭ s = pd.Series(‬ ‭ data‬ ‭ , indx)‬ ‭ print(‬ ‭ s‬ ‭ )‬ ‭ (1/2 mark for each correct fill in the blank)‬ ‭ 2‬ ‭ Page‬‭ 4‬‭ of‬‭ 8‬ ‭ Q No‬ ‭ Section-C (4 x 3 = 12 Marks)‬ ‭ Marks‬
  • 6. ‭ 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.‬ ‭ (1 mark for correct answer)‬ ‭ III. Recycling e-waste helps conserve natural resources and reduces‬ ‭ pollution.‬ ‭ (1 mark for correct answer)‬ ‭ 3‬ ‭ 30‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ import pandas as pd‬ ‭ d1 = {'Product': 'Laptop', 'Price': 60000}‬ ‭ d2 = {'Product': 'Desktop', 'Price': 45000}‬ ‭ d3 = {'Product': 'Monitor', 'Price': 15000}‬ ‭ d4 = {'Product': 'Tablet', 'Price': 30000}‬ ‭ data = [d1, d2, d3, d4]‬ ‭ df = pd.DataFrame(data)‬ ‭ print(df)‬ ‭ (1 mark for correct import statement)‬ ‭ (1 mark for correct list of dictionary)‬ ‭ (1 mark for correct creation of DataFrame)‬ ‭ OR‬ ‭ import pandas as pd‬ ‭ data =‬ ‭ {'Russia':'Moscow','Hungary':'Budapest','Switzerland':'Bern'} s =‬ ‭ pd.Series(data)‬ ‭ print(s)‬ ‭ (1 mark for correct import statement)‬ ‭ (1 mark for correct dictionary)‬ ‭ (1 mark for correct creation of Series)‬ ‭ 3‬ ‭ 31‬ ‭ I.‬ ‭ CREATE TABLE STUDENTS (‬ ‭ StudentID NUMERIC PRIMARY KEY,‬ ‭ FirstName VARCHAR(20),‬ ‭ 3‬ ‭ Page‬‭ 5‬‭ of‬‭ 8‬
  • 7. ‭ 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)‬ ‭ 32‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ I. SELECT DEPARTMENT, AVG(SALARY) FROM PAYROLL GROUP‬ ‭ BY DEPARTMENT;‬ ‭ II. SELECT DESIGNATION FROM PAYROLL ORDER BY SALARY‬ ‭ DESC;‬ ‭ III. SELECT EMP_NAME, DEPARTMENT FROM EMPLOYEE E,‬ ‭ PAYROLL P WHERE E.EMP_ID=P.EMP_ID;‬ ‭ (1 mark for each correct query)‬ ‭ OR‬ ‭ I. SELECT SPORT,SUM(Medals) FROM MEDALS GROUP BY‬ ‭ SPORT;‬ ‭ II. SELECT UPPER(Name) FROM ATHLETE WHERE COUNTRY =‬ ‭ 'INDIA';‬ ‭ III. SELECT NAME, SPORT FROM ATHLETE A, MEDALS M‬ ‭ WHERE‬ ‭ A.AthleteID= M.AthleteID;‬ ‭ (1 mark for each correct query)‬ ‭ 3‬ ‭ Q No.‬ ‭ Section-D (2 x 4 = 8 Marks)‬ ‭ Marks‬ ‭ 33‬ ‭ I. matplotlib.pyplot‬ ‭ II. books_read‬ ‭ III. ylabel‬ ‭ IV. Number of Books Read by Students‬ ‭ (1 mark for each correct answer)‬ ‭ 4‬
  • 8. ‭ Page‬‭ 6‬‭ of‬‭ 8‬ ‭ 34‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ 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‬ ‭ I.‬ ‭ LENGTH(MED_NAME)‬ ‭ 11‬ ‭ 11‬ ‭ 7‬ ‭ II.‬ ‭ MED_NAME‬ ‭ IBUPROFEN‬ ‭ III.‬ ‭ MED_NAME‬ ‭ PARACETAMOL‬ ‭ COUGH SYRUP‬ ‭ INSULIN‬ ‭ IV.‬ ‭ max(DEL_DATE)‬ ‭ 2023-06-15‬ ‭ (1 mark for each correct answer)‬ ‭ 4‬ ‭ Q No.‬ ‭ Section-E (3 x 5 = 15 Marks)‬ ‭ Marks‬ ‭ 35‬ ‭ I. The server should be installed in the HR department as it has the most‬ ‭ number of computers.‬ ‭ II. Star topology‬ ‭ 5‬
  • 9. ‭ 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)‬ ‭ IV. print(df.loc[2:4,'Title'])‬ ‭ V. df.rename(columns={'Title':'Name'}, inplace=True)‬ ‭ (1 mark for each correct answer)‬ ‭ 5‬ ‭ 37‬ ‭ (A)‬ ‭ (B‬ ‭ )‬ ‭ I. SELECT AVG(test_results) FROM Exams;‬ ‭ II. SELECT RIGHT(registration_number, 3) FROM Vehicles;‬ ‭ III. SELECT TRIM(username) FROM Users;‬ ‭ IV. SELECT MAX(salary) FROM Employees;‬ ‭ V. SELECT COUNT(*) FROM Suppliers;‬ ‭ (1 mark for each correct query)‬ ‭ OR‬ ‭ I. SELECT ROUND(3.14159, 2);‬ ‭ II. SELECT MOD(125, 8);‬ ‭ III. SELECT LENGTH('NewDelhi');‬ ‭ IV. SELECT LEFT('Informatics Practices', 5);‬ ‭ V. SELECT TRIM(email) FROM Students;‬ ‭ (1 mark for each correct query)‬ ‭ 5‬