Commerce (English Medium)
Science (English Medium)
Arts (English Medium)
Academic Year: 2024-2025
Date & Time: 29th March 2025, 10:30 am
Duration: 3h
Advertisements
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 & 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 MCQs, text of the correct answer should also be written.
State whether the following statement is True or False:
In Python, we cannot create an empty DataFrame.
Chapter:
What will be the output of the following SQL command?
SELECT MONTHNAME ('2024-08-02');
08
02
February
August
Chapter:
Temporary data files stored by websites in our computer can be used to track our online activities and also to personalize browsing experience. These files are known as ______.
Plug-ins
Add-ons
Cookies
Bookmarks
Chapter:
Which of the following is not an aggregate function in SQL?
COUNT(*)
MIN()
LEFT()
AVG()
Chapter:
Raheem created a unique computer software and wants to protect his creation from being copied or used without his permission. He is considering to apply for legal protection. Which type of intellectual property protection should Raheem apply for, to safeguard his software?
Copyright
Plagiarism
Trademark
Lease
Chapter:
What is the default index type for a Pandas Series if not explicitly specified?
String
List
Numeric
Boolean
Chapter:
In Python which function of matplotlib library is used to save a plot?
save()
saveplot()
export()
savefig()
Chapter:
State whether the following statement is True or False:
The MOD() function in SQL returns the quotient of division operation between two numbers.
Chapter:
Which of the following data structure is used for storing one-dimensional labelled data in Python Pandas?
Integer
Dictionary
Series
DataFrame
Chapter:
Priya received an email that appeared to be from her bank, asking her to update her account information by clicking on a link. She clicked the link to enter her details, but immediately after, some amount was debited from her account. What type of cybercrime did Priya fall victim to?
Cyber stalking
Phishing
Fishing
Cyber bullying
Chapter:
Which SQL function calculates ab?
MOD()
POWER()
RAISE()
ROUND()
Chapter:
Which protocol is used while communicating through video calls on the Internet?
Video Over Internet Protocol
Voice Over Internet Protocol
Internet Protocol
Video Audio Over Internet Protocol
Chapter:
Which of the following Python statements will be used to select a specific element having index as points, from a Pandas Series named ser?
ser.element (points)
ser.select (points)
ser[points]
ser.show[points]
Chapter:
Excessive screen time and poor posture can lead to ______.
Faster Internet Speeds
Eye strain and other health issues
Better vision and bone density
Improved physical health
Chapter:
Which of the following libraries defines an ndarray in Python?
pandas
numpy
matplotlib
scipy
Chapter:
With respect to SQL, match the function given in column-II with categories given in column-I:
| I | II | ||
| (i) | Math function | (a) | COUNT() |
| (ii) | Aggregate function | (b) | ROUND() |
| (iii) | Date function | (c) | RIGHT() |
| (iv) | Text function | (d) | YEAR() |
(i) - (c), (ii) - (d), (iii) - (a), (iv) - (b)
(i) - (b), (ii) - (a), (iii) - (d), (iv) - (c)
(i) - (d), (ii) - (b), (iii) - (a), (iv) - (c)
(i) - (b), (ii) - (c), (iii) - (d), (iv) - (a)
Chapter:
Which of the following Python statements is used to change a column label in a DataFrame, df?
df = df.rename({old_name : new_name}, axis=‘columns’)
df = df.rename(old_name, new_name),axis=‘columns’
df = df.change_name(old_name, new_name, axis=‘bar’)
df = df.update({old_name : new_name}, axis=‘bar’)
Chapter:
In Python Pandas, DataFrame. ______ [] is used for label indexing with DataFrames.
label
index
labindex
loc
Chapter:
Advertisements
Every web page on the Internet has a unique address. This address is known as ______.
Domain Name
Protocol
Uniform Resource Locater
Network Topology
Chapter:
Assertion (A): The drop() method in Pandas can be used to delete rows and columns from a DataFrame.
Reason (R): The axis parameter in the drop() method specifies whether to delete rows (axis=0) or columns (axis=1).
Both Assertion (A) and Reason (R) are True and Reason (R) is the correct explanation for Assertion (A).
Both Assertion (A) and Reason (R) are True and Reason (R) is not the correct explanation for Assertion (A).
Assertion (A) is True and Reason (R) is False.
Assertion (A) is False, but Reason (R) is True.
Chapter:
Assertion (A): The ROUND() function in SQL can be used to round off a number to a specified number of decimal places.
Reason (R): The ROUND() function is a string function that accepts character values as input and returns numerical values as output.
Both Assertion (A) and Reason (R) are True and Reason (R) is the correct explanation for Assertion (A).
Both Assertion (A) and Reason (R) are True and Reason (R) is not the correct explanation for Assertion (A).
Assertion (A) is True and Reason (R) is False.
Assertion (A) is False, but Reason (R) is True.
Chapter:
Mention any two main points of difference between Series and DataFrame of Python Pandas.
Chapter:
Explain how we can access elements of a series using slicing. Give an example to support your answer.
Chapter:
A small tech startup, is considering using open source software to develop their new project management tool. They are evaluating the benefits and potential challenges of adopting open source solutions.
- Identify one key benefit of using open source software for the development of project management tool.
- Give any two examples of open source software.
Chapter:
Consider the string, “Informatics Practices”. Write a suitable SQL query for the following:
To convert the entire string to uppercase.
Chapter:
Consider the string, “Informatics Practices”. Write a suitable SQL query for the following:
To display the total number of characters in the given string.
Chapter:
What is the difference between Static and dynamic web page?
Chapter:
Give any two impacts on environment that are caused when e-waste is carelessly thrown or dumped in landfills or dumping grounds.
Chapter:
Rohit is trying to create a Pandas Series from scalar values. His code has some mistakes. Rewrite the correct code and underline the corrections made.
import pandas
data = [50, 15, 40]
series = pd.series(data, Index=[‘x’, ‘y’, ‘z’])
Print(series)
Chapter:
Complete the given Python code to generate the following output:
COLOUR |
NAME |
QTY |
|
0 |
Red |
Apple |
10 |
1 |
Blue |
Berry |
15 |
2 |
Green |
Guava |
20 |
import ______ as pd
data=[{‘COLOUR’ : ‘Red’, ‘NAME’ : ‘Apple’, ‘QTY’ : 10},
{‘COLOUR’ : ‘Blue’, ‘NAME’ : ‘Berry’, ‘QTY’ : 15},
{______, 'NAME' : 'Guava', 'QTY' : 20}]
df=pd.DataFrame(______)
print(______)Chapter:
| Ravi is a student studying in grade 12. He frequently uses the internet for various activities such as social networking, online shopping, and to research for school projects. Recently, he noticed that he receives targeted advertisements based on his browsing history and is concerned about his digital footprint. Additionally, Ravi has encountered instances of cyberbullying and is unsure how to handle them. Help Ravi by answering the following questions: |
- What are digital footprints, and how are they created?
- Write any two net etiquettes that Ravi should follow to ensure respectful and responsible online behavior.
- How can Ravi protect himself from cyberbullying? Mention any one protective measure.
Chapter:
Write a Python program to create the following DataFrame using a Dictionary of Series:
| City | State | |
| 0 | Mumbai | Maharashtra |
| 1 | Dehradun | Uttarakhand |
| 2 | Bengaluru | Karnataka |
| 3 | Hyderabad | Telangana |
Chapter:
Write a Python program to create a Pandas Series as shown below from an ndarray containing the numbers 10, 20, 30, 40, 50 with corresponding indices ‘A’, ‘B’, ‘C’, ‘D’, ‘E’.
| A | 10 |
| B | 20 |
| C | 30 |
| D | 40 |
| E | 50 |
Chapter:
Advertisements
Write the SQL statement to create a table, Customer with the following specifications:
| Table: Customer | ||
| Column Name | Data Type | Key |
| CID | Int | Primary Key |
| FName | Varchar (20) | |
| LName | Varchar (20) | |
| Age | Int | |
Chapter:
Write the SQL query to display all records in descending order of LName from the Table Customer.
| Table: Customer | ||
| Column Name | Data Type | Key |
| CID | Int | Primary Key |
| FName | Varchar (20) | |
| LName | Varchar (20) | |
| Age | Int | |
Chapter:
Given the following tables:
Table: STUDENTS
| S_ID | NAME | AGE | CITY |
| 1 | Rahul | 20 | Delhi |
| 2 | Priya | 22 | Mumbai |
| 3 | David | 21 | Delhi |
| 4 | Neha | 23 | Bengaluru |
| 5 | Khurshid | 22 | Delhi |
Table: GRADES
| S_ID | SUBJECT | GRADE |
| 1 | Math | A |
| 2 | English | B |
| 3 | Math | C |
| 4 | English | D |
| 5 | Math | E |
Write SQL queries for the following:
- To display the number of students from each city.
- To find the average age of all students.
- To list the names of students and their grades.
Chapter:
Consider the following tables:
Table 1: PRODUCTS
This table stores the basic details of the products available in a shop.
| PID | PName | Category |
| 201 | Laptop | Electronics |
| 202 | Chair | Furniture |
| 203 | Desk | Furniture |
| 204 | Smartphone | NULL |
| 205 | Tablet | Electronics |
Table 2: SALES
This table records the number of units sold for each product.
| SaleID | PID | UnitesSold |
| 301 | 201 | 50 |
| 302 | 202 | 100 |
| 303 | 203 | 60 |
| 304 | 204 | 80 |
| 305 | 205 | 70 |
Write SQL queries for the following:
- To delete those records from table
SALESwhoseUnitsSoldis less than 80. - To display names of all products whose category is not known.
- To display the product names along with their corresponding units sold.
Chapter:
Gurkirat has to fill in the blanks in the given Python program that generates a line plot as shown below. The given line plot represents the temperature (in degree Celcius) over five days as given in the table:
| Days | Temperature |
| Day 1 | 30 |
| Day 2 | 32 |
| Day 3 | 31 |
| Day 4 | 29 |
| Day 5 | 28 |

