Commerce (English Medium)
Science (English Medium)
Arts (English Medium)
Academic Year: 2025-2026
Date: March 2026
Advertisements
General Instructions:
- All questions are compulsory.
- The examination paper contains five sections, from Section A to Section 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 questions (33 to 34). Each question carries 4 Marks.
- Section E consists of 3 questions (35 to 37). Each question carries 5 Marks.
- There is no overall choice. However, internal choices have been provided in some questions. Attempt only one of the choices in such questions.
- All programming questions are to be answered using Python Language only.
- In case of MCQ, text of the correct answer should also be written.
State whether the following statement is True or False:
The drop() method can be used to remove rows or columns from a Pandas DataFrame.
Chapter:
What will be the result of the following SQL query?
SELECT MOD(5, 6);3
5
6
0
Chapter:
Shruti received an email that appeared to be from a popular social media platform, requesting her to click a link to reset her password. The link directed her to a fraudulent website designed to capture her login credentials. This situation is an example of which type of cybercrime?
Cyber Bullying
Violation of Intellectual Property Rights
Hacking
Phishing
Chapter:
Which of the following Python statements is used to write a Pandas DataFrame df to a CSV file?
df.to_csv()df.write_csv()df.to_table()df.export_csv()Chapter:
Which of the following device is used for converting digital signals from a computer into analog signals for transmission over a telephone line.
Modem
Switch
Repeater
Router
Chapter:
What is the purpose of the ROUND(num, 0) in SQL, assuming num is a number with a fractional part?
Rounds the number to the nearest integer.
Always rounds the number up.
Leaves the number unchanged.
Always rounds the number down.
Chapter:
Aarushi has written a novel and wants to protect her literary work. Which type of Intellectual Property right will help her do that?
Patent
Copyright
Trademark
Both Copyright & Trademark
Chapter:
The default index used in a Pandas Series, if no index is explicitly specified, is ______.
Strings starting with 'a'
Consecutive integers starting from 1
Random integers
Consecutive integers starting from 0
Chapter:
Consider a table named Students that has one primary key and three alternate keys. How many candidate keys does the table have?
1
2
3
4
Chapter:
Which of the following is an application of VoIP technology?
Chat
Internet Telephony
Web Browsing
Chapter:
Which of the following SQL function is used to count the non-NULL values in a column named column_name?
COUNT(*)
COUNT(column_name)
SUM(column_name)
AVG(column_name)
Chapter:
When two Pandas Series with different indices are added, the result is ______.
Error occurs
Indices are ignored, and elements are added in order.
The result has all indices, with missing values filled as NaN.
Only the common indices are retained in the result.
Chapter:
In India, the primary law that deals e-commerce and cybercrime is ______.
Cybercrime Prevention Act, 2000
Digital Security Act, 2000
Information Technology Act, 2000
E-Commerce Regulation Act, 2008
Chapter:
Which SQL command is used to sort rows in either ascending or descending order of values in a specific column?
ORDER BY
SORT BY
GROUP BY
SORT ON
Chapter:
Which of the following Python commands selects the first 3 rows of a DataFrame df, assuming that labelled index are consecutive integers starting from 0?
df.loc[:3]
df.loc[:2]
df.loc[0:4]
df.loc[1:4]
Chapter:
In which network topology is every node directly connected to every other node?
Star
Tree
Mesh
Bus
Chapter:
What is the use of the INSTR() function in SQL?
To replace characters in a string
To find the length of a string
To find the position of a substring in a string
To extract characters from a string
Chapter:
Which of the following Python statements creates an empty Pandas DataFrame (Note: pd is an alias for pandas)?
pd.DataFrame(None)pd.DataFrame()pd.DataFrame([])pd.DataFrame.empty()Chapter:
Which of the following is NOT an aggregate function in SQL?
MIN()
SUM()
UPPER()
AVG()
Chapter:
Assertion (A): The output of print(df) and print(df.loc[:]) will be same for a DataFrame df.
Reason (R): The statement print(df.loc[:]) will display all rows and columns of the DataFrame df, thus showing the entire data.
Both A and R are True, and R correctly explains A.
Both A and R are True, but R does not correctly explain A.
A is True, but R is False.
A is False, but R is True.
Chapter:
Assertion (A): The INSERT INTO command is a DML (Data Manipulation Language) command.
Reason (R): DML commands are used to insert, update or delete the data stored in a database.
Both A and R are True, and R correctly explains A.
Both A and R are True, but R does not correctly explain A.
A is True, but R is False.
A is False, but R is True.
Chapter:
Advertisements
List any two differences between Series and DataFrame in Pandas.
Chapter:
Mention any one impact of e-waste on the environment.
Chapter:
Ravi wants to create a Pandas Series as shown below:
| January | 31 |
| February | 28 |
| March | 31 |
Help him in completing the code below to achieve the desired output.
Note: ser_data is a dictionary.
import ______ as pd ser_data = ______s = pd.______(ser_data) print(s)
Chapter:
Rohan, a Class XII student, has written code for a website but is unsure how to make it available on the Internet. Explain to Rohan the role of a web server and web hosting in ensuring availability of his website on the internet.
Chapter:
Write an SQL query to perform the following:
Display the name of the day (e.g., Monday, Tuesday) for the date '2026-01-01'.
Chapter:
Write an SQL query to perform the following:
Find and display the position of the substring “India” in the string “Incredible India”.
Chapter:
Write the difference between the following:
Active and passive footprints.
Chapter: [6] Societal Impacts
Advertisements
Write the output of the following code:
import pandas as pd
students = pd.Series(['Abhay', 'Ananya', 'Javed'])
marks = pd.Series([85, 92, 88])
data = {'Name': students, 'Marks': marks}
df = pd.DataFrame(data)
df.rename(columns={'Name': 'StuName', 'Marks': 'Score'},
inplace=True)
print(df)Chapter:
Write the output of the following code:
import pandas as pd
states = pd.Series(['Maharashtra', 'Gujarat', 'Kerala'])
capitals = pd.Series(['Mumbai', 'Gandhinagar', 'Thiruvananthapuram'])
data = {'State': states, 'Capital': capitals}
df = pd.DataFrame(data)
df.drop(index=1, inplace=True)
print(df)Chapter:
| Rahul has recently invented a new type of solar-powered water purification system and is concerned about the possibility of someone illegally copying and selling his invention without his permission. |
- Explain Rahul the terms Intellectual Property & Intellectual Property Rights (IPR).
- Under which specific category of IPR is Rahul’s invention covered?
- Describe the importance of IPR in safeguarding innovations.
Chapter:
Write a Python program to create a Pandas Series as shown below using a ndarray, where the subject names are the indices and the corresponding marks are the values in the series.
| Mathematics | 85 |
| Science | 90 |
| English | 78 |
| History | 88 |
Chapter:
Write a Python program to create the Pandas DataFrame displayed below using a list of dictionaries.
| Course | Duration | |
| 0 | Data Science | 12 |
| 1 | Artificial Intelligence | 18 |
| 2 | Web Development | 6 |
Chapter:
Write an SQL statement to create a table named EMPLOYEES, with the following specifications:
| Column Name |
Data Type | Key |
| EmployeeID | Numeric | Primary Key |
| EmpName | Varchar(25) | |
| HireDate | Date | |
| Salary_in_Lacs | Float(4,2) |
Chapter:
Write an SQL Query to insert the following data into the EMPLOYEES table: 101, Ravi Kumar, 2015-06-01, 1.70.
Chapter:
Consider the following tables:
Table 1: STUDENT, which stores StudentID, Name, and Class.
| StudentID | Name | Class |
| 1 | Ankit | 12 |
| 2 | Priya | 11 |
| 3 | Rohan | 12 |
| 4 | Shreya | 11 |
| 5 | Rehan | 12 |
Table 2: MARKS, which stores StudentID, Subject, and Score
| StudentID | Subject | Score |
| 1 | Mathematics | 85 |
| 2 | Physics | 78 |
| 3 | Chemistry | 88 |
| 4 | Biology | 81 |
| 6 | Computer Science | 93 |
Write appropriate SQL queries for the following:
- List the names of students enrolled in Class 12, sorted in ascending order.
- Display name of all subjects in uppercase where students scored more than 80 marks.
- Display the names of students along with their subject and Score.
Chapter:
Consider the following table EMPLOYEE, which stores EmployeeID, Name, Department and Salary.
Table: EMPLOYEE
| EmployeeID | Name | Department | Salary |
| 101 | Aman | IT | 60000 |
| 102 | Rahul | HR | 50000 |
| 103 | Priya | IT | 70000 |
| 104 | Neha | Finance | 55000 |
| 105 | Rahul | IT | 60000 |
- Which attribute in the Table can be considered as the Primary Key? Provide justification for your answer.
- Write a suitable SQL query to add a new column, Experience, of numeric data type to the table.
- Write the output of the following SQL Query.
SELECT Department, COUNT(*) FROM Employee GROUP BY Department;
Chapter:
Rohan, a business analyst, is working on a Python program to create a line graph that represents the monthly revenue (in lakhs) of a company over five months. However, some parts of his code are incomplete. Help Rohan by filling in the blanks in the following Python program.
| Month | Revenue (in Lacs) |
| January | 50 |
| February | 65 |
| March | 75 |
| April | 80 |
| May | 95 |

