हिंदी

Informatics Practices Board Sample Paper 2025-2026 Commerce (English Medium) Class 12 Question Paper Solution

Advertisements
Informatics Practices [Board Sample Paper]
Marks: 70 CBSE
Commerce (English Medium)
Science (English Medium)
Arts (English Medium)

Academic Year: 2025-2026
Date: मार्च 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.

Section-A (21×1 = 21 Marks)
[1]1

State whether the following statement is True or False:

The drop() method can be used to remove rows or columns from a Pandas DataFrame.

Concept: undefined - undefined
Chapter:
[1]2

What will be the result of the following SQL query?

SELECT MOD(5, 6);

3

5

6

0

Concept: undefined - undefined
Chapter:
[1]3

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

Concept: undefined - undefined
Chapter:
[1]4

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()
Concept: undefined - undefined
Chapter:
[1]5

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

Concept: undefined - undefined
Chapter:
[1]6

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.

Concept: undefined - undefined
Chapter:
[1]7

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

Concept: undefined - undefined
Chapter:
[1]8

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

Concept: undefined - undefined
Chapter:
[1]9

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

Concept: undefined - undefined
Chapter:
[1]10

Which of the following is an application of VoIP technology?

Email

Chat

Internet Telephony

Web Browsing

Concept: undefined - undefined
Chapter:
[1]11

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)

Concept: undefined - undefined
Chapter:
[1]12

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.

Concept: undefined - undefined
Chapter:
[1]13

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

Concept: undefined - undefined
Chapter:
[1]14

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

Concept: undefined - undefined
Chapter:
[1]15

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]

Concept: undefined - undefined
Chapter:
[1]16

In which network topology is every node directly connected to every other node?

Star

Tree

Mesh

Bus

Concept: undefined - undefined
Chapter:
[1]17

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

Concept: undefined - undefined
Chapter:
[1]18

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()
Concept: undefined - undefined
Chapter:
[1]19

Which of the following is NOT an aggregate function in SQL?

MIN()

SUM()

UPPER()

AVG()

Concept: undefined - undefined
Chapter:
[1]20 | Q-20 and Q-21 are Assertion (A) and Reason (R) Type questions. Choose the correct option as

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.

Concept: undefined - undefined
Chapter:
[1]21

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.

Concept: undefined - undefined
Chapter:
Advertisements
Section-B (7×2 = 14 Marks
[2]22
[2]22.A
[1]22.A.i

What is a DataFrame in Pandas?

Concept: undefined - undefined
Chapter:
[1]22.A.ii

Mention any one property of DataFrame.

Concept: undefined - undefined
Chapter:
OR
[2]22.B

List any two differences between Series and DataFrame in Pandas.

Concept: undefined - undefined
Chapter:
[2]23
[1]23.A
What do you mean by e-waste?
Concept: undefined - undefined
Chapter:
[1]23.B

Mention any one impact of e-waste on the environment.

Concept: undefined - undefined
Chapter:
[2]24

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)

Concept: undefined - undefined
Chapter:
[2]25
[2]25.A

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.

Concept: undefined - undefined
Chapter:
OR
[2]25.B
[1]25.B.i

Explain the concept of VoIP.

Concept: undefined - undefined
Chapter:
[1]25.B.ii

Mention one benefit of using VoIP.

Concept: undefined - undefined
Chapter:
[2]26
[1]26.A

Write an SQL query to perform the following:

Display the name of the day (e.g., Monday, Tuesday) for the date '2026-01-01'.

Concept: undefined - undefined
Chapter:
[1]26.B

Write an SQL query to perform the following:

Find and display the position of the substring “India” in the string “Incredible India”.

Concept: undefined - undefined
Chapter:
[2]27
[1]27.A

Define digital footprints.

Concept: undefined - undefined
Chapter:
[1]27.B

Write the difference between the following:

Active and passive footprints.

Concept: undefined - undefined
Chapter: [6] Societal Impacts
[2]28
Advertisements
[2]28.A

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)
Concept: undefined - undefined
Chapter:
OR
[2]28.B

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)
Concept: undefined - undefined
Chapter:
Section-C (4×3 = 12 Marks)
[3]29
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.
  1. Explain Rahul the terms Intellectual Property & Intellectual Property Rights (IPR).
  2. Under which specific category of IPR is Rahul’s invention covered?
  3. Describe the importance of IPR in safeguarding innovations.
Concept: undefined - undefined
Chapter:
[3]30
[3]30.A

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
Concept: undefined - undefined
Chapter:
OR
[3]30.B

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
Concept: undefined - undefined
Chapter:
[3]31
[2]31.A

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)  
Concept: undefined - undefined
Chapter:
[1]31.B