import _______ as plt # Statement-1
days = ['Day 1', 'Day 2', 'Day 3', 'Day 4', 'Day 5']
temp = [30, 32, 31, 29, 28]
plt._____ (days, temp) # Statement-2
plt.xlabel ('_______') # Statement-3
plt.ylabel ('Temperature')
plt.title('________ ') # Statement-4
plt.show()
Write the missing statements according to the given specifications:
- Write the suitable code to import the required module in the blank space in the line marked as Statement-1.
- Fill in the blank in Statement-2 with a suitable Python function name to create a line plot.
- Refer to the graph shown and fill in the blank in Statement-3 to display the appropriate label for x-axis.
- Refer to the graph shown and fill in the blank in Statement-4 to display the suitable chart title.
Chapter:
An educational institution is maintaining a database for storing the details of courses being offered. The database includes a table COURSE with the following attributes:
C_ID: Stores the unique ID for each course.
C_NAME: Stores the course’s name.
INSTRUCTOR: Stores the name of the course instructor.
DURATION: Stores the duration of the course in hours.
Table: COURSE
C_ID |
C_NAME |
INSTRUCTION |
DURATION |
| C101 | Data Structures | Dr. Alok | 40 |
| C102 | Machine Learning | Prof. Sunita | 60 |
| C103 | Web Development | Ms. Sakshi | 45 |
| C104 | Database Management | Mr. Suresh | 50 |
| C105 | Python Programming | Dr. Pawan | 35 |
Write SQL queries for the following:
- To add a new record with following specifications:
C_ID:C106C_NAME:Introduction to AIINSTRUCTOR:Ms. PreetiDURATION:55 - To display the longest duration among all courses.
- To count total number of courses run by the institution.
- To display the instructors’ name in lower case.
Chapter:
Ashutosh, who is a manager, has created a database to manage employee records. The database includes a table named EMPLOYEE whose attribute names are mentioned below:
EID: Stores the unique ID for each employee.
EMP_NAME: Stores the name of the employee.
DEPT: Stores the department of the employee.
SALARY: Stores the salary of the employee.
JOIN_DATE: Stores the employee's joining date.
Table: EMPLOYEE
EID |
EMP_NAME |
DEPT |
SALARY |
JOIN_DATE |
E01 |
ARJUN SINGH |
SALES |
75000 |
2019-11-01 |
E02 |
PRIYA JAIN |
ENGINEERING |
85000 |
2020-05-20 |
E03 |
RAVI SHARMA |
MARKETING |
60000 |
2018-08-14 |
E04 |
AYESHA |
NULL |
50000 |
2021-01-10 |
E05 |
RAHUL VERMA |
FINANCE |
40000 |
2017-06-25 |
Write the output of the following SQL Queries:
Select SUBSTRING(EMP_NAME, 1, 5) from EMPLOYEE where DEPT = 'ENGINEERING';‘Select EMP_NAME from EMPLOYEE where month (JOIN DATE) = 8;Select EMP_NAME from EMPLOYEE where SALARY > 60000;Select count (DEPT) from EMPLOYEE;
Chapter:
XYZ Technologies, Hyderabad is a company that deals with data science and AI projects. They have different divisions ADMIN, SALES, PRODUCTION and SERVICE.
The layout of the Hyderabad branch is:

