0% found this document useful (0 votes)
22 views109 pages

IP Pyq's

This document is a sample question paper for Class XII Informatics Practices for the academic session 2024-25, comprising 37 questions divided into five sections with varying marks. It includes multiple-choice questions, programming tasks, and SQL queries, focusing on topics such as Python, data handling, and database management. The paper is designed to assess students' understanding and application of informatics concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views109 pages

IP Pyq's

This document is a sample question paper for Class XII Informatics Practices for the academic session 2024-25, comprising 37 questions divided into five sections with varying marks. It includes multiple-choice questions, programming tasks, and SQL queries, focusing on topics such as Python, data handling, and database management. The paper is designed to assess students' understanding and application of informatics concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 109

SAMPLE QUESTION PAPER (THEORY)

CLASS XII SESSION: 2024-25


INFORMATICS PRACTICES (065)

Time allowed: 3 Hours Maximum Marks:70

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.

Q No. Section-A (21 x 1 = 21 Marks) Marks


1 State whether the following statement is True or False:
1
Slicing can be used to extract a specific portion from a Pandas Series.

2 The purpose of WHERE clause in a SQL statement is to:


(A) Create a table
(B) Filter rows based on a specific condition 1
(C) Specify the columns to be displayed
(D) Sort the result based on a column

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

5 e-waste refers to:


(A) Software that has become obsolete
(B) Data that has been deleted from a storage device 1
(C) Viruses that infect computers
(D) Electronic devices that are no longer in use

6 Which of the following Python statements can be used to select a column


column_name from a DataFrame df ?
(A) df.getcolumn('column_name')
1
(B) df['column_name']
(C) df.select('column_name')
(D) df(column_name)

7 By default, the plot() function of Matplotlib draws a ______ plot.


(A) histogram
(B) column 1
(C) bar
(D) line

8 State whether the following statement is True or False:


In SQL, the HAVING clause is used to apply filter on groups formed by the GROUP 1
BY clause.

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.

11 Fill in the Blank


The COUNT(*) function provides the total number of __________ within a
relation (table) in a relational database.
(A) Columns 1
(B) Unique values
(C) Not-null values
(D) Rows

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

13 In a Pandas DataFrame, if the tail() function is used without specifying the


optional argument indicating the number of rows to display, what is the default
number of rows displayed, considering the DataFrame has 10 entries?
(A) 0 1
(B) 1
(C) 4
(D) 5

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

16 Match the following SQL functions/clauses with their descriptions:

SQL Function Description


P. MAX() 1. Find the position of a substring in a string.
Q. SUBSTRING() 2. Returns the maximum value in a column.
R. INSTR() 3. Sorts the data based on a column.
S. ORDER BY 4. Extracts a portion of a string. 1

(A) P-2, Q-4, R-3, S-1


(B) P-2, Q-4, R-1, S-3
(C) P-4, Q-3, R-2, S-1
(D) P-4, Q-2, R-1, S-3

17 Fill in the Blank


Boolean indexing in Pandas DataFrame can be used for _______.
(A) Creating a new DataFrame
1
(B) Sorting data based on index labels
(C) Joining data using labels
(D) Filtering data based on condition

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

20 Assertion (A): We can add a new column in an existing DataFrame.


1
Reason (R): DataFrames are size mutable.

21 Assertion (A): In SQL, INSERT INTO is a Data Definition Language (DDL)


Command.
1
Reason (R): DDL commands are used to create, modify, or remove database
structures, such as tables.

Q No. Section-B (7 x 2 = 14 Marks) Marks

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?

24 Consider the string: "Database Management System". Write suitable SQL


queries for the following:
2
I. To extract and display "Manage" from the string.
II. Display the position of the first occurrence of "base" in the given string.

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

28 (A) Sneha is writing a Python program to create a DataFrame using a list of


dictionaries. However, her code contains some mistakes. Identify the errors,
rewrite the correct code, and underline the corrections made.
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)
OR
(B) Complete the given Python code to get the required output (ignore the dtype
2
attribute) as
Output:
Tamil Nadu Chennai
Uttar Pradesh Lucknow
Manipur Imphal

Code:
import _______ as pd
data = ['Chennai','_______','Imphal']
indx = ['Tamil Nadu','Uttar Pradesh','Manipur']
s = pd.Series(_______, indx)
print(_______)

Q No Section-C (4 x 3 = 12 Marks) Marks

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:

Column Name Data Type Key


StudentID Numeric Primary Key
FirstName Varchar(20) 2+1=3
LastName Varchar(10)
DateOfBirth Date
Percentage Float(10,2)
II. Write SQL Query to insert the following data in the Students Table
1, Supriya, Singh, 2010-08-18, 75.5

32 (A) Consider the following tables:


Table 1:
EMPLOYEE which stores Employee ID (EMP_ID), Employee Name
(EMP_NAME), Employee City (EMP_CITY)
Table 2:
PAYROLL which stores Employee ID (EMP_ID), Department 3
(DEPARTMENT), Designation (DESIGNATION), and Salary (SALARY) for
various employees.
Note: Attribute names are written within brackets.
Table: EMPLOYEE
EMP_I EMP_CITY
EMP_NAME
D
Page 7 of 14
1 ABHINAV AGRA
2 KABIR FARIDABAD
3 ESHA NOIDA
4 PAUL SEOUL
5 VICTORIA LONDON
Table: PAYROLL

EMP_ID DEPARTMENT DESIGNATION SALARY


1 SALES MANAGER 75000
2 SALES ASSOCIATE 50000
3 ENGINEERING MANAGER 95000
4 ENGINEERING ENGINEER 70000
5 MARKETING MANAGER 65000
Write appropriate SQL queries for the following:
I. Display department-wise average Salary.
II. List all designations in the decreasing order of Salary.
III. Display employee name along with their corresponding
departments.
OR
Consider the following tables:
(B)
Table 1:
ATHLETE, which stores AthleteID, Name, Country. The table displays
basic information of the athletes
Table 2:
MEDALS, which stores AthleteID, Sport, and Medals. The table displays
the number of medals won by each athlete in their respective sports.
Table: ATHLETE
AthleteID Name COUNTRY
101 Arjun INDIA
102 Priya INDIA
103 Asif UAE
104 Rozy USA
105 David DENMARK
Table: MEDALS
AthleteID Sport Medals
101 Swimming 8
102 Track 3
103 Gymnastics 5
104 Swimming 2
105 Track 6
Write appropriate SQL queries for the following:

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

Q No. Section-D (2 x 4 = 8 Marks) Marks

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

Help Ankita to complete the code.

import _____ as plt #Statement-1


students = ['Karan', 'Lina', 'Raj', 'Simran']
books_read = [12, 9, 5, 3]
plt.bar( students, _____, label='Books Read') #Statement-2
plt.xlabel('Student Name')
plt._____('Books Read') #Statement-3
plt.legend()
plt.title('_____') #Statement-4
plt.show()

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:

BCODE: Shows the unique code for each book.


TITLE: Indicates the book’s title.
AUTHOR: Specifies the author’s name.
PRICE: Lists the cost of the book.
Table: BOOK

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

I. Write SQL query to display book titles in lowercase.


II. Write SQL query to display the highest price among the books.
III. Write SQL query to display the number of characters in each
book title.
IV. Write SQL query to display the Book Code and Price sorted by
Price in descending order.
OR
(B) Dr. Kavita has created a database for a hospital's pharmacy. The database
includes a table named MEDICINE whose column (attribute) names are
mentioned below:
MID: Shows the unique code for each medicine.

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

Write the output of the following SQL Queries.


I. Select LENGTH(MED_NAME) from MEDICINE where STOCK >
100;
II. Select MED_NAME from MEDICINE where month(DEL_DATE)
= 4;
III. Select MED_NAME from MEDICINE where STOCK between 120
and 200;
IV. Select max(DEL_DATE) from MEDICINE;

Q No. Section-E (3 x 5 = 15 Marks) Marks

35 ABC Pvt. Ltd., a multinational technology company, is looking to establish its


Indian Head Office in Bengaluru, and a regional office branch in Lucknow. The
Bengaluru head office will be organized into four departments: HR, FINANCE,
5
TECHNICAL, AND SUPPORT. As a network engineer, you have to propose
solutions for various queries listed from I to V.

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

The number of computers in each department/office is as follows:


HR 175
FINANCE 35
TECHNICAL 50
SUPPORT 15
LUCKNOW OFFICE 40

I. Suggest the most suitable department in the Bengaluru Office Setup,


to install the server. Also, give a reason to justify your suggested
location.
II. Draw a suitable cable layout of wired network connectivity between the
departments in the Bengaluru Office.
III. Which networking device would you suggest the company to purchase
to interconnect all the computers within a department in Bengaluru
Office?
IV. The company is considering establishing a network connection
between its Bengaluru Head Office and Lucknow regional office. Which

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?

36 Consider the DataFrame df shown below.


MovieID Title Year Rating
0 1 LAGAAN 2001 8.4
1 2 TAARE ZAMEEN PAR 2007 8.5
2 3 3 IDIOTS 2009 8.4
3 4 DANGAL 2016 8.4
4 5 ANDHADHUN 2018 8.3

Write Python statements for the DataFrame df to: 5

I. Print the first two rows of the DataFrame df.


II. Display titles of all the movies.
III. Remove the column rating.
IV. Display the data of the 'Title' column from indexes 2 to 4 (both
included)
V. Rename the column name 'Title' to 'Name'.

37 (A) Write suitable SQL query for the following:


I. To display the average score from the test_results column
(attribute) in the Exams table
II. To display the last three characters of the
registration_number column (attribute) in the Vehicles
table. (Note: The registration numbers are stored in the format
DL-01-AV-1234)
III. To display the data from the column (attribute) username in the 5
Users table, after eliminating any leading and trailing spaces.
IV. To display the maximum value in the salary column (attribute)
of the Employees table.
V. To determine the count of rows in the Suppliers table.
(B)
OR
Write suitable SQL query for the following:
I. Round the value of pi (3.14159) to two decimal places.

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)

Time allowed: 3 Hours Maximum Marks:70

Q No. Section-A Marks


1 True
1
(1 mark for correct answer)

2 (B). Filter rows based on a specific condition


1
(1 mark for correct answer)

3 (D). Router
1
(1 mark for correct answer)

4 (A). DROP TABLE


1
(1 mark for correct answer)

5 (D). Electronic devices that are no longer in use


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)

10 (A) Using copyrighted material without giving proper acknowledgement to


the source 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)

15 (B). Indices of the Series


1
(1 mark for correct answer)

16 (B). P-2, Q-4, R-1, S-3


1
(1 mark for correct answer)

17 (D). Filtering data based on condition


1
(1 mark for correct answer)

18 (C). Line plot


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)

21 (D). Assertion (A) is False, but Reason (R) is True


1
(1 mark for correct answer)

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: 2
Index Value
0 Arnab
1 Samridhi
2 Ramit
3 Divyam
(1 mark for correct definition)

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)

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 2
and ensure that creators are fairly compensated and incentivized for their original
work.
(1 mark for correct definition)
(1 mark for correct importance)

24 I. SELECT SUBSTRING('Database Management System', 10, 6);


II. SELECT INSTR('Database Management System', 'base'); 2
(1 mark for each correct query)

25 (A) 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 2
(B) 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)

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)

27 Two health concerns due to excessive use of Digital Devices:


a) Eye strain and vision problems.
2
b) Musculoskeletal issues like neck and back pain.
(1 mark for each correct health concern)

28 (A) 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. 2
iv. Changed Dataframe to DataFrame.
(1/2 mark for each correct correction and underlining)

OR

(B) 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)

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)

30 (A) 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) 3
(1 mark for correct creation of DataFrame)
OR
(B) 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)

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)

32 (A) 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
3
(B) 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)

Q No. Section-D (2 x 4 = 8 Marks) Marks

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)

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. 5
II. Star topology

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)

37 (A) 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 5
(B) 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)

Page 8 of 8
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Marking Scheme
Strictly Confidential
(For Internal and Restricted use only)
Senior School Certificate Examination, 2023
SUBJECT NAME INFORMATICS PRACTICES (SUBJECT CODE 65) (PAPER CODE 90) (Series: ⅀HEFG)

General Instructions: -
1 You are aware that evaluation is the most important process in the actual and correct
assessment of the candidates. A small mistake in evaluation may lead to serious problems which
may affect the future of the candidates, education system and teaching profession. To avoid
mistakes, it is requested that before starting evaluation, you must read and understand the spot
evaluation guidelines carefully.
2 “Evaluation policy is a confidential policy as it is related to the confidentiality of the
examinations conducted, Evaluation done and several other aspects. Its’ leakage to the
public in any manner could lead to derailment of the examination system and affect the life
and future of millions of candidates. Sharing this policy/document to anyone, publishing in
any magazine and printing in News Paper/Website etc may invite action under various rules
of the Board and IPC.”
3 Evaluation is to be done as per instructions provided in the Marking Scheme. It should not be
done according to one’s own interpretation or any other consideration. Marking Scheme should
be strictly adhered to and religiously followed. However, while evaluating answers which are
based on latest information or knowledge and/or are innovative, they may be assessed for
their correctness otherwise and due marks be awarded to them. In class-XII, while
evaluating two competency-based questions, please try to understand the given answer and
even if the reply is not from the marking scheme but correct competency is enumerated by
the candidate, due marks should be awarded.
4 The Marking scheme carries only suggested value points for the answers
These are in the nature of Guidelines only and do not constitute the complete answer. The
students can have their own expression and if the expression is correct, the due marks should be
awarded accordingly.
5 The Head-Examiner must go through the first five answer books evaluated by each evaluator on
the first day, to ensure that evaluation has been carried out as per the instructions given in the
Marking Scheme. If there is any variation, the same should be zero after deliberation and
discussion. The remaining answer books meant for evaluation shall be given only after ensuring
that there is no significant variation in the marking of individual evaluators.
6 Evaluators will mark( ✓ ) wherever the answer is correct. For wrong answer CROSS ‘X” be
marked. Evaluators will not put right (✓)while evaluating which gives an impression that the
answer is correct and no marks are awarded. This is the most common mistake which
evaluators are committing.
7 If a question has parts, please award marks on the right-hand side for each part. Marks awarded
for different parts of the question should then be totaled up and written in the left-hand margin
and encircled. This may be followed strictly.
8 If a question does not have any parts, marks must be awarded in the left-hand margin and
encircled. This may also be followed strictly.
9 If a student has attempted an extra question, the answer of the question deserving more marks
should be retained and the other answer scored out with a note “Extra Question”.
10 No marks to be deducted for the cumulative effect of an error. It should be penalized only once.
11 A full scale of marks 0 to 70 has to be used. Please do not hesitate to award full marks if the
answer deserves it.

- 1 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

12 Every examiner has to necessarily do evaluation work for full working hours i.e., 8 hours every
day and evaluate 20 answer books per day in main subjects and 25 answer books per day in
other subjects (Details are given in Spot Guidelines).
13 Ensure that you do not make the following common types of errors committed by the Examiner
in the past:-
● Leaving the answer or part thereof unassessed in an answer book.
● Giving more marks for an answer than assigned to it.
● Wrong totaling of marks awarded on an answer.
● Wrong transfer of marks from the inside pages of the answer book to the title page.
● Wrong question wise totaling on the title page.
● Wrong totaling of marks of the two columns on the title page.
● Wrong grand total.
● Marks in words and figures not tallying/not same.
● Wrong transfer of marks from the answer book to online award list.
● Answers marked as correct, but marks not awarded. (Ensure that the right tick mark is
correctly and clearly indicated. It should merely be a line. Same is with the X for incorrect
answers.)
● Half or a part of the answer marked correct and the rest as wrong, but no marks awarded.
14 While evaluating the answer books, if the answer is found to be totally incorrect, it should be
marked as cross (X) and awarded zero (0)Marks.
15 Any un-assessed portion, non-carrying over of marks to the title page, or totaling error detected
by the candidate shall damage the prestige of all the personnel engaged in the evaluation work
as also of the Board. Hence, in order to uphold the prestige of all concerned, it is again
reiterated that the instructions be followed meticulously and judiciously.
16 The Examiners should acquaint themselves with the guidelines given in the “Guidelines for spot
Evaluation” before starting the actual evaluation.
17 Every Examiner shall also ensure that all the answers are evaluated, marks carried over to the
title page, correctly totaled and written in figures and words.
18 The candidates are entitled to obtain a photocopy of the Answer Book on request on payment of
the prescribed processing fee. All Examiners/Additional Head Examiners/Head Examiners are
once again reminded that they must ensure that evaluation is carried out strictly as per value
points for each answer as given in the Marking Scheme.

SPECIFIC INSTRUCTIONS FOR INFORMATICS PRACTICES ONLY

1 In Python, string content is accepted within a pair of single quotes ' ' or within a pair of
double quotes " ".

2 In MySQL, CHAR/VARCHAR/DATE type content is accepted within a pair of single quotes ' ' or
within a pair of double quotes " ".

3 In MySQL commands, lowercase/UPPERCASE both are correct.

4 In MySQL output questions, column headings to be ignored.

5 In MySQL output questions, alignment (left/right) of content to be ignored.

6 All answers/codes are suggestive, any other alternative correct answers to be accepted.

- 2 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

General Instructions:
(i) This question paper contains five Parts, Part A to E.
(ii) All questions are compulsory.
(iii) Part A has 18 questions carrying 1 mark each.
(iv) Part B has 7 Very Short Answer type questions carrying 2 marks each.
(v) Part C has 5 Short Answer type questions carrying 3 marks each.
(vi) Part D has 3 Long Answer type questions carrying 5 marks each.
(vii) Part E has 2 questions carrying 4 marks each. One internal choice is given in Q. 35 against
Part E only.
(viii) All programming questions are to be answered using python language only.

Part - A
1 Which of the following topologies is very efficient and all nodes are connected to a 1
central hub?
(i) Star (ii) Tree
(iii) Bus (iv) Ring

Ans (i) Star


(1 Mark for correct answer)
2 Ramandeep is a young woman with great aspirations and has a good team of 1
like-minded people. She along with her team members started a company to sell
handicrafts online and also designed a logo for their company. What type of
intellectual property does this logo represent?
(i) Patents (ii) Copyright
(iii) Design (iv) Trademark

Ans (ii) Copyright


OR
(iv) Trademark
(1 Mark for correct answer)

3 Which of the following is a type of cybercrime where objectionable and demeaning 1


comments are posted on social media platform about a person, such that he/she is
mentally harassed ?
(i) Phishing (ii) Hacking
(iii) Cyber bullying (iv) Identity Theft

Ans (iii) Cyber bullying


(1 Mark for correct answer)
4 Which of the following is the correct output of the following SQL command? 1
SELECT ROUND (7876.4568, 2) ;
(i) 7876.46 (ii) 7876.45
(iii) 7900 (iv) 7900.4568