Help Rohan to complete the code.
______ as plt #Statement−1 Months = ['January', 'February', 'March', 'April', 'May'] Revenue = [50, 65, 75, 80, 95] ______ #Statement-2 plt.xlabel('Months')
plt.ylabel('Revenue') ______ #Statement-3 ______ #Statement-4 plt.legend() plt.show()
- Write the suitable code for the import statement in the blank space in the line marked as Statement−1.
- Write the suitable code for the blank space in the line marked as Statement−2, which plots the line graph with the appropriate data and includes a label for the legend.
- Fill in the blank in Statement-3 with the correct Python code to set the title of the graph.
- Fill in the blank in Statement-4 with the appropriate Python code to save the graph as an image file named monthly_revenue.png.
Chapter:
Raghav, who works as a database designer, has created a table Student as shown below:
Table: Student
| StudentID | Name | City | Marks | Admission_Date |
| 101 | Aarav Sharma | Delhi | 85 | 2022-04-01 |
| 102 | Priya Iyer | Mumbai | 78 | 2021-05-15 |
| 103 | Rohan Verma | Bangalore | 92 | 2020-06-10 |
| 104 | Simran patel | Delhi | 88 | 2022-03-20 |
| 105 | Karan yadav | Delhi | 75 | 2021-08-05 |
Write suitable SQL query for the following.
- Show the Name and City of the students, both in uppercase, sorted alphabetically by Name.
- Display the Student ID along with the name of the month in which the student was admitted to the school.
- Calculate and display the average marks obtained by students.
- Show the names of the cities and the number of students residing in the city.
Chapter:
Consider the following table and write the output of the following SQL Queries.
Table: Student
| StudentID | Name | DateofBirth | Marks | City |
| 301 | Aryan | 15-03-2005 | 88 | Delhi |
| 302 | Ayesha | NULL | 90 | NULL |
| 304 | Aditi | NULL | 85 | Pune |
| 305 | Rajesh | 11-01-2006 | 72 | NULL |
| 306 | Maria | 29-04-2005 | 95 | Chennai |
Write the output of the following SQL Queries.
-
SELECT Name, LENGTH(Name) FROM Student WHERE StudentID < 303; -
SELECT lower(Name) FROM Student WHERE MONTH(DateofBirth)= 3; -
SELECT AVG(Marks) FROM Student; -
SELECT Name, Marks FROM Student WHERE Marks BETWEEN 90 AND 100;
Chapter:
ABC Pvt Ltd. is a leading global IT solutions provider. The company’s head office is located in Mumbai while its Regional Office is in Jaipur. The Mumbai office consists of four departments: Administration, Sales, Development, and Support.


The distances between these departments, as well as between Mumbai and Jaipur, are as follows:
| Administration to Sales | 60 meters |
| Administration to Development | 90 meters |
| Administration to Support | 120 meters |
| Sales to Development | 50 meters |
| Sales to Support | 70 meters |
| Development to Support | 45 meters |
| Mumbai Office to Jaipur Office | 1400 kilometers |
The number of computers in each department/office is as follows:
| Administration | 120 |
| Sales | 40 |
| Development | 70 |
| Support | 25 |
| Jaipur Office | 50 |
As a network engineer, you have to propose solutions for various queries listed from I to V.
- Suggest the most suitable department in the Mumbai Office Setup, to install the server. Also, give a reason to justify your suggested location.
- Draw a suitable cable layout of wired network connectivity between the departments in the Mumbai Office.
- Which hardware device will you suggest to connect all the computers within each department?
- Suggest the most appropriate type of network (LAN, MAN, WAN) to connect the Mumbai Head Office and Jaipur Regional Office.
- When a signal is transmitted through a wire from Administration department to Support department, its strength reduces. Which device would you suggest the company use to solve this problem?
Chapter:
Consider the DataFrame df shown below.
| Name | Department | Salary | |
| 0 | Rohan Sharma | IT | 75000 |
| 1 | Meera Kapoor | HR | 68000 |
| 2 | Aarav Singh | Finance | 85000 |
| 3 | Nisha Singh | Marketing | 72000 |
| 4 | Aditya Verma | IT | 80000 |
Write Python statements for the following tasks:
- Print the last three rows of the DataFrame
df. - Add a new column named
"Experience"with values [5, 8, 10, 6, 7]. - Delete the column
"Salary"from the DataFrame. - Rename the column "Department" to
"Dept". - Display only the
"Name"and"Salary"columns from the DataFrame
Chapter:
Write a suitable SQL query for the following:
- To extract the first five characters from the
product_codecolumn in theProductstable. - To display the total number of orders from
Order_Idcolumn in theOrderstable. - To display the year of the order dates from the order_date column in the
Orderstable. - To display the
Addresscolumn from theCustomerstable after removing leading and trailing spaces. - To display the current date.
Chapter:
Write a suitable SQL query for the following:
- To display the total number of characters in the string
DatabaseSystems. - Find the position of the first occurrence of the letter 'a' in the
Product_Namecolumn of theProductstable. - Calculate the square of the Amount for each transaction in the
Tran_Amountcolumn of theTransactionstable. - To display the average salary from the
Salariescolumn in theEmployeestable. - Display the total sum of the
Salaryfrom the Salary column in theEmployeestable.
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 2025 - 2026
Previous year Question paper for CBSE Class 12 Informatics Practices-2026 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.