The management wants to connect all the divisions as well as the computers of each division (ADMIN, SALES, PRODUCTION and SERVICE).
Distance between the divisions are as follows:
| ADMIN to SALES | 69m |
| ADMIN to PRODUCTION | 84m |
| ADMIN to SERVICE | 60m |
| SALES to PRODUCTION | 110m |
| SALES to SERVICE | 135m |
| PRODUCTION to | 90m |
Number of computers in each division:
| Division | Number of Computers |
| ADMIN | 40 |
| SALES | 75 |
| PRODUCTION | 120 |
| SERVICE | 20 |
Based on the above specifications, answer the following questions:
- Suggest the topology and draw the most suitable cable layout for connecting all the divisions in the Hyderabad office.
- XYZ Technologies is having its head office in USA. Out of LAN, MAN and WAN, which kind of network will be created to connect Hyderabad office with USA Office? Justify your answer.
- Suggest the division for the placement of server. Explain the reason for your selection.
- Suggest the placement of Switch/Hub with justification.
- Where will a repeater be placed in the suggested network layout? Justify your answer.
Chapter:
Consider the DataFrame Doctor shown below:
| DID | Name | Department | Fee | |
| 0 | 101 | Dr. Joe | ENT | 1500 |
| 1 | 102 | Dr. Salma | UROLOGY | 1600 |
| 2 | 103 | Dr. Jeet | ORTHO | 1550 |
| 3 | 104 | Dr. Neha | ENT | 1200 |
| 4 | 105 | Dr. Vikram | ORTHO | 1700 |
Write suitable Python statements for the following:
- To print the last three rows of the DataFrame
Doctor. - To display the names of all doctors.
- To add a new column
‘Discount’with value of 200 for all doctors. - To display rows with index
2and3. - To delete the column
‘Department’.
Chapter:
Write SQL query for the following:
To display sum total of all the values of the Score column, from STUDENTS table.
Chapter:
Write SQL query for the following:
To display the first five characters of the Name column from STUDENTS table.
Chapter:
Write SQL query for the following:
To display the values of Name column from the STUDENTS table, after removing the trailing spaces.
Chapter:
Write SQL query for the following:
To retrieve the lowest score from the Score column of GRADES table.
Chapter:
Write SQL query for the following:
To increase the fee of all students by 100, in the STUDENTS table. (The name of the column is FEE)
Chapter:
Write a SQL query for the following:
To calculate the square of 15.
Chapter:
Write a SQL query for the following:
To round the number 456.789 to the nearest integer.
Chapter:
Write a SQL query for the following:
To display the position of first occurrence of ‘com’ in the string ‘mycommercial.com’.
Chapter:
Write a SQL query for the following:
To display the name of the day for the date ‘2024-11-07’.
Chapter:
Write a SQL query for the following:
To display the current date and time.
Chapter:
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CBSE previous year question papers Class 12 Informatics Practices with solutions 2024 - 2025
Previous year Question paper for CBSE Class 12 Informatics Practices-2025 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
By referring the question paper Solutions for Informatics Practices, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CBSE Class 12.
How CBSE Class 12 Question Paper solutions Help Students ?
• Question paper solutions for Informatics Practices will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