Ans (i) 7876.46

(1 Mark for correct answer)

- 3 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

5 Aggregate functions are also known as: 1


(i) Scalar Functions (ii) Single Row Functions
(iii) Multiple Row Functions (iv) Hybrid Functions

Ans (iii) Multiple Row Functions


(1 Mark for correct answer)
6 Primary law in India for matters related to e-commerce and cyber crime is : 1
(i) IT Act 1995 (ii) IT Act 2000
(iii) IT Act 1998 (iv) IT Act 2010

Ans (ii) IT Act 2000

(1 Mark for correct answer)

7. Ravisha has stored the records of all students of her class in a MYSQL table. Suggest a 1
suitable SQL clause that she should use to display the names of students in
alphabetical order.
(i) SORT BY (ii) ALIGN BY
(iii) GROUP BY (iv) ORDER BY

Ans (iv) ORDER BY


(1 Mark for correct answer)
8 To remove the leading and trailing space from data values in a column of 1
MySql Table, we use
(i) Left( ) (ii) Right( )
(iii) Trim( ) (iv) Ltrim( )

Ans (iii) Trim ( )


(1 Mark for correct answer)
9 If the substring is not present in a string, the INSTR() returns: 1

(i) – 1 (ii) 1
(iii) NULL (iv) 0

Ans (iv) 0
(1 Mark for correct answer)
10 What will be the output of the following code ? 1
import pandas as pd
myser = pd.Series([0, 0,0])
print(myser)

(i) 0 0 (ii) 0 1
0 0 0 1
0 0 0 2
(iii) 0 0 (iv) 0 0
1 0 1 1
2 0 2 2

- 4 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Ans (iii) 0 0
1 0
2 0

(1 Mark for correct answer)


11 Which of the following is a two-dimensional labelled data structure of Python ? 1
(i) Relation (ii) Dataframe
(iii) Series (iv) Square

Ans (ii) Dataframe


(1 Mark for correct answer)
12 To compare data values of commission earned by salesmen over a year, which of the 1
following type of graph should preferably be used ?

(i) line (ii) area


(iii) bar (iv) scatter

Ans (i) line


OR
(iii) bar
OR
(iv) scatter
(1 Mark for correct answer)
13 Which of the following is not a web browser ? 1

(i) Opera (ii) Google Chrome


(iii) Linux (iv) Mozilla Firefox

Ans (iii) Linux


(1 Mark for correct answer)
14 Which of the following is not a valid aggregate function in MYSQL ? 1

(i) COUNT( ) (ii) SUM( )


(iii) MAX( ) (iv) LEN( )

Ans (iv) LEN ( )


(1 Mark for correct answer)
15 The digital footprint that we leave online unintentionally is called 1

(i) Active digital footprint (ii) Passive digital footprint


(iii) True digital footprint (iv) False digital footprint

Ans (ii) Passive digital footprint


(1 Mark for correct answer)

- 5 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

16 E-waste is responsible for the degradation of our environment if not properly treated 1
or disposed of. Some of the feasible methods of e-waste management are
reduce,___and recycle.

(i) reuse (ii) recheck


(iii) resubmit (iv) regular

Ans (i) reuse


(1 Mark for correct answer)
Q. 17 and 18 are ASSERTION (A) and REASONING (R) 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 and (R) is false.
(iv) (A) is false but (R) is true.
17 Assertion (A) : A static webpage does not change for each person visiting the web 1
page.
Reason (R) : When a web server receives a request for a dynamic web page, it locates
and updates the page and sends it to the browser of the client.
Ans (ii) Both (A) and (R) are true but (R) is not the correct explanation for (A).
(1 Mark for correct answer)
18 Assertion (A) : The output of addition of two series will be NaN, if one of the elements
or both the elements have no value(s).
Reason (R) : While performing mathematical operations on a series, by default all
missing values are filled in with 0.
Ans (iii) (A) is true but (R) is false.
(1 Mark for correct answer)
PART - B
19 What is a web server ? How is it different from web browser ? 2
Ans A web server is used to store and deliver the contents to clients that request it.
Web Browser Web Server

A web browser sends requests to the Web server receives requests from
server for content. the web browser and sends the
requested content in response.

OR
Any other equivalent correct difference
(1 Mark for writing correct definition of web server)
(1 Mark for writing correct difference)
NOTE : Full 2 marks to be awarded if definition of web server is not written
separately BUT is reflected in the difference.

OR 2
What do you understand by the term cookies ? Give any two benefits of cookies.

- 6 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Ans A cookie is a small piece of data that is transferred to the user’s computer
along with the content requested by the user.
Benefits (Any two)
A. To analyze how the user is using the website
B. To enhance the website’s usability.
C. To help the website recognize the user’s computer activity (website’s
login ids, shopping carts, surfing activity)
D. To customize the website’s experience for a user
(1 Mark for writing correct definition of cookie)
(½ Mark for each correct benefit)

NOTE: Full 2 marks to be awarded if definition and benefits are explained with
the help of an example.

20 Keshav has written the following query to find out the sum of bonus earned by the 2
employees of WEST zone :
SELECT zone, TOTAL (bonus) FROM employee HAVING zone = 'WEST';

But he got an error. Identify the errors and rewrite the query by underlining the
correction(s) done.
Ans SELECT zone, SUM(bonus) FROM employee WHERE Zone = 'WEST';

OR

SELECT SUM(bonus) FROM employee WHERE Zone = 'WEST';

OR

SELECT zone, SUM(bonus) FROM employee


GROUP BY zone HAVING Zone = 'WEST' ;
(1 Mark each for both the corrections)

Note: No marks to be deducted if correct query is written but underlining is not


done
21 Differentiate between COUNT( ) and COUNT(*) functions in MYSQL. Give suitable 2
examples to support your answer.
Ans
COUNT(Column_Name) COUNT(*)

It returns the number of non-null values It returns the number of rows in the
in the column used in COUNT() table

Example:
SALES
SCode SName Commission
S001 Amit 2500
S002 Jones
S003 Ahmed 2600

- 7 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

SELECT COUNT(Commission) FROM Sales;


will return 2

SELECT COUNT(*) FROM Sales;


will return 3
(1 Mark for stating correct difference)
(1 Mark for writing any one example explaining the difference)

NOTE:
● Full 2 marks to be awarded if the difference is explained with the help of an
example.
● 1 mark to be awarded if COUNT() is mentioned as an error.
22 Write a Python program to create a series object, country using a list that stores the 2
capital of each country.
Note: Assume four countries to be used as index of the series object are India, UK,
Denmark, and Thailand having their capitals as New Delhi, London, Copenhagen, and
Bangkok respectively.
Ans capital = ['New Delhi', 'London','Copenhagen', 'Bangkok']
country = pd.Series(capital, index = ['India', 'UK', 'Denmark',
'Thailand'])
OR
import pandas as pd
capital = ['New Delhi', 'London','Copenhagen', 'Bangkok']
c = ['India', 'UK', 'Denmark', 'Thailand']
country = pd.Series(capital, index = c)

(½ Mark for defining list of capitals)


(½ Mark for pd.Series)
(1 Mark for assigning the index values)

NOTE:
import pandas as pd and print(country)
to be ignored as part of answer
23 Explain plagiarism with an example. 2
Ans Plagiarism refers to using someone else’s work/ideas without giving them credit.
Example : A student copies a poem written by his friend and submits it as his own for
the School magazine.
(1 Mark for definition)
(1 Mark for any valid example)
OR
(Full 2 Marks for explanation through any valid example)
OR
Nowadays all of us frequently use social media to connect with our friends. Give any
two netiquettes that we should follow while communicating on social media.
Ans We should
● not post embarrassing or incriminating contents(photos/videos) on social-media
sites.
● not bully anyone online.
● not post either our’s or someone else’s private information online.
● verify the source as credible before forwarding or posting something.

- 8 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

● Use proper language and avoid casual abbreviations (lol, ttyl, brb) that could be
misunderstood or misinterpreted.
(1 Mark each for ANY two valid netiquettes)

24 What will be the output of the following code: 2

import pandas as pd
s1=pd.Series(data=2*(3,10))
print(s1)
Ans 0 3
1 10
2 3
3 10

NOTE:
● Full 2 marks to be awarded for attempting the question/mentioning error in
question/out of curriculum
25 Carefully observe the following code: 2

import pandas as pd
dic={'pid': [101, 102, 103, 104, 105],
'pname': ['Shyam', 'Roushan', 'Archit', 'Medha', 'Lalit'],
'sports': ['Cricket', 'Tennis', 'Football', 'Cricket',
'Cricket'],
'points': [45000,20000, 15000, 53000, 60000]}
player=pd.DataFrame (dic)
print (player)

Write Python statements for the following:


(i) In the dataframe player created above, set the row labels as
'Player1', 'Player2', 'Player3', 'Player4', 'Player5'.
Ans player=pd.DataFrame
(dic,index=['Player1','Player2','Player3','Player4','Player5'])
OR
I=['Player1','Player2','Player3','Player4','Player5']
player=pd.DataFrame (dic,index=I)
(½ Mark for creating DataFrame)
(½ Mark for index)
(ii) Rename the column 'points' to 'netpoint' in the DataFrame player.
Ans player=player.rename({'points':'netpoints'},axis='columns')

OR
player.rename({'points':'netpoints'},axis='columns',inplace=True)

OR
player=player.rename({'points':'netpoints'},axis=1)

OR
player=player.rename(columns={'points':'netpoints'})

OR
player.rename({'points':'netpoints'},axis=1,inplace=True)
- 9 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

OR
player.rename(columns={'points':'netpoints'},inplace=True)
(1 Mark for any correct Python statement)
SECTION - C
26 Consider the table Patient given below and write SQL commands. 3
Table: Patient
Patientid Name City Phone Dateofadm Department

1000001 Ritvik Garg Delhi 68476213 2021-12-10 Surgery

1000002 Rahil Arora Mumbai 36546321 2022-01-08 Medicine

1000003 Mehak Bhatt Delhi 68421879 2022-02-02 Cardiology

1000004 Soumik Rao Delhi 26543266 2022-01-11 Medicine

1000005 Suresh Sood Bangalore 65432442 2021-03-09 Surgery

(i) Display the details of all patients who were admitted in January.
Ans SELECT * FROM Patient WHERE MONTHNAME(Dateofadm)="January";
(½ Mark for correctly using SELECT … FROM)
(½ Mark for correctly using WHERE … clause)
(ii) Count the total number of patients from Delhi.
Ans SELECT city, count(city) FROM Patient WHERE City='Delhi';
OR
SELECT count(city) FROM Patient WHERE City='Delhi';
OR
SELECT count(*) FROM Patient WHERE City='Delhi';
OR
SELECT count(3) FROM Patient WHERE City='Delhi';
OR
Any other which gives the same result.
(½ Mark for correctly using SELECT … FROM)
(½ Mark for correctly using WHERE … clause)
(iii) Display the last 2 digits of the Patientid of all patients from Surgery Department.
Ans SELECT RIGHT(Patientid,2) FROM Patient;
OR
SELECT SUBSTR(Patientid,length(Patientid)-1,2) FROM Patient;
(½ Mark for correctly using SELECT … FROM)
(½ Mark for correctly extracting 2 digits of Patientid)
27 Kavyanjali, a chemical analyst, needs to arrange data of few elements in the form of 3
two series containing symbols and their atomic numbers respectively. Thereafter, the
data of these two series has to be arranged and displayed in the form of Data Frame as
shown below
Symbol Atomic Number
Hydrogen H 1
Helium He 2
Lithium Li 3
Beryllium Be 4

Help her in writing suitable Python code to complete the task.


- 10 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Ans import pandas as pd


I=['Hydrogen','Helium','Lithium','Beryllium']
D1=['H','He','Li','Be']
D2=[1,2,3,4]
S1=pd.Series(D1,I)
print("First Series: ")
print(S1)
S2=pd.Series(D2,I)
print("Second Series: ")
print(S2)
D = {'Symbol': S1,'Atomic Number': S2}
DF=pd.DataFrame(D)
print("DataFrame:")
print(DF)

OR