Write an SQL Query to insert the following data into the EMPLOYEES table: 101, Ravi Kumar, 2015-06-01, 1.70.

Concept: undefined - undefined
Chapter:
[3]32
[3]32.A

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:

  1. List the names of students enrolled in Class 12, sorted in ascending order.
  2. Display name of all subjects in uppercase where students scored more than 80 marks.
  3. Display the names of students along with their subject and Score.
Concept: undefined - undefined
Chapter:
OR
[3]32.B

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
  1. Which attribute in the Table can be considered as the Primary Key? Provide justification for your answer.
  2. Write a suitable SQL query to add a new column, Experience, of numeric data type to the table.
  3. Write the output of the following SQL Query.
    SELECT Department, COUNT(*) FROM Employee GROUP BY Department;
Concept: undefined - undefined
Chapter:
Section-D (2×4 = 8 Marks
[4]33

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

  1. Write the suitable code for the import statement in the blank space in the line marked as Statement−1.
  2. 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.
  3. Fill in the blank in Statement-3 with the correct Python code to set the title of the graph.
  4. Fill in the blank in Statement-4 with the appropriate Python code to save the graph as an image file named monthly_revenue.png.
Concept: undefined - undefined
Chapter:
[4]34
[4]34.A

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.

  1. Show the Name and City of the students, both in uppercase, sorted alphabetically by Name.
  2. Display the Student ID along with the name of the month in which the student was admitted to the school.
  3. Calculate and display the average marks obtained by students.
  4. Show the names of the cities and the number of students residing in the city.
Concept: undefined - undefined
Chapter:
OR
[4]34.B

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.

  1. SELECT Name, LENGTH(Name) FROM Student WHERE
    StudentID < 303;
  2. SELECT lower(Name) FROM Student WHERE
    MONTH(DateofBirth)= 3;
  3. SELECT AVG(Marks) FROM Student;
  4. SELECT Name, Marks FROM Student WHERE Marks
    BETWEEN 90 AND 100;
Concept: undefined - undefined
Chapter:
Section-E (3×5 = 15 Marks)
[5]35

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.

  1. Suggest the most suitable department in the Mumbai Office Setup, to install the server. Also, give a reason to justify your suggested location.
  2. Draw a suitable cable layout of wired network connectivity between the departments in the Mumbai Office.
  3. Which hardware device will you suggest to connect all the computers within each department?
  4. Suggest the most appropriate type of network (LAN, MAN, WAN) to connect the Mumbai Head Office and Jaipur Regional Office.
  5. 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?
Concept: undefined - undefined
Chapter:
[5]36

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:

  1. Print the last three rows of the DataFrame df.
  2. Add a new column named "Experience" with values [5, 8, 10, 6, 7].
  3. Delete the column "Salary" from the DataFrame.
  4. Rename the column "Department" to "Dept".
  5. Display only the "Name" and "Salary" columns from the DataFrame
Concept: undefined - undefined
Chapter:
[5]37
[5]37.A

Write a suitable SQL query for the following:

  1. To extract the first five characters from the product_code column in the Products table.
  2. To display the total number of orders from Order_Id column in the Orders table.
  3. To display the year of the order dates from the order_date column in the Orders table.
  4. To display the Address column from the Customers table after removing leading and trailing spaces.
  5. To display the current date.
Concept: undefined - undefined
Chapter:
OR
[5]37.B

Write a suitable SQL query for the following:

  1. To display the total number of characters in the string DatabaseSystems.
  2. Find the position of the first occurrence of the letter 'a' in the Product_Name column of the Products table.
  3. Calculate the square of the Amount for each transaction in the Tran_Amount column of the Transactions table.
  4. To display the average salary from the Salaries column in the Employees table.
  5. Display the total sum of the Salary from the Salary column in the Employees table.
Concept: undefined - undefined
Chapter:

Other Solutions




































Video TutorialsVIEW ALL [2]

Submit Question Paper

Help us maintain new question papers on Shaalaa.com, so we can continue to help students




only jpg, png and pdf files

CBSE previous year question papers Class 12 Informatics Practices with solutions 2025 - 2026

     CBSE Class 12 Informatics Practices question paper solution is key to score more marks in final exams. Students who have used our past year paper solution have significantly improved in speed and boosted their confidence to solve any question in the examination. Our CBSE Class 12 Informatics Practices question paper 2026 serve as a catalyst to prepare for your Informatics Practices board examination.
     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.
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×