import pandas as pd
D={'Symbol':['H','He','Li','Be'],'Atomic Number':[1,2,3,4]}
DF=pd.DataFrame(d,index=['Hydrogen','Helium','Lithium','Berillium
'])
print(DF)
(½ Mark for correctly interpreting
'Hydrogen','Helium','Lithium','Beryllium')
(½ Mark for correctly interpreting ['H','He','Li','Be'] & [1,2,3,4])
(½ Mark for correctly interpreting Symbols as implicit/explicit series)
(½ Mark for correctly interpreting Atomic Numbers as implicit/explicit series)
(½ Mark for correctly creating DataFrame)
(½ Mark for displaying all/some content using print)
28 Consider the given DataFrame 'health'. 3
Diseasename Agent
0 Common cold Virus
1 Chickenpox Virus
2 Cholera Bacteria
3 Tuberculosis Bacteria
Write suitable Python statements for the following:
(i) Remove the row containing details of disease named Tuberculosis.
Ans I = DF[ DF['Diseasename'] == 'Tuberculosis' ].index
DF.drop(I, inplace = True)
OR
DF.drop('Tuberculosis',axis=0)
OR
DF=DF[(DF.diseasename!='Tuberculosis')]
(1 Mark for mentioning DF.drop() OR DF.drop(3))

Note: Conditional deletion is not in curriculum


(ii) Add a new disease named 'Malaria' caused by 'Protozoa'
Ans DF.loc[4]=['Malaria','Protozoa']
OR
DF.loc[4,:] = ['Malaria','Protozoa']
OR
DF = DF.append({'Diseasename':'Malaria','Agent':'Protozoa'},
ignore_index=True)
- 11 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

(½ Mark for mentioning/identifying proper location )


(½ Mark for mentioning 'Malaria','Protozoa' correctly)
OR
(1 Mark for the last option of the answer)
(iii) Display the last 2 rows.
Ans print(DF.iloc[3:5])
OR
print(DF.tail(2))
OR
print(DF.iloc[-2::])
(½ Mark for using iloc/tail)
(½ Mark for correct index)
29 Manohar received an email from a company, named Makemoney Pvt. Ltd., claiming 3
that Manohar has won ₹ 20 lakhs in a survey done online. In order to claim the prize
money, he was required to answer few security questions such as his Name, Account
number, PAN card details, Phone number and OTP for verification purposes. For this, he
had to click on the link provided in the email.
Answer the following questions:
(i) Should Manohar give the required details to the company?
Ans No
(1 Mark for correct answer)
(ii) What is the activity depicted above?
Ans Phishing
(1 Mark for correct answer)

Note:
● Cyber Crime should also be accepted as the correct answer.
(iii) What should he do with this email?
Ans Delete
OR
Ignore It
OR
Block
OR
Report
OR
Any other appropriate action
(1 Mark for any of the above answer)
OR
What do you understand by the term Hacking? Write any two measures that one should 3
take to avoid being the victim of hacking.
Ans It is the unauthorized access to a computer/computer network.
OR
Any other equivalent correct definition
—---------------------------------------------------------------------------------------------------
● Logging out from account after finishing work
● Using incognito/private window while using public computer
● Not sharing password with anyone
OR
- 12 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Any other appropriate measure


(1 Mark for correctly defining Hacking)
(1 Mark for correctly mentioning each measure)
30 Write the output (i-iii) for the following SQL commands. 3
Table: FASHION
ID Product Price Qty
F01 Kajal 970 10
F02 Foundation 2100 15
F03 Night Cream 1700 20
F04 Day Cream 1400 10
F05 Shampoo 1200 25
F06 Lipstick 850 32

(i) SELECT COUNT(Product) FROM FASHION;


Ans 6
(1 Mark for correct answer)
(ii) SELECT SUM (Price*Qty) FROM FASHION WHERE Product="Night Cream";
Ans 34000
(1 Mark for correct answer)
(iii) SELECT LEFT (Product, 4) FROM FASHION WHERE Price>1500;
Ans Foun
Nigh
(½ Mark for first line of correct answer)
(½ Mark for second line of correct answer)
OR
Find the output of the following SQL queries :
(i) SELECT SUBSTR("CLIMATE CHANGE",4,4);
Ans MATE
(1 Mark for correct answer)
(ii) SELECT UCASE(RIGHT("Pollution",3));
Ans ION
(1 Mark for correct answer)
(iii) SELECT LENGTH("HAPPY")+3;
Ans 8
(1 Mark for correct answer)
SECTION - D
31 Write the SQL queries which will perform the following operations: 5
(i) To display the year from your Date of Admission which is '2023-05-15'.
Ans SELECT YEAR('2023-05-15');
OR
SELECT YEAR(DOA) FROM XYZ;
(Any column name for Date of admission and any table name to be accepted)
(½ Mark for SELECT)
(½ Mark for correct use of YEAR)
(ii) To convert your email id 'ABC@XYZ.com' to lowercase.
- 13 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

Ans SELECT LOWER('ABC@XYZ.com');


OR
SELECT LCASE('ABC@XYZ.com');
(½ Mark for SELECT)
(½ Mark for correct use of LOWER/LCASE)
(iii) To remove leading spaces from a string ‘ my country’.
Ans SELECT LTRIM(' my country');
OR
SELECT TRIM(' my country');
(½ Mark for SELECT)
(½ Mark for correct use of LTRIM/TRIM)
(iv) To display current date.
Ans SELECT CURDATE(); OR
OR SELECT NOW();
SELECT SYSDATE(); OR
OR SELECT DATE(NOW());
SELECT CURRENT_DATE(); OR
OR SELECT LOCALTIME();
SELECT CURRENT_TIMESTAMP() OR
SELECT LOCALTIMESTAMP();
(½ Mark for SELECT)
(½ Mark for correct use of any of the above mentioned DATE functions)
(v) To display the value of 106
Ans SELECT POWER(10,6);
OR
SELECT POW(10,6)
(½ Mark for SELECT)
(½ Mark for correct use of POWER/POW function)
OR
Consider a table PRODUCT with the following data: 5
Table: PRODUCT
SNO Itemname Company Stockdate Price Discount
1 Monitor HP 2021-12-20 15499.739 15
2 Webcam Logitech 2020-02-03 4890.90 5
3 Keyboard Logitech 2022-08-19 1878.985 30
4 Mouse HCL 2021-05-16 1200.00 7
5 Speakers iBall 2021-10-19 NULL 25

Write SQL queries using SQL functions to perform the following operations :
(i) Display the first 3 characters of all Itemnames.
Ans SELECT LEFT(ITEMNAME,3) FROM PRODUCT;
OR
SELECT MID(ITEMNAME,1,3) FROM PRODUCT;
OR
SELECT SUBSTR(ITEMNAME,1,3) FROM PRODUCT;
OR
SELECT SUBSTRING(ITEMNAME,1,3) FROM PRODUCT;

- 14 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

(½ Mark for SELECT .. FROM PRODUCT)


(½ Mark for correct use of LEFT/MID/SUBSTR/SUBSTRING function)
(ii) Display the names of all items whose Stockday is "Monday"
Ans SELECT ITEMNAME FROM PRODUCT WHERE DAYNAME(STOCKDATE)='MONDAY';
OR
SELECT ITEMNAME FROM PRODUCT WHERE DAYOFWEEK(STOCKDATE)=2;
(½ Mark for SELECT ITEMNAME FROM PRODUCT)
(½ Mark for correct use of WHERE condition)

Note:
1. Full 1 Mark to be awarded, if “Stockday” is considered as a column name.
SELECT ITEMNAME FROM PRODUCT WHERE STOCKDAY='MONDAY';
2. Full 1 Mark to be awarded, if "No column with the name Stockday" is
mentioned.

(iii) Display the total price of all the products.


Ans SELECT SUM(PRICE) FROM PRODUCT;
(½ Mark for SELECT .. FROM PRODUCT)
(½ Mark for correct use of SUM function)
(iv) Display the maximum Price.
Ans SELECT MAX(PRICE) FROM PRODUCT;
(½ Mark for SELECT .. FROM PRODUCT)
(½ Mark for correct use of MAX function)
(v) Display the average Price of all the products by the company named 'Logitech'
Ans SELECT AVG(PRICE) FROM PRODUCT
WHERE COMPANY='Logitech';
(½ Mark for SELECT AVG(PRICE)FROM PRODUCT)
(½ Mark for correct use of WHERE with appropriate condition)
32 XEED Private Ltd., Delhi is a company that deals with educational toys. They have 5
different divisions HR(A1), Sales(A2), Production(A3) and Marketing(A4).
The layout of the Delhi branch is:

XEED Private Ltd.


Delhi Branch

The company also has a branch in Bangalore. The management wants to connect all
the divisions as well as all the computers of each division (A1,A2, A3, A4).
Distance between the wings are as follows:

A3 to A1 25 m

- 15 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

A1 to A2 40 m
A2 to A4 25 m
A4 to A3 20 m
A3 to A2 30 m
A1 to A4 170 m
Delhi Head Office to Bangalore Office 2154 km

Number of computers in each of the wing:


A1 50
A2 40
A3 110
A4 60
Based on the above specifications, answer the following questions:
(i) Suggest the topology and draw the most suitable cable layout for connecting all the
divisions of Delhi branch.
Ans Star topology (Connecting from the building with max. number of computers)

Bus Topology (considering minimum building to building distance)

(½ mark for correct topology)


(½ mark for correct layout)
(ii) Suggest the kind of network required (out of LAN, MAN, WAN) for connecting
Production (A3) with the Bangalore branch.
Ans WAN
(1 mark for correct answer)
(iii) Which device can be used to connect the network of Delhi branch to the internet? This
device should be able to receive data, analyse it and then transmit it to the network.
Ans Router
- 16 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

(1 mark for correct answer)

Note:
● ½ Mark to be awarded for writing Modem as answer
(iv) Suggest the placement of Switch/Hub with justification.
● Switch/Hub should be placed in all the buildings
● To interconnect nodes in each building
(½ mark for correct placement)
(½ mark for correct justification)
(v) Many employees were finding it difficult to cope up with work pressure and hence
were showing stress related symptoms. In order to improve the mental health of its
employees, HR planned to conduct an online session with a mental health expert from
Mumbai. Out of the options given below, suggest the protocol that will help to send the
voice signals over Internet to conduct the session successfully.
(a) FTP (b) SMTP (c) VOIP (d) POP
Ans (c) VOIP
(1 mark for correct answer)
33 Consider the following graph. Write the Python code to plot it. Also add the Title, label 5
for X and Y axis.
Use the following data for plotting the graph
smarks=[10,40,30,60,55]
sname=["Sahil","Deepak","Anil","Ravi","Riti"]

Ans import matplotlib.pyplot as plt


smarks=[10,40,30,60,55]
sname=["Sahil","Deepak","Anil","Ravi","Riti"]
plt.plot(sname,smarks)
plt.title("Marks secured by students in Term - 1")
plt.xlabel('Student Name')
plt.ylabel('Marks Scored')
plt.show()
- 17 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for import statement)


(1 Mark for plot())
(1 Mark for title)
(1 Mark for labels)
(1 Mark to display)
OR
33. Write Python code to draw the following bar graph representing the total sales 5
in each quarter. Add the Title, Label for X-axis and Y-axis.
Use the following data for plotting the graph:
sales=[450,300,500,650]
qtr=["QTR1","QTR2","QTR3","QTR4"]

Ans import matplotlib.pyplot as plt


#----------------------------#
sales=[450,300,500,650] # ignore as part
qtr=["QTR1","QTR2","QTR3","QTR4"]
#----------------------------#
plt.bar(qtr,sales)
plt.title("Sales each quarter")
plt.xlabel("Quarter")
plt.ylabel("Sales")
plt.show()
(1 mark for import statement)
(1 mark for bar())
(1 mark for title)
(1 mark for labels)
- 18 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

(1 mark to display)
SECTION - E
34 Consider the following table Schooldata : 1+1+
Table: Schooldata 2
Admno Name Grade Club Marks Gender
20150001 Sargam Singh 12 STEM 86 Male
20140212 Alok Kumar 10 SPACE 75 Male
20090234 Mohit Gaur 11 SPACE 84 Male
20130216 Romil Malik 10 READER 91 Male
20190227 Tanvi Batra 11 STEM 70 Female
20120200 Nomita Ranjan 12 STEM 64 Female
Write SQL queries for the following:
(i) Display the average Marks secured by each Gender.
Ans SELECT Gender, AVG(marks) FROM Schooldata GROUP BY Gender;
(½ mark for SELECT..FROM)
(½ mark for GROUP BY)
(ii) Display the minimum Marks secured by the students of Grade 10.
Ans SELECT MIN(Marks) FROM Schooldata WHERE Class=10;
OR
SELECT MIN(Marks) FROM Schooldata WHERE Class='10';
(½ mark for using SELECT MIN(MARKS) FROM Schooldata)
(½ mark for correct use of WHERE condition)
(iii) Display the total number of students in each Club where number of students are more
than 1.
Ans SELECT Club, COUNT(*) FROM Schooldata GROUP BY Club HAVING
COUNT(*)>1;
(½ mark for SELECT)
(½ mark for COUNT(*))
(½ mark for GROUP BY)
(½ mark for correct use of HAVING condition)
OR
(Option for Part (iii) only)
(iii) Display the maximum and minimum marks secured by each gender. 2
Ans SELECT MAX(Marks),MIN(Marks), Gender FROM Schooldata
GROUP BY Gender;
(½ mark for SELECT)
(½ mark for MAX())
(½ mark for MIN())
(½ mark for GROUP BY)
35 Consider the following DataFrame 'mdf. 1+1+
2
Rollno Name English Hindi Maths
0 1 Aditya 23 20 28

- 19 of 20-
CBSE AISSCE 2023 Marking Scheme for Informatics Practices
Series ⅀HEFG (Sub Code: 065 Paper Code 90) SET-4

1 2 Balwant 18 1 25
2 3 Chirag 27 23 30
3 4 Deepak 11 3 7
4 5 Eva 17 21 24

(A) Write Python statements for the DataFrame 'mdf’ :


(i) To display the records of the students having roll numbers 2 and 3.
Ans print(mdf[2:4])
OR
print(mdf.loc[1:2,:])
OR
print(mdf.iloc[1:3,:])
(½ mark for mdf)
(½ mark for mentioning correct range)
(ii) To increase the marks of subject Math by 4, for all students.
Ans mdf['Maths']=mdf['Maths']+4
(1 mark for attempting the question)
Note : Updation operation not in Curriculum
(B) Write Python statement to display the Rollno and Name of all students who secured
less than 10 marks in Maths.
Ans print(mdf[mdf['Maths'] <10][['Rollno','Name']])
(Full 2 Marks for attempting like mentioning print or dataframe name or writing
condition or mentioning appropriate column names)
Note: Condition based retrieval is not in Curriculum
OR
(Option for Part B only)
Write Python statement to display the total marks i.e., sum of marks secured in 2
English, Hindi and Maths for all students.
Ans print(mdf[['English','Hindi','Maths']].sum())
OR
print(mdf[['English','Hindi','Maths']].sum(axis=1))
OR
print(mdf[['English','Hindi','Maths']].sum(axis=0))
(1 mark for using mdf)
(½ mark for mentioning the columns)
(½ mark for sum())

- 20 of 20-
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Marking Scheme
Strictly Confidential (For Internal and Restricted use only)
Senior Secondary School Certificate Examination, 2024
SUBJECT NAME INFORMATICS PRACTICES (SUBJECT CODE 065) (PAPER CODE 90)
1 You are aware that evaluation is the most important process in the actual and correct assessment
of the candidates. A small mistake in evaluation may lead to serious problems which may affect
the future of the candidates, education system and teaching profession. To avoid mistakes, it is
requested that before starting evaluation, you must read and understand the spot evaluation
guidelines carefully.

2 “Evaluation policy is a confidential policy as it is related to the confidentiality of the examinations


conducted, Evaluation done and several other aspects. Its’ leakage to public in any manner could
lead to derailment of the examination system and affect the life and future of millions of
candidates. Sharing this policy/document to anyone, publishing in any magazine and printing in
News Paper/Website etc. may invite action under various rules of the Board and IPC.”

3 Evaluation is to be done as per instructions provided in the Marking Scheme. It should not be done
according to one’s own interpretation or any other consideration. Marking Scheme should be
strictly adhered to and religiously followed. However, while evaluating, answers which are based
on latest information or knowledge and/or are innovative, they may be assessed for their
correctness otherwise and due marks be awarded to them. In class-XII, while evaluating two
competency-based questions, please try to understand given answer and even if reply is not from
marking scheme but correct competency is enumerated by the candidate, due marks should be
awarded.

4 The Marking scheme carries only suggested value points for the answers
These are in the nature of Guidelines only and do not constitute the complete answer. The
students can have their own expression and if the expression is correct, the due marks should be
awarded accordingly.

5 The Head-Examiner must go through the first five answer books evaluated by each evaluator on
the first day, to ensure that evaluation has been carried out as per the instructions given in the
Marking Scheme. If there is any variation, the same should be zero after deliberation and
discussion. The remaining answer books meant for evaluation shall be given only after ensuring
that there is no significant variation in the marking of individual evaluators.

6 Evaluators will mark( √ ) wherever answer is correct. For wrong answer CROSS ‘X’ be marked.
Evaluators will not put right (✓) while evaluating which gives an impression that answer is correct
and no marks are awarded. This is most common mistake which evaluators are committing.

7 If a question has parts, please award marks on the right-hand side for each part. Marks awarded
for different parts of the question should then be totaled up and written in the left-hand margin
and encircled. This may be followed strictly.

8 If a question does not have any parts, marks must be awarded in the left-hand margin and
encircled. This may also be followed strictly.

9 If a student has attempted an extra question, answer of the question deserving more marks
should be retained and the other answer scored out with a note “Extra Question”.

10 No marks to be deducted for the cumulative effect of an error. It should be penalized only once.

11 A full scale of marks 70 (marks as given in Question Paper) has to be used. Please do not hesitate
to award full marks if the answer deserves it.
Page 1/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

12 Every examiner has to necessarily do evaluation work for full working hours i.e., 8 hours every day
and evaluate 20 answer books per day in main subjects and 25 answer books per day in other
subjects (Details are given in Spot Guidelines).This is in view of the reduced syllabus and number
of questions in question paper.

13 Ensure that you do not make the following common types of errors committed by the Examiner
in the past:-
● Leaving answer or part thereof unassessed in an answer book.
● Giving more marks for an answer than assigned to it.
● Wrong totaling of marks awarded on an answer.
● Wrong transfer of marks from the inside pages of the answer book to the title page.
● Wrong question wise totaling on the title page.
● Wrong totaling of marks of the two columns on the title page.
● Wrong grand total.
● Marks in words and figures not tallying/not same.
● Wrong transfer of marks from the answer book to online award list.
● Answers marked as correct, but marks not awarded. (Ensure that the right tick mark is correctly
and clearly indicated. It should merely be a line. Same is with the X for incorrect answer.)
● Half or a part of answer marked correct and the rest as wrong, but no marks awarded.

14 While evaluating the answer books if the answer is found to be totally incorrect, it should be
marked as cross (X) and awarded zero (0) Marks.

15 Any unassessed portion, non-carrying over of marks to the title page, or totaling error detected
by the candidate shall damage the prestige of all the personnel engaged in the evaluation work as
also of the Board. Hence, in order to uphold the prestige of all concerned, it is again reiterated
that the instructions be followed meticulously and judiciously.

16 The Examiners should acquaint themselves with the guidelines given in the “Guidelines for Spot
Evaluation” before starting the actual evaluation.

17 Every Examiner shall also ensure that all the answers are evaluated, marks carried over to the
title page, correctly totaled and written in figures and words.

18 The candidates are entitled to obtain photocopy of the Answer Book on request on payment of the
prescribed processing fee. All Examiners/Additional Head Examiners/Head Examiners are once
again reminded that they must ensure that evaluation is carried out strictly as per value points for
each answer as given in the Marking Scheme.

SPECIFIC INSTRUCTIONS FOR INFORMATICS PRACTICES ONLY


1 In Python, string content is accepted within a pair of single quotes ' ' or within a pair of
double quotes " ".

2 In MySQL, CHAR/VARCHAR/DATE type content is accepted within a pair of single quotes ' ' or
within a pair of double quotes " ".

3 In MySQL commands, lowercase/UPPERCASE both are correct.

4 In MySQL output questions, column headings to be ignored.

5 In MySQL output questions, alignment (left/right) of content to be ignored.

6 All answers/codes are suggestive, any other alternative correct answers to be accepted.

Page 2/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

SECTION-A
1. In topology, the devices are arranged in the form of multiple branches in 1
hierarchical manner.
(i) Star (ii) Tree
(iii) Mesh (iv) Bus
Ans (ii) Tree
(1 Mark for the correct answer)
2. Ridhima purchased a license for a copy of a software and made additional copies without 1
the permission of the copyright owner. This act of hers is known as .
(i) Trademark Infringement (ii) Identity Theft
(iii) Copyright Infringement (iv) Patent
Ans (iii) Copyright Infringement
(1 Mark for the correct answer)
3. What can an individual do to enhance the privacy of data stored digitally ? 1
(i) Share sensitive information on social media platforms.
(ii) Use your date of birth as your password.
(iii) Regularly update software installed on your device.
(iv) Download and install software from unknown sources.
Ans (iii) Regularly update software installed on your device
(1 Mark for the correct answer)
4. What will be the output of the following query ? 1
SELECT POWER(2,MOD(17,3));
(i) 8 (ii) 1

(iii) 0 (iv) 4

Ans (iv) 4

(1 Mark for the correct answer)


5. Which of the following is not an aggregate function in MYSQL ? 1
(i) AVG() (ii) MAX()

(iii) LCASE() (iv) MIN()

Ans (iii) LCASE()

(1 Mark for the correct answer)


6. is the gaining of unauthorized access to data in a computer system. 1

(i) Phishing (ii) Plagiarism


(iii) Hacking (iv) Copyright violation
Page 3/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (iii) Hacking


(1 Mark for the correct answer)
7. Which of the following is NOT true with respect to CSV files ? 1
(i) Values are separated by commas.
(ii) to_csv() can be used to save a dataframe to a CSV file.
(iii) CSV file is created using a word processor.
(iv) CSV file is a type of text file.
Ans All the options are true with respect to CSV files.
(Full 1 mark to be awarded for attempt / any one or more options is/are mentioned)
8. Which MySQL command helps to add a primary key constraint to any table that has already 1
been created ?
(i) UPDATE (ii) INSERT INTO

(iii) ALTER TABLE (iv) ORDER BY

Ans (iii) ALTER TABLE

Note: Full 1 mark to be awarded for attempt / any one or more options is/are
mentioned
9. What will be the output of the following query ? 1
SELECT SUBSTR("G20 2023 INDIA", 5, 4);
(i) G20 2 (ii) 2023

(iii) INDI (iv) 023

Ans (ii) 2023

(1 Mark for the correct answer)


10. What will be the output of the following Python code ? 1
import pandas as pd
dd= { 'One':1, 'Two':2, 'Three':3, 'Seven':7}
rr=pd.Series(dd)
rr['Four']=4
print(rr)
(i) One 1
Two 2
Three 3
Seven 7
dtype: int64
(ii) One 1
Two 2
Three 3
Four 4
Seven 7
dtype: int64

Page 4/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

(iii) Four 4
One 1
Two 2
Three 3
Seven 7
dtype: int64
(iv) One 1
Two 2
Three 3
Seven 7
Four 4
dtype: int64
Ans (iv) One 1
Two 2
Three 3
Seven 7
Four 4
dtype: int64
Note: Full 1 mark to be awarded for attempt / any one or more options is/are
mentioned
11. Which of the following clause cannot work with SELECT statement in MYSQL ? 1
(i) FROM (ii) INSERT INTO

(iii) WHERE (iv) GROUP BY

Ans (ii) INSERT INTO

(1 Mark for the correct answer)


12. Which of the following command will not show first five rows from the Pandas series named 1
Sl ?
(i) Sl[0:5] (ii) Sl.head()
(iii) Sl.head(5) (iv) Sl.head[0:5]

Ans (iv) S1.head[0:5]

(1 Mark for the correct answer)


13. Rama was unable to understand how the recruiters were able to know about her digital 1
activity when she has not shared anything with them.
The recruiters might have checked of Rama.
(i) Carbon Footprint (ii) Water Footprint
(iii) Online print (iv) Digital Footprint
Ans (iv) Digital Footprint
(1 Mark for the correct answer)
14. Which MySQL string function is used to extract a substring from a given string based on a 1
specified starting position and length ?
(i) SUBSTRING_INDEX() (ii) LENGTH()

(iii) MID() (iv) TRIM()

Page 5/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (iii) MID()

(1 Mark for the correct answer)


15. The software that is free for anyone, and its source code is available for access, 1
modification, correction, and improvement is called .
(i) Proprietary software (ii) Commercial software
(iii) Free and Open source software (iv) Copyrighted software
Ans (iii) Free and Open source software
(1 Mark for the correct answer)
16. help in data protection through copyrights, patents and trademarks. 1
(i) Data Privacy Right (ii) Right to Innovation
(iii) Intellectual Property Rights (IPR) (iv) Right to Data Protection
Ans (iii) Intellectual Property Rights (IPR)
(1 Mark for the correct answer)
17. Assertion (A) : Cyber Bullying can have serious, emotional and psychological effects on 1
victims.
Reason (R) : Online Bullying is not a crime while offline bullying is a crime.
(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 and (R) is false.
(iv) (A) is false but (R) is true.
Ans (iii) (A) Is true and (R) is false
(1 Mark for the correct answer)
18. Assertion (A) : A Series is a one dimensional array and a DataFrame is a two-dimensional 1
array containing sequence of values of any data type. (int, float, list, string, etc.)

Reason (R) : Both Series and DataFrames have by default numeric indexes starting from
zero.
(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 and (R) is false.
(iv) (A) is false but (R) is true.
Ans (ii) Both (A) and (R) are true and (R) is not the correct explanation for (A).
(1 Mark for the correct answer)
Note: Option (i) also to be accepted.

Page 6/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

SECTION-B
19. (a) Expand URL. Identify the protocol and domain in the following URL : 2
https://epathshala.nic.in/topics.php?len=en
Ans (a) URL : Uniform Resource Locator
Protocol - https
Domain - epathshala.nic.in

(1 Mark for writing the correct expansion of URL)


(½ Mark for writing the correct Protocol)
(½ Mark for writing the correct Domain)
OR
(b) Write any one advantage and one disadvantage of Star topology.
Ans (b) Advantage of Star Topology:

Centralized control and management makes it easy to monitor, troubleshoot, and


scale the network.

Other points to be accepted:


● reliable – if one cable or device fails then all the others still work
● high-performing as no data collisions can occur
● Easier to install
● Easy fault detection
● No disruption to the network when connecting or removing devices
Or Any other valid point.

Disadvantage of Star Topology :


Dependence on the central device (hub or switch). If the central device fails, the
entire network becomes inaccessible.

Other points to be accepted:


● More Cable required
● More expensive

Or Any other valid point

(1 Mark for writing any one correct Advantage of Star Topology)


(1 Mark for writing any one correct Disadvantage of Star Topology)

20. The Python code written below has syntactical errors. Rewrite the correct code and 2
underline the correction(s) made.
import Pandas as pd
stud=['Name':'Ramya','Class':11,'House':'Red']
s=p.Series(s)
print(s)

Ans import pandas as pd


stud = {'Name':'Ramya', 'Class':11, 'House':'Red'}
s = pd.Series(stud)
print(s)

(½ Mark for correcting each syntactical error)


Note: Only 1 mark to be awarded if all the errors are correctly identified but correct code not written.

Page 7/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

21. What will be the output of the following SQL queries : 2


(i) SELECT RIGHT ("CHANDRAYAN3",4);

(ii) SELECT ROUND(76345.456,2);

Ans (i) YAN3

(ii) 76345.46

(1 Mark each for writing each correct output)


22. Find the output of the following Python code : 2
import pandas as pd
com=pd.Series([45,12,15,200],index=['mouse','printer',
'webcam','keyboard'])
print(com[l:3])
Ans printer 12
webcam 15
dtype: int64

(1 Mark for each row of correct output)


Note:
● Ignore dtype: int64
● Ignore order of columns in the output
● Only 1 mark to be awarded if an extra row is mentioned in the
output

23. What is the primary function of a gateway in a computer network ? 2


Explain briefly.

Ans Gateway is used to connect two networks or applications that use different protocols.

(1 Mark for writing: connect two networks)


(1 mark for writing: use different protocols)
Note: Full 2 marks to be awarded if the function of gateway is explained with the
help of only a diagram.

24. Consider the following Python code : 2


import pandas as pd
Sl=pd.Series(['Rubina','Jaya','Vaibhav'],index=[10,16,18])
S2=pd.Series( , index=[10,16,18])
S3=pd.Series([56,67,86], )
xiia={'Name': ,'Subject':S2,'Marks':S3}
df=pd.DataFrame( )
print(df)
Complete the above Python code to display the following output :
Name Subject Marks
10 Rubina IP 56
16 Jaya HSc 67
18 Vaibhav IP 86

Page 8/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans import pandas as pd


S1=pd.Series(['Rubina','Jaya','Vaibhav'], index=[10,16,18])
S2=pd.Series(['IP','HSc','IP'], index=[10,16,18])
S3=pd.Series([56,67,86], index=[10,16,18])
xiia={'Name':S1, 'Subject':S2, 'Marks':S3}
df=pd.DataFrame(xiia)
print(df)

(½ Mark each for writing each correct missing part of the given code)

25. Write any two differences between UPDATE and ALTER TABLE commands of MySQL. 2

Ans
UPDATE ALTER TABLE
● UPDATE command is used to modify ● ALTER TABLE command is used to add,
value(s) stored in row(s) in a delete, modify, rename attribute(s) in
relation. a relation
● It is a DDL(Data Definition Language)
● It is a DML (Data Manipulation command / ALTER TABLE command
Language) command / UPDATE performs action on the structure of the
command performs action on data in a table.
table.
● Example
● Example
ALTER TABLE Student
UPDATE Student ADD Email varchar(255);
SET Marks=30
WHERE RollNo = 1;

Note: Full 2 marks to be awarded for attempting OR if Any part of question no 21 is


attempted correctly.

SECTION-C
26. (a) Consider the given table and write the following queries in MySQL : 3
Table: Sports
Sid SName Fees DateofPlay CoachId
1 Karate 1200 2024-08-24 S1
2 Football 1800 2024-09-13 S2
3 Cricket 1500 2024-06-14 S3
4 Lawn Tennis 2500 2024-09-25 S4
5 Badminton 1800 2024-10-20 S5

(i) To display Sid and name of those sports which are to be played in the month of
September.
Ans SELECT Sid, SName FROM Sports WHERE Monthname(DateofPlay)=
"September";
OR
SELECT Sid, SName FROM Sports WHERE Month(DateofPlay)= 9;
Page 9/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

OR
SELECT Sid, SName FROM Sports WHERE Month(DateofPlay)= '9';
OR
SELECT Sid, SName FROM Sports WHERE DateofPlay LIKE "%-09-%";
OR
SELECT Sid, SName FROM Sports WHERE DateofPlay>='2024-09-01'
AND DateofPlay<='2024-09-30';
OR
SELECT Sid, SName FROM Sports WHERE DateofPlay BETWEEN
'2024-09-01' AND '2024-09-30';

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct WHERE part)
(ii) To display all Sports names in lower case.

Ans SELECT LCASE(SName) FROM Sports;


OR
SELECT LOWER(SName) FROM Sports;

(½ Mark for writing SELECT part)


(½ Mark for writing FROM Sports)

(iii) To display last two characters of all sports names whose fees is less than 1500.

Ans SELECT RIGHT(SName, 2) FROM Sports WHERE Fees<1500;


OR
SELECT MID(SName,LENGTH(SName)-1,2) FROM Sports WHERE
Fees<1500;
OR
SELECT SUBSTR(SName,-2) FROM Sports WHERE Fees<1500;
OR
SELECT SUBSTR(SName,LENGTH(SName)-1,2) FROM Sports WHERE
Fees<1500;
OR
SELECT SUBSTRING(SName,LENGTH(SName)-1,2) FROM Sports WHERE
Fees<1500;

(½ Mark for writing correct SELECT part)


(½ Mark for writing correct WHERE part)
OR
(b) Predict the output of the following queries based on the table Sports given above :
(i) SELECT UCASE(TRIM(SName)) FROM Sports WHERE Sid=5 ;

Ans (i) BADMINTON

(1 Mark for writing the correct output)


Note: ½ mark to be awarded if the output is not in uppercase

(ii) SELECT LEFT (SName,3) FROM Sports WHERE


DateofPlay>"2024-09-13";

Page 10/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (ii) Law


Bad

(½ Mark each for writing correct line of the output)

(iii) SELECT SUBSTR (CoachId,1) FROM Sports WHERE SName="Cricket" or


Fees>=2000;

Ans S3
S4

(½ Mark each for writing correct line of the output)

27. Kabir, a data analyst, has stored the voter's name and age in a dictionary. Now, Kabir wants 3
to create a list of dictionaries to store data of multiple voters. He also wants to create a
DataFrame from the same list of dictionaries having appropriate row labels as shown below
:

Voter Name Voter_Age


Ar1001 Arjun 35
Ba3002 Bala 23
Go4002 Govind 25
Dh4007 Dhruv 19
Na6005 Navya 18

Help Kabir in writing a Python program to complete the task.


Ans import pandas as pd
voters=[{"Voter_Name":"Arjun", "Voter_Age":35}, {"Voter_Name":"Bala",
"Voter_Age":23}, {"Voter_Name":"Govind", "Voter_Age":25},
{"Voter_Name":"Dhruv", "Voter_Age":19}, {"Voter_Name":"Navya",
"Voter_Age":18}]
dfVoters=pd.DataFrame(voters,
index=["Ar1001","Ba3002","Go4002","Dh4007","Na6005"])
print(dfVoters)

OR
Any other correct equivalent code
(½ Mark for import statement)
(1 Mark for creating the list of dictionaries to store data of multiple voters)
(½ Mark for creating DataFrame)
(½ Mark for creating index)
(½ Mark for displaying DataFrame)
28. Answer the following questions based on the table Salesman given below : 3
Table: Salesman
salesman_id name city commission
5001 Neil Bhatt Delhi 0.15
5002 Rohan Malik Mumbai 0.13
5005 Ravi Mohan Delhi 0.11
5006 Mehak Rai Delhi 0.14

Page 11/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

5007 Paul Lal Bangalore 0.13


5003 Raman Sen Kolkata 0.12

(i) How many tuples does the given table have ?

Ans (i) 6

(1 Mark for writing the correct value)


(ii) Suggest the primary key for the given table.

Ans (ii) salesman_id

(1 Mark for writing the correct primary key)


Note: No mark to be awarded if any other column name is also mentioned along with
the primary key.
(iii) Write the MySQL query to display all the records in descending order of commission.

Ans (iii) SELECT * FROM Salesman order by commission desc;

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct ORDER BY clause)

29. (a) Police officials arrested four members of an interstate gang for allegedly duping many 3
people from different states on the pretext of providing them with holiday packages
after creating fake websites of Tours and Travels. The cyber criminals sent fraudulent
emails containing links to fraudulent websites created by them.
The victim in his complaint told police that he was offered a holiday package to Dubai
for a total of 10 times in the next 10 years and was charged ₹ 1.45 lakh through his
credit card.
Answer the following questions pertaining to the given news byte :
(i) Identify the type of cybercrime mentioned in above case.

Ans (i) ● Phishing


● Internet Fraud
(1 Mark for writing any one correct type of cybercrime)

(ii) Which Act deals with such crimes in India ?

Ans (ii) IT Act 2000


OR
Information Technology Act 2000

(1 Mark for writing the correct Act Name)


Note: The correct act without year 2000 also to be accepted

(iii) Suggest any one precaution that can be taken to avoid falling prey to such criminals.

Ans (iii) ● Ensure the website used is a trustworthy


● Provide your personal/sensitive information only to reliable sources
● Keep your browser up to date
Page 12/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

● Use firewalls
● Use Antivirus Software
● Avoid installing pirated software
● Always download software from known and secure websites
● Always update software
● Use strong password(s) and change it periodically
● Do not use cookies from unknown sites
● Perform online transactions from known and secure sites
● Always secure wireless network(s) with strong password(s) and regularly
change it/them

(1 Mark for suggesting any one correct precaution)


OR
(b) ABC Electronics, a popular electronics retail chain, has been a prominent player in the
market for years. However, recent concerns over environmental degradation and e-
waste have prompted the company to rethink its strategies and practices. As the newly
appointed sustainability manager, you've been asked to answer the following questions
:
(i) Considering the environmental concerns associated with e-waste, outline any one
negative impact of the electronic products on the environment.
Ans (i) ● Release toxic pollutants
● Health hazards
● Degradation of environment
● Soil pollution
● Water pollution
● Air pollution

OR
Any other correct negative impact

(1 Mark for writing any one correct negative impact)


(ii)Gopal is a college student who recently bought his new smartphone from ABC
electronics. He's excited about the new features and improved performance of his new
device. However, he's now left with his old smart phone, which is still functional but
considered outdated. Suggest him any one action that he can take for his old
smartphone.
Ans (ii) Donate the old phone
OR
Sell the old phone
OR
Reuse the old phone
OR
Refurbish the old phone
OR
(Any other correct action)
(1 Mark for writing any one correct action)

(iii) Provide any one recommendation on how ABC Electronics can responsibly manage its
e-waste while minimizing harm to the environment.

Page 13/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (iii) Reduce the e-waste by extending the lifespan of devices through proper
maintenance.
OR
Reuse the devices whenever possible.
OR
Recycle the e-waste components.
OR
Any other correct recommendation

(1 Mark for writing any one correct recommendation to manage e-waste)

30. Consider the given DataFrame 'password': 3

CodeName Category Frequency


0 aaaaaa alpha 6.91
1 dragon animal 18.52
2 baseball sport 1.29
3 football sport 11.11
4 monkey animal 3.72
5 qwerty alpha 1.85
6 abcde alpha 3.19

Write suitable Python statements for the following :


(i) To add a new row with following values :
CodeName - 'abc123'
Category - alphanumeric
Frequency - 12.8
Ans (i) password.loc[7]=['abc123','alphanumeric',12.8]
OR
password.at[7]=['abc123','alphanumeric',12.8]
OR
password.loc[len(password)] = ['abc123','alphanumeric',12.8]
OR
password.at[len(password)] = ['abc123','alphanumeric',12.8]
OR
password.loc[len(password.index)] =
['abc123','alphanumeric',12.8]
OR
password.at[len(password.index)] =
['abc123','alphanumeric',12.8]
OR
password.loc[7,:]=['abc123','alphanumeric',12.8]
OR
password.at[7,:]=['abc123','alphanumeric',12.8]
OR
password=password.append({"CodeName":"abc123","Category":"alpha
numeric","Frequency":12.8}, ignore_index=True)

Page 14/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

OR
df1=pd.DataFrame({"CodeName":["abc123"],"Category":["alphanumer
ic"],"Frequency":[12.8]})
OR
password=pd.concat([password,df1], ignore_index=True)

(1 Mark for writing any correct Python statement)


(ii) To delete the row with the row label 2.

Ans (ii) password.drop(2, inplace=True)


OR
password.drop(2, inplace=True, axis=0)
OR
password.drop(labels=2, inplace=True)
OR
password.drop(labels=2, axis=0, inplace=True)
OR
password.drop([2], inplace=True)
OR
password.drop([2], axis=0, inplace=True)
OR
password=password.drop([2])
OR
password=password.drop([2], axis=0)
OR
password.drop([password.index[2]], inplace=True)
OR
password.drop(password.index[2:3], inplace=True)

(1 Mark for writing any correct Python statement)


(iii) To delete the column having column label as Frequency.

Ans (iii) password.drop("Frequency", axis=1, inplace=True)


OR
password.drop(columns=['Frequency'], inplace=True)
OR
password.drop(password.columns[2], axis=1, inplace=True)
OR
password.drop(password.iloc[:, 2:], inplace=True, axis=1)
OR
password.drop(password.loc[:, "Frequency":].columns,
inplace=True, axis=1)

(1 Mark for writing any correct Python statement)

SECTION-D
31. Rupam created a MySQL table to store the details of Nobel prize winners. Help her to 4
write the following MySQL queries :
Page 15/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Table: NOBEL
Winner_id YEAR SUBJECT WINNER COUNTRY CATEGORY
1001 1970 Physics Hannes Alfven Sweden Scientist
1002 1970 Physiology Bernard Katz NULL Scientist
1003 1970 Literature Aleksandr Russia Linguist
Solzhenitsyn
1004 1971 Chemistry Gerhard Herzberg Germany Scientist
1005 1978 Peace Menachem Begin Israel Prime
Minister
1006 1987 Economics Robert Solow USA Economist
1007 1994 Literature Kenzaburo Oe Japan Linguist

(i) Display the names of Nobel Prize winner in 'Literature’ for the year 1970.

Ans (i) SELECT WINNER FROM NOBEL WHERE SUBJECT="Literature" AND YEAR =
1970;

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct WHERE part)
(ii) Display the subject and category of winners whose country is not known.

Ans (ii) SELECT SUBJECT,CATEGORY FROM NOBEL WHERE COUNTRY IS NULL;

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct WHERE part)
(iii) Display the details of all Nobel Prize winners who were Scientists.

Ans (iii) SELECT * FROM NOBEL WHERE CATEGORY="Scientist";

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct WHERE part)
(iv) Count total number of winners whose subject is Literature.

Ans (iv) SELECT COUNT(*) FROM NOBEL WHERE SUBJECT="Literature";

(½ Mark for writing the correct SELECT part)


(½ Mark for writing the correct WHERE part)

32. Ms. Ritika conducted an online assessment and stored the details in a DataFrame result as 4
given below :
Name Score Attempts Qualify
a Atulya 12.5 1 yes
b Disha 9.0 3 no
C Kavita 16.5 2 yes
d John 15.0 1 no
Answer the following questions :
(i) Predict the output of the following Python statement:
print(result.loc [:,'Attempts'] > 1)

Page 16/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (i) a False


b True
c True
d False
Name: Attempts, dtype: bool

(1 Mark for writing the correct output)


Name: Attempts, dtype: bool to be ignored
Note: Full 1 Mark to be awarded if rows b and c are mentioned
(ii) Write the Python statement to display the last three records.

Ans (ii) print(result.tail(3))


OR
print(result.iloc[1:])
OR
print(result.iloc[1:4])
OR
print(result.iloc[[1,2,3],:])
OR
print(result.loc[["b","c","d"]])

(1 Mark for writing the correct Python Statement)


(iii) Write Python statement to display records of 'a ' and 'd' row labels.

Ans (iii) print(result.loc[["a","d"]])


OR
print(result.iloc[[0,3],:])

(2 Marks for writing the correct Python Statement)


OR
(Option for Part (iii) only)
(iii) Write suitable Python statement to retrieve the data stored in the file,
'registration.csv' into a DataFrame, 'regis'.
Ans (iii) regis=pd.read_csv("registration.csv")

(2 Marks for writing the correct Python Statement)

SECTION-E
33. Excellent Consultancy Pvt. Ltd. maintains two tables for all its employees. 5
Table: Employee
Employee_ First_ Last_ Salary Joining_date Department
id name name
El0l Monika Das 100000 2019-01-20 Finance

E102 Mehek Verma 600000 2019-01-15 IT

E103 Manan Pant 890000 2019-02-05 Banking

Page 17/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

E104 Shivam Agarwal 200000 2019-02-25 Insurance

E105 Alisha Singh 220000 2019-02-28 Finance

E106 Poonam Sharma 400000 2019-05-10 IT

E107 Anshuman Mishra 123000 2019-06-20 Banking

Table: Reward
Employee_id Date_reward Amount
E101 2019-05-11 1000
E102 2019-02-15 5000
E103 2019-04-22 2000
E106 2019-06-20 8000

Write suitable SQL queries to perform the following task :


(i) Change the Department of Shivam to IT in the table Employee.

Ans (i) UPDATE Employee SET Department="IT" WHERE First_name="Shivam";

Note: Full 1 mark to be awarded for attempting OR if Any part of question no 33 is


attempted correctly.
(ii) Remove the record of Alisha from the table Employee.

Ans (ii) DELETE FROM Employee WHERE First_name="Alisha";

(½ Mark for writing the correct DELETE part)


(½ Mark for writing the correct WHERE part)
(iii) Add a new column Experience of integer type in the table Employee.

Ans (iii) ALTER TABLE Employee ADD Experience int;


OR
ALTER TABLE Employee ADD COLUMN Experience int;
Note: Full 1 mark to be awarded for attempting OR if Any part of question no 33 is
attempted correctly.
(iv) Display the first name, last name and amount of reward for all employees from the
tables Employee and Reward.

Ans (iv) SELECT First_name, Last_name, Amount FROM Employee NATURAL JOIN
Reward;
OR
SELECT First_name, Last_name, Amount FROM Employee E, Reward R
WHERE E.Employee_id=R.Employee_id;

(½ Mark for writing correct SELECT part)


(½ Mark for writing the correct part to join)
(v) Display first name and salary of all the employees whose amount is less than 2000
from the tables Employee and Reward.

Page 18/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Ans (v) SELECT First_name, Salary FROM Employee NATURAL JOIN Reward
WHERE Amount<2000;
OR
SELECT First_name, Salary FROM Employee E, Reward R WHERE
E.Employee_id=R.Employee_id AND Amount<2000;

(½ Mark for writing correct SELECT part)


(½ Mark for writing the correct part to join)

OR
Write suitable SQL queries for the following task:
(i) Display the year of joining of all the employees from the table Employee.

Ans (i) SELECT YEAR(Joining_date) FROM Employee;

(½ Mark for writing correctly SELECT YEAR(Joining_date) )


(½ Mark for writing correctly FROM Employee)
(ii) Display each department name and its corresponding average salary.

Ans (ii) SELECT Department, AVG(Salary) FROM Employee GROUP BY


Department;

(½ Mark for writing correct SELECT part)


(½ Mark for writing the correct GROUP BY part)
(iii) Display the first name and date of reward of those employees who joined on Monday
from the tables Employee and Reward.

Ans (iii) SELECT First_name, Date_reward FROM Employee NATURAL JOIN Reward
WHERE DAYNAME(Joining_date)="Monday";
OR
SELECT First_name, Date_reward FROM Employee E, Reward R WHERE
E.Employee_id=R.Employee_id AND DAYNAME(Joining_date)="Monday";

(½ Mark for writing correct SELECT part)


(½ Mark for writing correct WHERE part)
(iv) Display sum of salary of those employees whose reward amount is greater than 3000
from the tables Employee and Reward.

Ans (iv) SELECT SUM(Salary) FROM Employee NATURAL JOIN Reward WHERE
Amount>3000;
OR
SELECT SUM(Salary) FROM Employee E, Reward R WHERE
E.Employee_id=R.Employee_id AND Amount>3000;

(½ Mark for writing correct SELECT part)


(½ Mark for writing the correct WHERE part)
(v) Remove the table Reward.

Ans (v) DROP TABLE Reward;

Page 19/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

Note: Full 1 mark to be awarded for attempting OR if Any part of question no 33 is


attempted correctly.

34. FULLMAN Tech, Bengaluru is a company that deals with software development. They have 5
different divisions HR (H1), Sales (H2), Production (H3) and Marketing (H4). The layout of
the Bengaluru branch is :

The management wants to connect all the divisions as well as all the computers of each
division (H1, H2, H3 and H4).

Distance between the divisions are as follows :


H1 to H2 76 m
H1 to H3 185 m
H1 to H4 88 m
H2 to H3 140 m
H2 to H4 125 m
H3 to H4 160 m

Number of computers in each of the division :


Division Number of Computers
H1 140
H2 340
H3 180
H4 260
Based on the above specifications, answer the following questions :
(i) Suggest the topology and draw the most efficient cable layout for connecting all the
divisions of Bengaluru branch.
Ans (i) Star Topology

Page 20/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

(½ Mark for writing correct topology)


(½ Mark for drawing correct cable layout)
(ii) FULLMAN Tech is expanding its reach and therefore it establishes a new office in Delhi.
Out of LAN, MAN, and WAN what kind of network will be created to connect Bengaluru
office with Delhi Office ?
Ans (ii) WAN

(1 Mark for writing the correct answer)

(iii) Suggest the division for the placement of server in Bengaluru branch. Explain the
reason for your selection.
Ans Sales (H2).
(iii)
Maximum number of computers in Sales division

(½ Mark for writing correct division for server placement )


(½ Mark for writing the correct reason for selection)
(iv) Suggest the placement of the following devices in Bengaluru branch:
(a) Repeater
(b) Switch/Hub
Ans (iv) (a) Between Sales (H2) and Production (H3), Between Sales(H2) and Marketing(H4)
(b) One in each of the divisions HR(H1), Sales(H2), Production(H3), Marketing(H4)
(½ Mark for writing correct placement of Repeater)
(½ Mark for writing the correct placement of Switch/Hub)
(v) The company's manager Ms. Ritu is worried as to how she can extend and modify
the functionality of the web browser. Help her by giving names of any two tools.
Ans (v) Extensions
Plug-ins
Add-Ons
(½ Marks each for writing name of Any 2 correct tools / method)
Note:
● Names of tools like Grammarly /AdBlock to be accepted.
● Mentioning of any 2 correct methods like Updation of browser/Change to faster
browser/reinstalling browser to be accepted.

35. (a) The inventory management software of a grocery shop stores the price of all fruits 5
as follows:
Fruits=['Apple','Guava','Papaya','Grapes','Mango']
Price=[l50,70,50,30,120]
Write suitable Python code to generate a Bar Chart on the given data. Also add the
chart title and label for X and Y axis. Also add suitable statement to save this chart
with the name fruits.png.
Ans (a) import matplotlib.pyplot as plt #Statement 1
Fruits=['Apple','Guava','Papaya','Grapes','Mango'] #Statement 2
Price=[150,70,50,30,120] #Statement 3
plt.bar(Fruits,Price) #Statement 4
plt.title("Fruits Prices") #Statement 5
plt.xlabel("Fruits") #Statement 6
plt.ylabel("Price") #Statement 7
plt.savefig("fruits.png") #Statement 8

Page 21/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

plt.show() #Statement 9

OR
Any other equivalent code

(½ Mark for writing correct Statement 1)


(½ Mark for writing correct Statement 2)
(½ Mark for writing correct Statement 3)
(1 Mark for writing correct Statement 4)
(½ Mark for writing correct Statement 5)
(½ Mark for writing correct Statement 6)
(½ Mark for writing correct Statement 7)
(½ Mark for writing correct Statement 8)
(½ Mark for writing correct Statement 9)

OR
(b) Write suitable Python code to draw the following line chart "CO2 Emission" having title
and label for X and Y axis as shown below.

Also give suitable Python statement to save this chart with the name, emission.png.

Ans (b) import matplotlib.pyplot as plt #Statement 1


month=["April", "May", "June", "July", "August"] #Statement 2
percent=[40,50,30,60,20] #Statement 3
plt.plot(month, percent) #Statement 4
plt.title("Month wise CO2 emission") #Statement 5
plt.xlabel("Month") #Statement 6
plt.ylabel("Percentage") #Statement 7
plt.savefig("emission.png") #Statement 8
plt.show() #Statement 9

OR
Any other equivalent code

(½ Mark for writing correct Statement 1)


(½ Mark for writing correct Statement 2)
(½ Mark for writing correct Statement 3)
(1 Mark for writing correct Statement 4)
(½ Mark for writing correct Statement 5)

Page 22/23
CBSE AISSCE 2024 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90) SET-4

(½ Mark for writing correct Statement 6)


(½ Mark for writing correct Statement 7)
(½ Mark for writing correct Statement 8)
(½ Mark for writing correct Statement 9)

Page 23/23
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

Marking Scheme
Strictly Confidential
(For Internal and Restricted use only)
Senior School Certificate Examination, 2023 (Supplementary)
SUBJECT NAME INFORMATICS PRACTICES (SUBJECT CODE 65) (PAPER CODE 90)
(Series: Series HEFG/C)

General Instructions: -
1 You are aware that evaluation is the most important process in the actual and correct
assessment of the candidates. A small mistake in evaluation may lead to serious problems which
may affect the future of the candidates, education system and teaching profession. To avoid
mistakes, it is requested that before starting evaluation, you must read and understand the spot
evaluation guidelines carefully.
2 “Evaluation policy is a confidential policy as it is related to the confidentiality of the
examinations conducted, Evaluation done and several other aspects. Its’ leakage to the
public in any manner could lead to derailment of the examination system and affect the life
and future of millions of candidates. Sharing this policy/document to anyone, publishing in
any magazine and printing in News Paper/Website etc may invite action under various rules
of the Board and IPC.”
3 Evaluation is to be done as per instructions provided in the Marking Scheme. It should not be
done according to one’s own interpretation or any other consideration. Marking Scheme should
be strictly adhered to and religiously followed. However, while evaluating answers which are
based on latest information or knowledge and/or are innovative, they may be assessed for
their correctness otherwise and due marks be awarded to them. In class-XII, while
evaluating two competency-based questions, please try to understand the given answer and
even if the reply is not from the marking scheme but correct competency is enumerated by
the candidate, due marks should be awarded.
4 The Marking scheme carries only suggested value points for the answers
These are in the nature of Guidelines only and do not constitute the complete answer. The
students can have their own expression and if the expression is correct, the due marks should be
awarded accordingly.
5 The Head-Examiner must go through the first five answer books evaluated by each evaluator on
the first day, to ensure that evaluation has been carried out as per the instructions given in the
Marking Scheme. If there is any variation, the same should be zero after deliberation and
discussion. The remaining answer books meant for evaluation shall be given only after ensuring
that there is no significant variation in the marking of individual evaluators.
6 Evaluators will mark( ✓ ) wherever the answer is correct. For wrong answer CROSS ‘X” be
marked. Evaluators will not put right (✓)while evaluating which gives an impression that the
answer is correct and no marks are awarded. This is the most common mistake which
evaluators are committing.
7 If a question has parts, please award marks on the right-hand side for each part. Marks awarded
for different parts of the question should then be totaled up and written in the left-hand margin
and encircled. This may be followed strictly.
8 If a question does not have any parts, marks must be awarded in the left-hand margin and
encircled. This may also be followed strictly.
9 If a student has attempted an extra question, the answer of the question deserving more marks
should be retained and the other answer scored out with a note “Extra Question”.
10 No marks to be deducted for the cumulative effect of an error. It should be penalized only once.

- 1 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

11 A full scale of marks 0 to 70 has to be used. Please do not hesitate to award full marks if the
answer deserves it.
12 Every examiner has to necessarily do evaluation work for full working hours i.e., 8 hours every
day and evaluate 20 answer books per day in main subjects and 25 answer books per day in
other subjects (Details are given in Spot Guidelines).
13 Ensure that you do not make the following common types of errors committed by the Examiner
in the past:-
● Leaving the answer or part thereof unassessed in an answer book.
● Giving more marks for an answer than assigned to it.
● Wrong totaling of marks awarded on an answer.
● Wrong transfer of marks from the inside pages of the answer book to the title page.
● Wrong question wise totaling on the title page.
● Wrong totaling of marks of the two columns on the title page.
● Wrong grand total.
● Marks in words and figures not tallying/not same.
● Wrong transfer of marks from the answer book to online award list.
● Answers marked as correct, but marks not awarded. (Ensure that the right tick mark is
correctly and clearly indicated. It should merely be a line. Same is with the X for incorrect
answers.)
● Half or a part of the answer marked correct and the rest as wrong, but no marks awarded.
14 While evaluating the answer books, if the answer is found to be totally incorrect, it should be
marked as cross (X) and awarded zero (0)Marks.
15 Any un-assessed portion, non-carrying over of marks to the title page, or totaling error detected
by the candidate shall damage the prestige of all the personnel engaged in the evaluation work
as also of the Board. Hence, in order to uphold the prestige of all concerned, it is again
reiterated that the instructions be followed meticulously and judiciously.
16 The Examiners should acquaint themselves with the guidelines given in the “Guidelines for spot
Evaluation” before starting the actual evaluation.
17 Every Examiner shall also ensure that all the answers are evaluated, marks carried over to the
title page, correctly totaled and written in figures and words.
18 The candidates are entitled to obtain a photocopy of the Answer Book on request on payment of
the prescribed processing fee. All Examiners/Additional Head Examiners/Head Examiners are
once again reminded that they must ensure that evaluation is carried out strictly as per value
points for each answer as given in the Marking Scheme.

SPECIFIC INSTRUCTIONS FOR INFORMATICS PRACTICES ONLY

1 In Python, string content is accepted within a pair of single quotes ' ' or within a pair of
double quotes " ".

2 In MySQL, CHAR/VARCHAR/DATE type content is accepted within a pair of single quotes ' ' or
within a pair of double quotes " ".

3 In MySQL commands, lowercase/UPPERCASE both are correct.

4 In MySQL output questions, column headings to be ignored.

5 In MySQL output questions, alignment (left/right) of content to be ignored.

6 All answers/codes are suggestive, any other alternative correct answers to be accepted.

- 2 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

General Instructions:
(i) This question paper contains five sections, Section A to E.
(ii) All questions are compulsory.
(iii) Section A has 18 questions carrying 1 mark each.
(iv) Section B has 7 Very Short Answer type questions carrying 2 marks each.
(v) Section C has 5 Short Answer type questions carrying 3 marks each.
(vi) Section D has 3 Long Answer type questions carrying 5 marks each.
(vii) Section E has 2 questions carrying 4 marks each. One internal choice is given in Q. 35 against
Part E only.
(viii) All programming questions are to be answered using Python language only.

Section A

1. A is a network device that can receive the data, analyse it and transmit
it to other networks. 1
(a) Modem (b) Switch
(c) Repeater (d) Router

Ans 1. d) Router

(1 Mark for Correct Answer)

2. We need to exhibit proper manners and etiquettes while being online. Pick up 1
one such net etiquette from the following :
(a) Do not share the expertise
(b) Respect privacy and diversity
(c) Feed the troll
(d) Copyright violation

Ans 2. (b) Respect privacy and diversity

(1 Mark for Correct Answer)

3. A patent protects an invention for years, after which it 1


can be freely used.
(a) 40 (b) 30
(c) 20 (d) 10

Ans 3. (c) 20

(1 Mark for Correct Answer)


Note:
Full 1 mark to be awarded if question not/wrongly attempted, but
question 16 and/or question 23 (a) is/are correctly attempted.

4. Write the output of the following SQL query : 1


SELECT LCASE(SUBSTR("Project Management",9,6));
(a) Manag (b) Manage
(c) MANAGE (d) manage

- 3 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

Ans 4. (d) manage

(1 Mark for Correct Answer)

5. Write the output of the following SQL command : 1


select pow(2,2*2);
(a) 16 (b) 2
(c) 4 (d) 8

Ans 5. (a) 16

(1 Mark for Correct Answer)

6. E-waste contains that causes respiratory disorders and 1


brain damage.
(a) Cadmium (b) Beryllium
(c) Lead (d) Mercury

Ans 6. Any one/two/three or all of the given option(s) to be accepted as correct


answer.

(1 Mark for marking any one/two/three or all of the given option(s))

7. In SQL, returns the month name from the specified date. 1

(a) MONTH()
(b) DATE()
(c) MONTHNAME()
(d) NOW()

Ans 7. (c) MONTHNAME()

(1 Mark for Correct Answer)

8. Which of the following SQL function returns the number of values in the 1
specified column ignoring the NULL values ?
(a) COUNT(*)
(b) COUNT(columnname)
(c) LENGTH(*)
(d) LENGTH(columnname)

Ans 8. (b) COUNT(columnname)

(1 Mark for Correct Answer)

9. helps to fetch a group of rows based on common values in a column. 1

(a) ORDER BY (b) FILTER


(c) GROUP BY (d) SELECT BY

Ans 9. (c) GROUP BY

(1 Mark for Correct Answer)

- 4 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

10. What will be the output of the Python program mentioned below ? 1
import pandas as pd
df=pd.DataFrame(['Apple','Banana','Orange','Grapes','Guava'])
print(df[2:4:2])
(a) 0
2 Banana
(b) 0
2 Orange
(c) 0
2 Banana
4 Grapes
(d) Empty DataFrame
Columns:[0]
Index:[ ]

Ans 10. (b) 0


2 Orange

(1 Mark for Correct Answer)

11. Which of the following is a one-dimensional array containing a sequence of 1


values in Python ?
(a) Relation (b) DataFrame
(c) Series (d) Square

Ans 11. (c) Series

(1 Mark for Correct Answer)

12. In Python Pandas, head(n) method returns the first n members of the 1
series. What is the default value of n ?
(a) 2 (b) 3
(c) 4 (d) 5

Ans 12. (d) 5

(1 Mark for Correct Answer)

13. is a service that allows to put a website or a web page on the Internet. 1
(a) Web Server
(b) Web Browser
(c) Web Hosting
(d) Domain Name System

Ans 13. (c) Web Hosting

(1 Mark for Correct Answer)

- 5 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

14. Find the output of the following SQL queries : 1


Select INSTR("Data Science","ie");
(a) 8 (b) 5
(c) True (d) False

Ans 14. (a) 8

(1 Mark for Correct Answer)

15. Rupam created an assistive device for the blind. This device is very helpful for 1
the blind and people with low vision. Now, she wants that no one should copy
her innovation. What should she do ?
(a) Get the trademark for her invention
(b) Get the license for her invention
(c) Get the patent for her invention
(d) Get the copyright for her invention

Ans 15.
(c) Get the patent for her invention

(1 Mark for Correct Answer)


Note:
Any one/two/three or all of the given option(s) to be accepted as correct
answer.

Full 1 mark to be awarded if question not/wrongly attempted, but


question 16 and/or question 23 (a) is/are correctly attempted.

16. Presenting someone else’s idea or work as one’s own idea or work is called: 1
(a) Phishing (b) Stacking
(c) Plagiarism (d) Bullying

Ans 16. (c) Plagiarism

(1 Mark for Correct Answer)

For Questions number 17 and 18, two statements are given - one labelled
as Assertion(A) and the other labelled as Reason (R). Select the correct
answer to these questions from the code(a),(b), (c) and (d) as given below:

(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.

- 6 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

17. Assertion (A): Modem stands for ‘Modulator Demodulator’ 1


Reason (R): The modem at the sender’s end acts as a demodulator that
converts the digital data into analogue signals and at the receiver’s
end acts as a modulator that converts analogue signals into digital
data.

Ans 17. (c) Assertion(A) is true but Reason(R) is false.

(1 Mark for Correct Answer)

18. Assertion (A): In order to be able to use Python’s data visualization 1


library, we need to import the pyplot module from matplot
library.
Reason (R): The pyplot module houses a variety of functions required
to create and customize charts or graphs.

Ans 18. (a) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct
explanation of Assertion (A).

(1 Mark for Correct Answer)

Section B

19. (a) Write any one main advantage and one main disadvantage of Star Topology. 2

Ans One main advantage of Star Topology:


19. (a) Centralized control and management makes it easy to monitor, troubleshoot,
and scale the network.

Other points to be accepted:


● reliable – if one cable or device fails then all the others will still work.
● high-performing as no data collisions can occur.
● Easier to install.
● Easy fault detection.
● No disruptions to the network when connecting or removing devices.
Or Any other valid point.

One main disadvantage of Star Topology :


Dependence on the central hub or switch. If the central hub fails, the entire
network becomes inaccessible.

Other points to be accepted:


● More Cable required
● More expensive.
Or Any other valid point

(1 Mark for Any one correct advantage)


(1 Mark for Any one correct disadvantage)

OR

- 7 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(b) With reference to browsing the websites, briefly explain the term cookie. Also 2
mention any two points of significance of it.

Ans A cookie is a small piece of data that a website sends to a user's web browser.
(b) The browser stores this data and sends it back to the website each time the
user visits it again.

Any two points of significance of cookies from the following:


1. Helps in analyzing the user’s browsing pattern/interests.
2. Helps in recognizing the user’s computer activity(website’s loginids,
shopping carts)
3. Helps in customizing the website’s experience for a user.
Or Any other valid point

(1 Mark for explaining the term)


(½ Mark each for any two correct points of Significance)

20. Arpit wants to find the total commission earned by those departments where 2
the number of employees in the department is more than 2 and writes the
following query :

Select department, count(commission) from TECHNO having


count(*)>2 group by department;
But he got an error. Identify the error(s) and rewrite the query by underlining
the correction(s) done.

Ans 20. Error 1 : SUM(commission) in place of count(commission)


Error 2 : having should be after group by

Corrected Query:
SELECT department, SUM(commission) FROM TECHNO
GROUP BY department HAVING count(*)>2 ;

(½ Mark each for Identifying each of the two errors)


(½ Mark each for rewriting query after correcting each of the two errors)

Note: Full 2 Marks to be awarded if only corrected query is written.

21. Ananya, a database executive, needs to display a system’s current date and 2
time. Suggest to her a suitable SQL function name. Also write the query for the
same.

Ans 21. NOW()


SELECT NOW();

(1 Mark for writing NOW())


(1 Mark for correct query)
Note: Full 2 Marks to be awarded if only correct query is written.

- 8 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

22. Shobit needs to create the following two series named ‘Eng’ and ‘Math’. Help 2
him to create a DataFrame ‘mydata’ from the given series ‘Eng’ and ‘Math’.

Eng Math

Aditi 25 Aditi 9
bhavuk 21 bhavuk 29
chirag 23 chirag 15
deepak 24 deepak 14
Gaurav 27 Gaurav 20
dtype: int64 dtype: int64

Ans 22. import pandas as pd


eng_data = {'Aditi': 25, 'bhavuk': 21, 'chirag': 23,
'deepak': 24, 'Gaurav': 27}

Eng = pd.Series(eng_data, name='Eng')

math_data = {'Aditi': 9, 'bhavuk': 29, 'chirag': 15,


'deepak': 14, 'Gaurav': 20}

Math = pd.Series(math_data, name='Math')

mydata = pd.DataFrame({'Eng': Eng, 'Math': Math})

OR

import pandas as pd
Eng = pd.Series([25,21,23,24,27],
index=['Aditi','bhavuk','chirag','deepak','Gaurav'],name='E
ng')
Math = pd.Series([9,29,15,24,20],
index=['Aditi','bhavuk','chirag','deepak','Gaurav'],name='M
ath')
mydata = pd.concat([Eng, Math], axis=1)

(½ Mark each for creating two series)


(1 Mark for creating DataFrame from the two series)

23. What do you understand about Copyright Infringement ? What can be done as a 2
(a) user to avoid Copyright Infringement ?

Ans 23. Copyright infringement refers to the unauthorized use, reproduction, or


(a) distribution of copyrighted material without the permission of the copyright
holder.
To avoid copyright infringement, users should obtain permission, use licensed
content, create their own original works, or use open source content.
- 9 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for correct definition or explanation of Copyright infringement


with/without the help of any example)

(1 Mark for Any one correct suggestion to avoid Copyright Infringement)

OR

(b) What is meant by Trademark Infringement ? What action can the owner take 2
against someone who infringes its registered trademark ?

Ans (b) Trademark infringement occurs when someone uses a registered trademark
without permission.

The owner can take legal action against the infringer, seeking actions like
injunctions, damages, orders to cease the infringing activities, to protect their
brand and enforce their exclusive rights.

(1 Mark for correct meaning)


(1 Mark for correct suggestive action)

Note:
Full 2 Marks to be awarded if infringement of any Intellectual property is
explained and action suggested

OR
Full 2 Marks to be awarded if question not/wrongly attempted, but
question 16 and/or question 23 (a) is/are correctly attempted.

24. What will be the output of the following code ? 2

import pandas as pd
S1=pd.Series(data=[1,7])
S2=pd.Series(S1+S1)
print(S2)

Ans 24. 0 2
1 14

(1 Mark for each correct line of output)


Note: No Marks to be deducted if indexes are not mentioned.

25. Carefully observe the following code : 2

import pandas as pd
product={'prodid':pd.Series([1,2,3,4,5]),
'pname':pd.Series(['pen', 'pencil', 'eraser',
'color', 'sharpener']),
'qty':pd.Series([2,10,10,30,10]),
'price':pd.Series([300,20,50,40,15])}
stock=pd.DataFrame(product)
print(stock)

- 10 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

Write Python statements for the following :


(i) Display the names of products.
(ii) Rename the column ‘price’ to ‘newprice’ in the DataFrame stock.

Ans 25. (i) print(stock['pname'])


(ii) stock.rename({'price':'newprice'},axis='columns',
inplace=True)
OR
(ii)stock.rename({'price':'newprice'},axis=1, inplace=True)
OR
(ii) stock.columns = ['prodid', 'pname', 'qty', 'newprice']

(1 Mark for writing each part correctly)

Section C

26. Consider the table Customer given below and write SQL commands : 3

TABLE : Customer

CustID Name Country Emailid Orderdate

C1001 Rajat India rajat@gmail.com 2022-12-22

C1002 Michael Denmark mic@yahoo.com 2023-11-15

C1003 Riyo Thailand Ri@gmail.com 2022-05-06

C1004 Jennifer S.Korea Jen@gmail.com 2022-08-07

C1005 Sudha India Sud@abc.com 2023-01-01

C1006 Vivek Nepal viv@xyz.com 2023-04-14

(i) Display the details of all customers who have placed the order in the year
2023.

Ans(i) SELECT * FROM Customer WHERE YEAR(Orderdate)=2023;


OR
SELECT * FROM Customer WHERE YEAR(Orderdate) IN ('2023');
OR
SELECT * FROM Customer WHERE YEAR(Orderdate) IN (2023);
OR
SELECT * FROM Customer WHERE YEAR(Orderdate) LIKE '2023';
OR
SELECT * FROM Customer WHERE YEAR(Orderdate) LIKE 2023;

(½ Mark for SELECT)


(½ Mark for WHERE clause)

- 11 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(ii) Count the total number of customers from India.

Ans (ii) SELECT COUNT(*) FROM Customer WHERE Country= 'India';


OR
SELECT COUNT(Country) FROM Customer WHERE Country =
'India';

(½ Mark for COUNT())


(½ Mark for WHERE clause)
Note:
IN / LIKE operators to be accepted in place of = operator for condition
matching

(iii) Display the last 9 characters of the email id of all customers of Denmark.

Ans(iii) SELECT RIGHT(Emailid,9) FROM Customer WHERE Country=


'Denmark';
OR
SELECT RIGHT(Emailid,9) FROM Customer WHERE Country
IN('Denmark');
OR
SELECT RIGHT(Emailid,9) FROM Customer WHERE Country LIKE
'Denmark;

(½ Mark for RIGHT())


(½ Mark for WHERE clause)

27. Write a program in Python Pandas to create a series “car” from the following 3
Dictionary :
dic={
"Model":["Samurai","Accord","CR-V","Nexon"],
"Brand":["Suzuki","Honda","Honda","Tata"],
"Make":[1993,1997,1997,2021]}

Ans 27. import pandas as pd

dic = {
"Model": ["Samurai", "Accord", "CR-V", "Nexon"],
"Brand": ["Suzuki", "Honda", "Honda", "Tata"],
"Make": [1993, 1997, 1997, 2021]
}

car = pd.Series(dic)

(1 Mark for import statement)


(1 Mark for creating dictionary)
(1 Mark for creating Series from dictionary)

(Note: Marks Not to be deducted if instead of Series, DataFrame is


created)

- 12 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

28. Consider the given DataFrame 'result’: 3


Name Percentile
0 Rohit 95
1 Mohit 76
2 Raman 98
3 Aditya 47
Write the suitable Python statements for the following :

(i) Add a new column ‘Grade’ to the dataframe having values A,B,A,C

Ans(i) result['Grade']=['A','B','A','C']

(½ Mark for adding the Column Grade)


(½ Mark for putting the right values)

(ii) Add a new row where Name is ‘Arti’ with Percentile as 92 and Grade A.

Ans (ii) result.loc[4]=['Arti',92,'A']

(½ Mark for using loc)


(½ Mark for putting right values)

(iii) Display the top 3 rows.

Ans(iii) print(result.head(3))

(½ Mark for print)


(½ Mark for head())

29. (a) Riti received a message that she needs to update the KYC for her Bank Account 3
therefore she should upload her Aadhar Card, Bank Account Number and the
OTP on the link given in her message.
Answer the following questions :
(i) Should Riti upload the documents and give the OTP on the link ?

Ans(i) No, Riti should not upload the documents and give the OTP on the link

(1 Mark for correct answer)

(ii) Should Riti call her bank immediately to recheck the validity of the message
received ?

Ans (ii) Yes, Riti should call her bank immediately to recheck the validity of the
message received

(1 Mark for correct answer)

(iii) What is the act mentioned in the message known as ?

Ans (iii) Phishing


OR
Cyber Crime
(1 Mark for correct answer)
- 13 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

OR

(b) Briefly explain the term FOSS. Give examples of any 2 Operating Systems that 3
are FOSS.

Ans (b) FOSS (Free and Open-Source Software) refers to software that gives users
freedom to study, use, modify, and distribute the software.

Examples of FOSS operating systems include Linux (e.g., Ubuntu, Fedora) and
FreeBSD.

(2 Marks for correct explanation)


(½ Mark each for Any two valid examples)

30. (a) Write the output (i-iii) for the following SQL commands : 3

Table : CLUB
SNo Activity Fee Days
1 Swimming 10000 M, W
2 Singing 8000 Th, S
3 Dance 12000 M, W
4 Drawing 7000 T, Th
5 Craft 8000 F, S
6 Cooking 9000 T, F

(i) SELECT COUNT(*) FROM CLUB;

Ans(i) 6

(1 Mark for correct answer)

(ii) SELECT SUM(Fee) FROM CLUB;

Ans(ii) 54000

(1 Mark for correct answer)

(iii) SELECT LEFT(Activity,2) FROM CLUB WHERE Days='M,W';

Ans(iii) Sw
Da

(½ Mark for each correct line of output)

OR

(b) Find the output of the following SQL queries : 3

(i) SELECT MID("Exam",1,2);

Ans (i) Ex

(1 Mark for correct answer)


- 14 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(ii) SELECT MONTHNAME("2023-05-30");

Ans(ii) May

(1 Mark for correct answer)

(iii) SELECT MONTH("2023-03-05");

Ans(iii) 3

(1 Mark for correct answer)


Note: 03 to be accepted

Section D
31. (a) Write the SQL queries which will perform the following operations : 5

(i) To display the day part from your date of admission, which is ‘2023-12-13’

Ans(i) SELECT DAY('2023-12-13');

(½ Mark for SELECT)


(½ Mark of DAY())

(ii) To convert your father’s email id ‘xyz@abc.com’ to uppercase.

Ans(ii) SELECT UCASE('xyz@abc.com');

OR
SELECT UPPER('xyz@abc.com');
(½ Mark for SELECT)
(½ Mark of UCASE()/UPPER())

(iii) To count the number of characters in the string ‘India’

Ans(iii) SELECT LENGTH('India');

(½ Mark for SELECT)


(½ Mark of LENGTH())

(iv) To display today’s day name i.e., Sunday or Monday …

Ans(iv) SELECT DAYNAME(NOW());


OR
SELECT DAYNAME(SYSDATE());
OR
SELECT DAYNAME(CURDATE());
(½ Mark for SELECT)
(½ Mark of dayname(now())
OR
(½ Mark of dayname(sysdate())
(½ Mark of dayname(curdate())

- 15 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(v) To display your height 5.41 after rounding off to 1 decimal place.

Ans(v) SELECT ROUND(5.41,1);

(½ Mark for SELECT)


(½ Mark of ROUND())

OR

(b) Explain the following SQL functions using suitable examples : 5

(i) LTRIM()

Ans(i) LTRIM() function is used to remove any leading spaces (whitespace


characters) from a string.
Example:
SELECT LTRIM(' HELLO') ;
Output:
HELLO

(1 Mark for correctly explaining the function through example)


OR
(½ Mark for only explanation without any example)
Note:
No Marks to be deducted if only correct example is written

(ii) RTRIM( )

Ans(ii) RTRIM() function is used to remove any trailing spaces (whitespace


characters) from a string.

Example:
SELECT RTRIM('HELLO ') ;

Output:
HELLO

(1 Mark for correctly explaining the function through example)


OR
(½ Mark for only explanation without any example)
Note:
No Marks to be deducted if only correct example is written

(iii) INSTR( )

Ans(iii) The INSTR() function is used to find the starting position of a substring
within a larger string.
Example:
SELECT INSTR("SCIENCE","IE");
Output:
3
- 16 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for correctly explaining the function through example)


OR
(½ Mark for only explanation without any example)
Note:
No Marks to be deducted if only correct example is written

(iv) MOD( )

Ans(iv) MOD() function is used to calculate the remainder of a division operation


between two numbers.
Example:

SELECT MOD(10,4) ;
Output:
2

(1 Mark for correctly explaining the function through example)


OR
(½ Mark for only explanation without any example)
Note:
No Marks to be deducted if only correct example is written

(v) TRIM( )

Ans(v) TRIM() function is used to remove leading and trailing spaces (whitespace
characters) from a string.
Example:
SELECT TRIM(' HELLO ') ;
Output:
HELLO

(1 Mark for correctly explaining the function through example)


OR
(½ Mark for only explanation without any example)
Note:
No Marks to be deducted if only correct example is written

32. AWESOME Private Ltd, Dehradun is a company that deals with hardware 5
components. They have different divisions HR (A1), Sales (A2), Production (A3)
and Marketing (A4). The layout of the Dehradun branch is :

The company also has a branch in Mumbai. The management wants to connect
all the divisions as well as the computers of each division (A1, A2, A3, A4).

- 17 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

Distance between the wings are as follows :


A3 to A1 32m
A1 to A2 53m
A2 to A4 29m
A4 to A3 110m
A3 to A2 750m
A1 to A4 200m
Dehradun Head Office to Mumbai Office 1656 KM

Number of computers in each wing :


A1 70
A2 140
A3 55
A4 70
Based on the above specifications, answer the following questions :

(a) Suggest the topology and draw the most efficient cable layout for connecting
all the divisions of the Dehradun branch.

Ans (a)
STAR Topology BUS Topology

(½ Mark for suggesting the correct topology )


(½ Mark for drawing the cable layout according to the suggested topology)

(b) Suggest the kind of network required (out of LAN, MAN, WAN) for connecting
Production (A3) with Sales (A2).

Ans(b) LAN

(1 Mark for suggesting the correct kind of network)

(c) Suggest the placement of the server. Explain the reasons for your selection.

Ans(c) Placement : SALES (A2)


It has maximum number of computers.

(½ Mark for suggesting the correct placement)


(½ Mark for explaining correct reason )
- 18 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(d) Suggest the placement of the Switch/Hub with justification.

Ans(d) One switch/hub in each division.


A switch/hub will be placed in each division to interconnect devices present in
that division.

(½ Mark for suggesting the correct placement)


(½ Mark for justification )

(e) The company wants to do a collaborative project where the employees of


Dehradun and Mumbai would collaborate and do the project. Therefore, the HR
planned a series of webinars that employees could attend from their devices
being online. Suggest the protocol that helped to send the voice signals over the
Internet.
Also, give an example of a video conferencing software that helps to connect all
the employees.
Ans (e) Protocol: VoIP or Voice over Internet protocol
Example of video conferencing software: Google Meet, Zoom, Webex, MS
Teams, Whereby (Any One)
(or any other correct video conferencing software name)
(½ Mark for suggesting the correct protocol)
(½ Mark for explaining correct example of software name)

33. Consider the following graph. Write the Python code to plot it. Also add the 5
(a) Title and Label for X and Y axis.
Use the following data to draw the graph.
Class Marks
7 83
8 75
9 81
10 72
11 88
12 86

- 19 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

Ans 33 import matplotlib.pyplot as plt


(a) cl = [7,8,9,10,11,12]
avmarks=[83,75,81,72,88,86]
plt.plot(cl,avmarks)
plt.title("AVERAGE RESULT OF CLASS VII-XII")
plt.xlabel('CLASS')
plt.ylabel('AVERAGE MARKS SCORED')
plt.show()

(1 Mark for correct import statement)


(1 Mark for correct use of plot())
(1 Mark for correct use of title())
(½ Mark for correct use of xlabel())
(½ Mark for correct use of ylabel())
(1 Mark for correct use of show())

Note:
Arrow symbols for X and Y axis to be ignored

OR

(b) Write a Python code to draw the following bar graph representing the average 5
marks secured by each student in Term - 2 Exam. Add the Title and Label for
X-axis and Y-axis. Use the following data to draw the graph:

Names Average Marks


Ruby 84
Yugesh 92
Vishesh 45
Rakesh 72

Ans (b) import matplotlib.pyplot as plt


names = ['ruby','yugesh','Vishesh','Rakesh']
averagemarks=[84,92,45,72]
plt.bar(names,averagemarks)
plt.title("RESULT OF TERM-2 EXAM")
plt.xlabel('STUDENT NAMES')
plt.ylabel('AVERAGE MARKS SCORED')
plt.show()
- 20 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for import statement)


(1 Mark for correct use of bar())
(1 Mark for correct use of title())
(½ Mark for correct use of xlabel())
(½ Mark for correct use of ylabel())
(1 Mark for correct use of show())
Note:
Arrow symbols for X and Y axis to be ignored

Section E

34. Consider the following table Student :


Table: STUDENT
Admn Name Class Optional Marks
1001 Tony 10 AI 90
1002 Ivana 11 IP 95
1003 Nick 10 IT 85
1004 Sandy 11 IP 80
1005 Kavya 11 IP 92
Write SQL queries for the following:

(a) Display the Total Marks secured by students of each class. 1

Ans(a) SELECT Class, SUM(Marks)


FROM STUDENT GROUP BY Class;
OR
SELECT Class, SUM(Marks) "Total Marks"
FROM STUDENT GROUP BY Class;
OR
SELECT SUM(Marks)
FROM STUDENT GROUP BY Class;

(½ Mark for SELECT SUM(Marks))


(½ Mark for FROM STUDENT GROUP BY Class)

(b) Display the Average Marks secured by the students of IP optional subject 1

Ans (b) SELECT AVG(Marks) FROM STUDENT WHERE Optional="IP";

(½ Mark for SELECT AVG(Marks) FROM STUDENT )


(½ Mark for WHERE Optional="IP" )

(c) Display the total number of students in each Class where the number of 2
students are more than 2.

Ans (c) SELECT Class, COUNT(*) FROM STUDENT


GROUP BY Class HAVING COUNT(*)>2;
OR
SELECT COUNT(*) FROM STUDENT
GROUP BY Class HAVING COUNT(*)>2;

- 21 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for writing SELECT COUNT(*) FROM STUDENT )


(1 Mark for writing GROUP BY Class HAVING COUNT(*)>2)

OR

(c) Display the maximum and minimum marks secured in each optional subject. 2

Ans (c) SELECT Optional, MAX(Marks), MIN(Marks) FROM STUDENT


GROUP BY Optional;

OR

SELECT MAX(Marks), MIN(Marks) FROM STUDENT


GROUP BY Optional;

(1 Mark for writing SELECT MAX(Marks), MIN(Marks) FROM STUDENT )


(1 Mark for writing GROUP BY Optional )

35. Consider the following DataFrame ‘employee’:

EID EName Department Salary


1 John IT 50000
2 Ria MKT 45000
3 Shibhit IT 55000
4 Aditya MKT 60000
5 Rashi ADMIN 52000

(a) Write Python statements for the DataFrame ‘employee’:

(i) To remove the column ‘Salary’. 1

Ans(i) employee=employee.drop('Salary', axis=1)


OR
employee.drop('Salary', axis=1, inplace=True)

(1 Mark for writing the correct Python statement)

(ii) To remove the row having index 4. 1

Ans(ii) employee=employee.drop(employee.index[4])
OR
employee.drop(employee.index[4], inplace=True)

(1 Mark for writing the correct Python statement)

(b) Write Python statement to save the DataFrame ‘employee’ to a CSV file 2
data.csv stored in D: drive of the computer

Ans (b) employee.to_csv('d:\\data.csv')


OR
employee.to_csv('d:/data.csv')

- 22 of 23-
CBSE SSCE 2023 Marking Scheme for Informatics Practices
Series HEFG/C (Sub Code: 065 Paper Code 90) SET-4

(1 Mark for writing employee.to_csv)


(1 Mark for writing the correct path)

OR

(b) Write a Python statement to display the new salary i.e., salary increased by 2
5000 for all employees.

Ans (b) employee['new_salary'] = employee['salary'] + 5000


print(employee['new_salary'])
OR
print(employee['salary']+5000)

(1½ Marks for increasing salary by 5000)


(½ Mark for writing print())

- 23 of 23-
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

Marking Scheme
Strictly Confidential (For Internal and Restricted use only)
Senior Secondary School Certificate Examination, 2024
SUBJECT NAME: INFORMATICS PRACTICES (SUBJECT CODE 065) (PAPER CODE 90/S)
1 You are aware that evaluation is the most important process in the actual and correct
assessment of the candidates. A small mistake in evaluation may lead to serious problems
which may affect the future of the candidates, education system and teaching profession. To
avoid mistakes, it is requested that before starting evaluation, you must read and understand
the spot evaluation guidelines carefully.

2 “Evaluation policy is a confidential policy as it is related to the confidentiality of the


examinations conducted, Evaluation done and several other aspects. Its’ leakage to public in
any manner could lead to derailment of the examination system and affect the life and future
of millions of candidates. Sharing this policy/document to anyone, publishing in any magazine
and printing in News Paper/Website etc. may invite action under various rules of the Board
and IPC.”
3 Evaluation is to be done as per instructions provided in the Marking Scheme. It should not be
done according to one’s own interpretation or any other consideration. Marking Scheme should
be strictly adhered to and religiously followed. However, while evaluating, answers which are
based on latest information or knowledge and/or are innovative, they may be assessed for
their correctness otherwise and due marks be awarded to them. In class-XII, while evaluating
two competency-based questions, please try to understand given answer and even if reply is
not from marking scheme but correct competency is enumerated by the candidate, due marks
should be awarded.

4 The Marking scheme carries only suggested value points for the answers
These are in the nature of Guidelines only and do not constitute the complete answer. The
students can have their own expression and if the expression is correct, the due marks should
be awarded accordingly.

5 The Head-Examiner must go through the first five answer books evaluated by each evaluator
on the first day, to ensure that evaluation has been carried out as per the instructions given
in the Marking Scheme. If there is any variation, the same should be zero after deliberation
and discussion. The remaining answer books meant for evaluation shall be given only after
ensuring that there is no significant variation in the marking of individual evaluators.

6 Evaluators will mark( ✓ ) wherever answer is correct. For wrong answer CROSS ‘X’ be marked.
Evaluators will not put right (✓) while evaluating which gives an impression that answer is
correct and no marks are awarded. This is most common mistake which evaluators are
committing.

7 If a question has parts, please award marks on the right-hand side for each part. Marks awarded
for different parts of the question should then be totaled up and written in the left-hand
margin and encircled. This may be followed strictly.

8 If a question does not have any parts, marks must be awarded in the left-hand margin and
encircled. This may also be followed strictly.

9 If a student has attempted an extra question, answer of the question deserving more marks
should be retained and the other answer scored out with a note “Extra Question”.

10 No marks to be deducted for the cumulative effect of an error. It should be penalized only
once.

Page No. 1
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
11 A full scale of marks 70 (marks as given in Question Paper) has to be used. Please do not
hesitate to award full marks if the answer deserves it.

12 Every examiner has to necessarily do evaluation work for full working hours i.e., 8 hours every
day and evaluate 20 answer books per day in main subjects and 25 answer books per day in
other subjects (Details are given in Spot Guidelines).This is in view of the reduced syllabus and
number of questions in question paper.

13 Ensure that you do not make the following common types of errors committed by the
Examiner in the past:-
● Leaving answer or part thereof unassessed in an answer book.
● Giving more marks for an answer than assigned to it.
● Wrong totaling of marks awarded on an answer.
● Wrong transfer of marks from the inside pages of the answer book to the title page.
● Wrong question wise totaling on the title page.
● Wrong totaling of marks of the two columns on the title page.
● Wrong grand total.
● Marks in words and figures not tallying/not same.
● Wrong transfer of marks from the answer book to online award list.
● Answers marked as correct, but marks not awarded. (Ensure that the right tick mark is
correctly and clearly indicated. It should merely be a line. Same is with the X for incorrect
answer.)
● Half or a part of answer marked correct and the rest as wrong, but no marks awarded.

14 While evaluating the answer books if the answer is found to be totally incorrect, it should be
marked as cross (X) and awarded zero (0) Marks.

15 Any unassessed portion, non-carrying over of marks to the title page, or totaling error detected
by the candidate shall damage the prestige of all the personnel engaged in the evaluation work
as also of the Board. Hence, in order to uphold the prestige of all concerned, it is again
reiterated that the instructions be followed meticulously and judiciously.

16 The Examiners should acquaint themselves with the guidelines given in the “Guidelines for
Spot Evaluation” before starting the actual evaluation.

17 Every Examiner shall also ensure that all the answers are evaluated, marks carried over to the
title page, correctly totaled and written in figures and words.

18 The candidates are entitled to obtain photocopy of the Answer Book on request on payment of
the prescribed processing fee. All Examiners/Additional Head Examiners/Head Examiners are
once again reminded that they must ensure that evaluation is carried out strictly as per value
points for each answer as given in the Marking Scheme.

Page No. 2
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
SPECIFIC INSTRUCTIONS FOR INFORMATICS PRACTICES ONLY
1 In Python, string content is accepted within a pair of single quotes ' ' or within a pair of
double quotes " ".

2 In MySQL, CHAR/VARCHAR/DATE type content is accepted within a pair of single quotes ' '
or within a pair of double quotes " ".

3 In MySQL commands, lowercase/UPPERCASE both are correct.

4 In MySQL output questions, column headings to be ignored.

5 In MySQL output questions, alignment (left/right) of content to be ignored.

6 All answers/codes are suggestive, any other alternative correct answers to be accepted.

Page No. 3
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

SECTION-A
1. What does a modem do at the sender’s end ? 1
(A) It converts analog signals into digital data.
(B) It converts digital data into analog signals.
(C) It converts digital data into optical signals.
(D) It converts optical signals into digital data.
Ans (B) It converts digital data into analog signals.
(1 Mark for the correct answer)
2. Which out of the following cannot be included in digital footprint ? 1
(A) Submitting the form online
(B) Searching for your friend’s address online
(C) Walking on the beach
(D) Online shopping
Ans (C) Walking on the beach
(1 Mark for the correct answer)

3. Emma is a student working on her research project. She finds a well-written paragraph on 1
the Internet that perfectly explains the concept that she wants to include in her project.
She copies and pastes the paragraph as it is into her research paper. Her research paper did
not get selected due to plagiarism. What is the one way out of the following that Emma
could have followed to avoid plagiarism in this case ?
(A) Copying the content from a book in her college library.
(B) Rewriting the paragraph in her own words and citing the original source.
(C) Asking her friends for information and using it in her research paper, without mentioning
her friend’s input.
(D) Posting the paper on her college website.
Ans (B) Rewriting the paragraph in her own words and citing the original source.

(1 Mark for the correct answer)


4. What will be the output of the following query? 1
SELECT MOD (5, 15);
(A) 10 (B 3
)
(C) 0 (D 5
)
Ans (D) 5

(1 Mark for the correct answer)


5. Which of the following aggregate function returns the average of values in a specified column 1
of a MySQL table ?
(A) AVG(Column) (B) AVERAGE(Column)

Page No. 4
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
(C) MEAN(Column) (D) TOTAL(Column)
Ans (A) AVG(Column)

(1 Mark for the correct answer)


6. For how long does a patent typically protect an invention ? 1
(A) 5 years (B 10 years
)
(C) 20 years (D 50 years
)
Ans (C) 20 years

(1 Mark for the correct answer)


7. In Pandas library of Python, a one-dimensional array containing a sequence of values of any 1
datatype is known as :
(A) DataFrame (B Histogram
)
(C) Series (D Panel
)
Ans (C) Series
(1 Mark for the correct answer)
8. Now() in MySQL returns _______________. 1
(A) Today’s date (B Today’s date and current
) time
(C) System’s date and time (D Name of active database
)
Ans (C) System’s date and time
(1 Mark for the correct answer)
9. What will be the output of the following query ? 1
SELECT SUBSTR("Swachh Survekshan",2,4)

(A) wac (B wach


)
(C) shan (D achh
)
Ans (B) wach
(1 Mark for the correct answer)
10. What will be the output of the following Python code ? 1
import pandas as pd
dd={'Jan':31,'Feb':28,'Mar':31,'Apr':30}
rr=pd.Series(dd)
print(rr)
(A) Jan 31
Feb 28
Mar 31
Apr 30
dtype: int64
(B) Jan Feb Mar Apr
31 28 31 30
Page No. 5
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
dtype: int64

(C) Jan – 31
Feb – 28
Mar – 31
Apr – 30
dtype: int64
(D) Jan Feb Mar Apr
| | | |
31 28 31 30
dtype: int64
Ans (A) Jan 31
Feb 28
Mar 31
Apr 30
dtype: int64
(1 Mark for the correct answer)
11. With respect to databases, a row in a relation is also known as a/an __________. 1
(A) Attribute (B Tuple
)
(C) Field (D Domain
)
Ans (B) Tuple

(1 Mark for the correct answer)


12. Which of the following command is used to display first three rows of a DataFrame 'DF' ? 1
(A) DF.head()
(B) DF.header()
(C) DF.head(3)
(D) DF.Head(3)
Ans (C) DF.head(3)

(1 Mark for the correct answer)


13. Which of the following Internet services is used for instant messaging ? 1
(A) Chat (B Email
)
(C) WWW (D Python
)
Ans (A) Chat
(1 Mark for the correct answer)
14. What is the output of the following SQL Query ? 1
SELECT INSTR("KNOWLEDGE","E");

(A) 7 (B 5
)
(C) 6 (D – 6
)
Ans (C) 6

Page No. 6
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
1 Mark for the correct answer)
15. Which of the following is not a feature of Open Source Software ? 1
(A) It can be shared with others without any licensing burden.
(B) It is same as free software.
(C) It can be downloaded on multiple devices.
(D) Its source code is available for free distribution.

Ans (B) It is same as free software.


(1 Mark for the correct answer)
16. What is a common symptom of extended use of digital devices these days ? 1
(A) Improved eyesight
(B) Enhanced physical fitness
(C) Eye strain
(D) Increased muscle strength

Ans (C) Eye strain


(1 Mark for the correct answer)
17. Assertion (A) : Hacking is a cyber crime. 1
Reason (R) : To avoid hacking, one should not share the password with anyone.
(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.

Ans (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not
the correct explanation of Assertion (A).
(1 Mark for the correct answer)
Note: Option (A) also to be accepted as the correct answer.
18. Assertion (A) : The Pandas library in Python is primarily used for creating static, animated and 1
interactive 2D plots or figures.
Reason (R) : Data visualization can be achieved with the help of a variety of charts and plots,
including static plots, animations, and interactive visualizations.
(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.

Ans (D) Assertion (A) is false, but Reason (R) is true.


(1 Mark for the correct answer)

Page No. 7
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

SECTION B
19. (a) Write one function each for the following network devices : 2
(i) MODEM
(ii) Router
Ans (i) Modem converts digital signals into analog signals and vice-versa.
(ii) Router receives data,analyzes it and transmits it to the destination through the best
possible route.

(1 Mark each for any correct function of each network device)


OR
(b) Write any one advantage and any one disadvantage of BUS topology. 2
Ans Advantage:
● It is relatively inexpensive to implement.
● It is easy to expand. New devices can be added to the network by connecting
them to the central cable.
● It is easy to troubleshoot.
Disadvantage:
● If the central cable fails, the entire network will be down.
● Since the whole transmission occurs through a central cable, there is a possibility
of data collision in the network.
● The number of devices that can be connected to a bus topology is limited.
● It is difficult to isolate a problem.

(1 Mark each for Any one correct advantage and Any one correct disadvantage of Bus
topology)
20. The Python code written below has syntactical errors. Rewrite the correct code and underline 2
the correction(s) made.
import Pandas as pd
countries=[{'country';'INDIA','capital':'New Delhi'},
{'country':'USA','capital':'New York'},
{'country':'JAPAN','capital':'Tokyo'}
df=pd.DataFrame(country)
print(df)
Ans import pandas as pd
countries=[{'country':'INDIA','capital':'New Delhi'},
{'country':'USA','capital':'New York'},
{'country':'JAPAN','capital':'Tokyo'}]
df=pd.DataFrame(countries)
print(df)
(½ mark each for each correction)
(Note: 1 mark to be awarded if errors are only identified and corrections are not
written)

Page No. 8
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
21. Consider the string 'PAINTING'. Write the SQL commands to display the following output : 2
(i) ING
(ii) INT
Ans (i) SELECT RIGHT('PAINTING',3);
OR
SELECT SUBSTR('PAINTING',6,3);
OR
SELECT SUBSTRING('PAINTING',6,3);
OR
SELECT MID('PAINTING',6,3);
(ii) SELECT SUBSTR('PAINTING',3,3);
OR
SELECT SUBSTRING('PAINTING',3,3);
OR
SELECT MID('PAINTING',3,3);
(1 Mark each for Any correct SQL commands)
22. Find the output of the following Python code : 2
import pandas as pd
vaccine_qty=pd.Series([10,16,1],index=["Typhoid",
"Tetanus","Hepatitis"])
cost=pd.Series([200,500,800],index=["Typhoid","Tetanus",
"Flu"])
print(vaccine_qty + cost)
Ans Flu NaN
Hepatitis NaN
Tetanus 516.0
Typhoid 210.0
dtype: float64
(½ Mark for each correct row of output)
Note: dtype: float64 to be ignored
Order of rows of output to be ignored
23. Define the following terms : 2
(i) Web Hosting
(ii) WWW

Ans (i) Web hosting is a service that provides storage for a website's files and network
infrastructure that makes the website available on Internet.
(ii) The World Wide Web (WWW) is an interconnected network of web pages and documents
accessible through the Internet.
(1 Mark each for each correct definition)
24. Consider the following Python code : 2
import pandas as pan
customer =[{'Name':'Alisha','Age':25,'Gender':'Female',
'Occupation':'Engineer'},
{'Name':'Rozer','Age':34,'Gender':'Male',______:

Page No. 9
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
'Analyst'},
{'Name':'Fazal','Age':28,'Gender':'Male',
'Occupation':'Developer'}]
df= _________.DataFrame(__________)
print(_________)

Complete the above given Python code to display the following output :

Name Age Gender Occupation


0 Alisha 25 Female Occupation
1 Rozer 34 Male Engineer
2 Fazal 28 Male Developer

Ans import pandas as pan


customer=[{'Name':'Alisha','Age':25,'Gender':'Female',
'Occupation':'Engineer'},
{'Name':'Rozer','Age':34,'Gender':'Male','Occupation':
'Analyst'},
{'Name':'Fazal','Age':28,'Gender':'Male',
'Occupation':'Developer'}]
df= pan.DataFrame(customer)
print(df)

(½ mark each for correct answer for each blank)


Note:
Full 2 marks to be awarded if ‘Occupation’ blank is not filled/incorrectly filled but other
3 blanks are correctly filled.
25. Write any two differences between DELETE and DROP TABLE command of MySQL. 2

DELETE DROP TABLE


It removes some or all rows from a It removes the complete table.
table.
It doesn't remove the table structure. It removes the table structure.
It is a DML command. It is a DDL command.
It can be used with ‘WHERE’ clause It cannot be used with ‘WHERE’ clause
(1 Mark each for Any 2 correct differences)
SECTION C
26. Consider the table BIKES given below :
Table : BIKES
Bid Bikename Brandname Biketype Cost
1001 Dream Racer Speedo Super 1980000
1002 Splendid Indiana NULL 50000
1003 Silver Wing Indiana Touring 2300000
1004 ZZZZ WMV Sports 1500000
1005 CH2H Speedo Super 470000
1006 Astor Victory Normal 1700000

Page No. 10
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
1007 CHANDRA WMV Adventure 3000000
1008 SWISS WMV Touring 4200000
1009 SWIFT ROADY Super 1900000
1010 CLOUD9 GEM Normal 1700000
(a) Write SQL commands for the following : 3
(i) Display Bikenames and their corresponding Brandnames in descending order of
cost.
(ii) Display Brandnames of bikes whose Biketype is not known.
(iii) Consider the following query :
SELECT*FROM BIKES WHERE Cost BETWEEN 200000 AND 3000000;
Write another query, using relational and logical operators which will produce
the same output.
(i) SELECT Bikename, Brandname FROM BIKES ORDER BY Cost DESC;
(ii) SELECT Brandname FROM BIKES WHERE Biketype IS NULL;
(iii) SELECT * FROM BIKES
WHERE Cost >= 200000 AND Cost<=3000000;
(1 Mark each for each correct SQL command)
OR

(b) Predict the output of the following queries based on the table BIKES given above : 3
(i) SELECT UCASE(TRIM(Brandname)) FROM BIKES
WHERE Bid = 1003;
(ii) SELECT COUNT(Biketype) FROM BIKES;
(iii) SELECT SUM(Cost), Brandname FROM BIKES
GROUP BY Brandname
Having Brandname = "WMV" OR Brandname = "Indiana";
Ans (i) INDIANA
(1 Mark for correct output)
(ii) 9
(1 Mark for correct output)
(iii)
SUM(Cost) Brandname
2350000 Indiana
8700000 WMV
(½ Mark each for each correct column/row)
Note: Ignore order of rows
27. Sejal, a Python programmer has been given the following tasks : 3
(i) Create two series – one to store various product names and the other to store the
corresponding price.
Each series should have appropriate row label as given below :
Product_name Product_price
B1001 Butterscotch 130
V3002 Vanilla 100
M4002 Mango Zap 150
Page No. 11
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
M4007 Magnum 190
C6005 Cassatta 200

(ii) Create a dictionary containing ‘Product_name’ and ‘Product_price’ as keys. Add


the series created in part (i) as their corresponding values.

(iii) Create a DataFrame from the above created dictionary of series.


Help her in writing the Python program to accomplish the above mentioned tasks.
Ans (i) import pandas as pd
D1=['Butterscotch','Vanilla','Mango Zap','Magnum','Cassatta']
D2=[130,100,150,190,200]
I=['B1001','V3002','M4002','M4007','C6005']
S1=pd.Series(D1,I)
S2=pd.Series(D2,I)
(1 Mark for correct answer)
Note: ½ mark to be awarded if Any 2 correct lines of code are written.
Note: Full 1 mark to be awarded if series are created using any other correct
method.
(ii) D={'Product_name':S1,'Product_price':S2}

(1 Mark for correct answer)


(iii) DF=pd.DataFrame(D)

(1 Mark for correct answer)


28. Answer the following questions based on the table Sales given below : 3
Table : Sales
id Name City Commission
E001 Naman Batra Chandigarh 20
E002 Rupesh Mann Delhi 15
E005 Ravi Gautam Mumbai 25
E006 Mukul Singh Delhi 30
E007 Ruby Rai Mumbai 19
E003 Raman Roy Kolkata 16
(i) Suggest the Primary key for the given table ?
(ii) Write the SQL command to insert the following data in the table Sales :
id → E009
Name → Sukumar
City → Nagpur
Commission → 10
(iii) Is the command used in part (ii) a DDL or a DML command ?
Ans (i) id

(1 Mark for correct answer)


(ii) INSERT INTO Sales VALUES('E009','Sukumar','Nagpur',10)
OR
INSERT INTO Sales VALUE('E009','Sukumar','Nagpur',10)
OR
INSERT INTO Sales(id, Name, City, Commision)
Page No. 12
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
VALUES('E009','Sukumar','Nagpur',10)
OR

INSERT INTO Sales(id, Name, City, Commision)


VALUE('E009','Sukumar','Nagpur',10)
(1 Mark for any correct answer)
(iii) DML
(1 Mark for correct answer)
29. (a) Sarah works in a multinational IT firm. One day, she came to know that some mails were 3
sent from her official mail account but she had not actually sent them.

Based on the given information, answer the following questions :


(i) Sarah is a victim of which type of cybercrime ?
(ii) Write any two precautions that one should take to protect oneself from being the
victim of cybercrime.
(iii) Should Sarah immediately change the password of her email account ?
(i) Hacking
(1 Mark for correct answer)
(ii)
● Keep strong password(s) and change them regularly.
● Do not click on any untrusted link(s)
● Do not share personal information with strangers.
● Always use updated Antivirus
● Always use licensed software.
● Lock or log off from the computer when you step away.
● Use secure Wi-Fi connection

(½ Mark each for any 2 correct precautions)

(iii) Yes, Sarah should immediately change the password of her email account .
(1 Mark for correct answer)
OR
(b) At a local electronics store, a new range of smartphones has been launched, creating a 3
buzz among technology enthusiasts. However, the introduction of these new devices has
also raised concerns about the increasing generation of e-waste in the community.
Answer the following questions based on above extract :
(i) Define e-waste.
(ii) Give any one environmental challenge posed by e-waste, including its impact on
air, water, and soil quality.
(iii) Imagine you are a part of a local environment organization.
Provide any two strategies that could be implemented to minimize the negative
environmental effects of e-waste.
(i) E-Waste is the term used for electrical and electronic equipment and their
parts that have been discarded as waste.
(1 Mark for correct definition)

(ii)
● E-waste releases harmful pollutants into the air, contributing to air pollution and
posing respiratory health risks.
Page No. 13
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
● E-waste releases heavy metals in the groundwater making it toxic and unsafe for
consumption.
● E-waste makes harmful chemicals leach into the soil and groundwater. These toxins
persist in the soil for a long time adversely affecting ecosystems and human health.

(1 Mark for any one correct environmental challenge)

(iii)

Facilitate/Encourage the reuse of electronics by promoting donation, use of
second-hand /refurbished equipment, exchanges.
● Promote policies and initiatives that support the right to repair electronics.
● Launch educational campaigns to raise awareness about the environmental
impacts of e-waste and promote Reuse, Recycle and Reduce
(½ Mark each for any two correct strategies)
30. Consider the following DataFrame Cricket : 3

Won Lost Played

A 9 11 20

B 12 5 17

C 10 6 16

D 7 7 14

E 6 6 12

Write suitable Python statements to perform the following tasks :


(i) Add a new column Rating to the DataFrame having the following
values : 3, 1, 2, 4, 5
(ii) Change the row labels from A, B, C, D, E to Team A, Team B,
Team C, Team D and Team E.
(iii) Change the column label of first column from 'Won' to 'Matches won'.
Ans (i) Cricket['Rating']=[3,1,2,4,5]

(1 Mark for correct answer)


(ii) Cricket.rename(index={"A":"Team A", "B":"Team B",
"C":"Team C", "D":"Team D", "E":"Team E"}, inplace=True)
(1 Mark for correct answer)
(iii) Cricket.rename(columns={"Won":"Matches won"}, inplace=True)

(1 Mark for correct answer)


Note: Deduct ½ mark if inplace=True is not mentioned in (ii) and (iii)

Page No. 14
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

SECTION D
31. Ms. Sridevi is a placement head in a reputed engineering institute and has created the 4
following table to store the records of students getting placement in various companies :

Table: Placement

Based on the given table, help Ms. Sridevi to write SQL queries for performing the following
tasks :
(i) To list names of those companies where department is either Marketing or
Networking.
(ii) To display the joining month name for Rising Star company.
Ms. Sridevi has written following queries. Write the output of each query :
(iii) SELECT LEFT (CompanyName, INSTR(CompanyName,"R"))
FROM Placement where vacancies >=20;
(iv) SELECT CompanyName FROM Placement WHERE Vacancies < 20 AND
Appeared >300;
Ans (i) SELECT CompanyName FROM Placement
WHERE Department = 'Marketing' OR Department = 'Networking';
OR
SELECT CompanyName FROM Placement
WHERE Department IN ('Marketing', 'Networking');

(½ Mark for SELECT and ½ mark for WHERE clause)


(ii) SELECT MONTHNAME(DoJ) FROM Placement
WHERE CompanyName = 'Rising Star';

(½ Mark for SELECT and ½ mark for WHERE clause)


(iii)
LEFT (CompanyName, INSTR(CompanyName,"R"))
R
Smoke R

(½ Mark each for each row of output)


Note: SmokeR also to be accepted for second row of output

Page No. 15
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
(iv)
CompanyName
Pilot
Neel Zone

(½ Mark each for each row of output)


32. Ms. Shambhavi, a data analyst working on a college admission project, has created the 4
following DataFrame Sub_Details to store subjectwise details :

Subject Total Seat


Students Availability
1 English 50 No
2 IT 45 Yes
3 AI 40 Yes
4 CS 50 No
5 CA 47 Yes
Help her by answering the following questions :
(i) Write suitable Python command to display the row having index value 3.
(ii) Predict the output of the following Python statement :
print(Sub_Details.loc[2:3,'Total Students'])
(iii) (a) Write suitable Python statement to display the list of various subjects along with
their corresponding seat availability.
OR [option for part (iii) only]
(b) Ms. Shambhavi has just created a folder named Project in the E: drive of her
computer to store necessary files related to the project. Write suitable Python
statement to export the given DataFrame into the file stud.csv, created inside
project folder in E: drive.
Ans (i) print(Sub_Details[2:3])
OR
print(Sub_Details.loc[3])

(1 Mark for correct answer)


(ii) 2 45
3 40
Name: Total Students, dtype: int64

(½ Mark each for each column)


(iii) (a) print(Sub_Details[['Subject','Seat Availability']])
(2 marks for correct answer)
OR
(b) Sub_Details.to_csv("E:\project\stud.csv")
OR
Sub_Details.to_csv("E:/project/stud.csv")
OR
Sub_Details.to_csv("E:\\project\\stud.csv")
Page No. 16
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
OR
Sub_Details.to_csv(r"E:\project\stud.csv")

(1 Mark for Sub_Details.to_csv and 1 marks for correct path)

SECTION E
33. Consider the tables Faculty and Batch given below : 5
Table : Faculty
F_Id FacName DoJ Qualification Salary
Emp01 Neeta Khanna 2013-07-01 MCA 85000

Emp02 Sonia Chawla 2023-05-05 MA 35000


Emp03 Sheetal 2015-06-28 MSc 90000

Emp04 Bindu 2016-03-30 M.Com 80000

Emp05 Sunidhi 2002-06-28 BA 100000


Emp06 Ashish 1999-07-01 B.Com 120000

Table : Batch
Batchid BatchName F_Id Daysperweek Subjects
B01 TXAlpha Emp01 3 English
B02 TXBeta Emp05 5 Chemistry
B03 TXGama Emp02 4 Physics
B04 Super30 Emp03 3 Mathematics
B05 G-20 EMp04 2 Economics
B06 LXAlpha Emp01 4 Accountancy
Write SQL queries for the following :
(a) (i) Display name and salary of all faculties in alphabetical order of their names.
(ii) Display details of faculties who joined on Monday.
(iii) Display names of faculties, their salary and BatchName from both the tables.
(iv) Display the details of all faculties whose salary is more than 60000 and have
joined before the year 2007.
(v) Display the name of faculty who is taking TXAlpha Batch.

OR
(b) (i)
Display maximum days per week for each F_Id from the table Batch. 5
(ii)
Display names of faculties after removing leading and trailing spaces.
(iii)
Display total number of records in the table Faculty.
(iv)
Increase the salary by 25% of those employees whose qualification is MCA.
(v)
Delete the records of batches whose subject is English.
Ans (a) (i)
SELECT FacName,Salary FROM Faculty ORDER BY FacName;
OR
SELECT FacName,Salary FROM Faculty ORDER BY FacName ASC;
(½ Mark for SELECT and ½ mark for ORDER BY clause)
(ii) SELECT * FROM Faculty WHERE DAYNAME(DoJ)=’Monday’;
OR

Page No. 17
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
SELECT * FROM Faculty WHERE DAYOFWEEK(DoJ)=2;
(½ Mark for SELECT and ½ mark for WHERE clause)
(iii) SELECT FacName, Salary, BatchName FROM Faculty,Batch
WHERE Faculty.F_Id = Batch.F_Id;
OR
SELECT FacName,Salary,BatchName FROM Faculty F,Batch B
WHERE F.F_Id = B.F_Id;
OR
SELECT FacName,Salary,BatchName
FROM Faculty NATURAL JOIN Batch;
(½ Mark for SELECT and ½ mark for WHERE clause)
(iv) SELECT * FROM Faculty
WHERE Salary>60000 AND YEAR(DoJ)<2007;
OR
SELECT * FROM Faculty
WHERE Salary>60000 AND DoJ<"2007-01-01";
(½ Mark for SELECT and ½ mark for WHERE clause)
(v) SELECT FacName FROM Faculty, Batch
WHERE BatchName = "TXAlpha"
AND Faculty.F_Id = Batch.F_Id;
OR
SELECT FacName FROM Faculty, Batch
WHERE Faculty.F_Id = Batch.F_Id
AND BatchName = "TXAlpha";
OR
SELECT FacName FROM Faculty F, Batch B
WHERE F.F_Id = B.F_Id AND BatchName = "TXAlpha";
OR
SELECT FacName FROM Faculty NATURAL JOIN Batch
WHERE BatchName = "TXAlpha";
(½ Mark for SELECT and ½ mark for WHERE clause)
OR
(b) (i) SELECT F_Id, MAX(Daysperweek)FROM Batch GROUP BY F_Id;
(½ Mark for SELECT and ½ mark for GROUP BY clause)
(ii) SELECT TRIM(FacName) FROM Faculty;
(1 Mark for correct SQL query)
(iii) SELECT COUNT(*) FROM Faculty;
OR
SELECT COUNT(FID) FROM Faculty;
(1 Mark for correct SQL query)
(iv) UPDATE Faculty SET Salary = Salary+(25/100)*Salary
WHERE Qualification = "MCA";
OR
UPDATE Faculty SET Salary = Salary*1.25
WHERE Qualification = "MCA";
(½ Mark for UPDATE and ½ mark for WHERE clause)
(v) DELETE FROM Batch WHERE Subject = "English";
(½ Mark for DELETE and ½ mark for WHERE clause)
34. Classpoint Pvt. Ltd., Pune is a company that deals with development and training of 5
software. They have different divisions HR (H1), Training (H2), Sales (H3) and Marketing
(H4). The layout of the Pune branch is :

Page No. 18
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

The management wants to connect all the divisions as well as all the computers of each
division (H1, H2, H3 and H4).
Distance between the divisions are as follows :
H1 to H2 90m

H1 to H3 145m

H1 to H4 88m

H2 to H3 110m

H2 to H4 80m

H3 to H4 160m

Number of computers in each division :


Division Number of Computers

H1 100

H2 220

H3 160

H4 140

Based on the above specifications, answer the following questions :

(i) Suggest the topology and draw the most suitable cable layout for connecting all the
divisions.
(ii) Classpoint Pvt. Ltd. plans to establish a new office in Dubai. Out of LAN, MAN and WAN,
what kind of network will be created to connect Pune office with Dubai office ?
(iii) Suggest the division for the placement of server in Pune office. Explain the reason for
your selection.
(iv) Suggest the placement of switch/hub with justification.

(v) Ms. Abhilasha, working in Dubai office, is creating a software for conducting program for
the employees of Pune branch. Which protocol would help her in voice transmission over
a computer network ?

Page No. 19
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4
Ans (i) STAR TOPOLOGY

(½ Mark for writing topology and ½ mark for cable layout)


(ii) WAN
(1 Mark for correct Answer)
(iii) Server should be placed in H2 division as it has the maximum number of computers.
(½ Mark for the correct placement of Server and ½ mark for correct reason)
(iv) Switch/hub should be placed in all blocks as it is used to connect computers within each
building.
(½ Mark for correct placement of Switch/ Hub and ½ mark for justification)
(v) VOIP/Voice over Internet Protocol
(1 Mark for correct Answer)
35. (a) Akriti keeps the calorie count of different food items as follows : 5
Food=['Apple','Banana','Rice','Wheat','Carrot']
Calorie=[72,105,204,455,52]
Write a Python code to generate a Bar Chart on the given data, having suitable Chart
Title and labels for X and Y axis. Also add suitable statement to save this chart with the
name calorie.png.
OR
(b) Consider the following data : 5
Year Student Strength

2019 150

2020 180

2021 240

2022 120

2023 180

Write a Python code to draw the following line chart having title and labels for x and y
axis as shown below :

Page No. 20
CBSE AISSCE (SUPPLEMENTARY) 2024 Marking Scheme for
Informatics Practices (Sub Code: 065 Paper Code 90/S)
SET 4

Also give suitable Python statement to save this chart with name, stud.png.

Ans (a) import matplotlib.pyplot as plt


Food=['Apple','Banana','Rice','Wheat','Carrot']
Calorie=[72,105,204,455,52]
plt.bar(Food, Calorie)
plt.title("Calorie count of different food items")
plt.xlabel("Food")
plt.ylabel("Calorie")
plt.savefig("calorie.png")
plt.show()

(1 Mark for plt.bar(Food, Calorie) and ½ mark each for rest of the Python
statements)

OR
(b) import matplotlib.pyplot as plt
Year=['2019', '2020', '2021', '2022', '2023']
Strength=[150, 180, 240, 120, 180]
plt.plot(Year, Strength)
plt.title("Year Wise Students Strength in Class XII")
plt.xlabel("Year")
plt.ylabel("Student Strength")
plt.savefig("stud.png")
plt.show()

(1 Mark for plt.plot(Year, Strength)and ½ mark each for rest of the Python
statements)

Page No. 21

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy