CBSE Class 12 Informatics Practices Question Paper 2025 (90) with Solutions
The complete CBSE Class 12 Informatics Practices board paper of 2025, Q.P. code 90: all 37 questions exactly as set, with marks. 22 solutions are free below. The Class 12 Informatics Practices PYQ Book: Solved Board Papers 2024-2026 (CBSE) solves all 3 papers in full and sorts every question chapter-wise.
Question paper
Jump to: Question paperSolutions
2025 · Q.P. Code 90
Maximum marks: 70
Section A: 1 mark each
True or False: In Python, we cannot create an empty DataFrame.
SELECT MONTHNAME('2024-08-02'); (A) 08 (B) 02 (C) February (D) August
Temporary data files stored by websites in our computer, used to track our online activities and personalise browsing, are: (A) Plug-ins (B) Add-ons (C) Cookies (D) Bookmarks
Which is not an aggregate function in SQL? (A) COUNT(*) (B) MIN() (C) LEFT() (D) AVG()
Raheem wants to protect his unique software from copying: (A) Copyright (B) Plagiarism (C) Trademark (D) Lease
Default index type for a Pandas Series if not explicitly specified? (A) String (B) List (C) Numeric (D) Boolean
Which function of matplotlib is used to save a plot? (A) save() (B) saveplot() (C) export() (D) savefig()
True/False: MOD() returns the quotient of division between two numbers.
Data structure for one-dimensional labelled data in Pandas? (A) Integer (B) Dictionary (C) Series (D) DataFrame
Priya clicked a link in a mail that looked like it was from her bank; money was debited. (A) Cyber stalking (B) Phishing (C) Fishing (D) Cyber bullying
Function that calculates ab: (A) MOD() (B) POWER() (C) RAISE() (D) ROUND()
Protocol used while communicating through video calls on the Internet: (A) Video Over Internet Protocol (B) Voice Over Internet Protocol (C) Internet Protocol (D) Video Audio Over Internet Protocol
Statement to select the element with index points from Series ser: (A) ser.element(points) (B) ser.select(points) (C) ser[points] (D) ser.show(points)
Excessive screen time and poor posture lead to: (A) faster Internet (B) eye strain and other health issues (C) better vision (D) improved health
Which library defines an ndarray? (A) pandas (B) numpy (C) matplotlib (D) scipy
Match: (i) Math (ii) Aggregate (iii) Date (iv) Text with (a) COUNT() (b) ROUND() (c) RIGHT() (d) YEAR().
Statement to change a column label in DataFrame df: (A) df = df.rename({old_name : new_name}, axis='columns') (B) df.rename(old_name, new_name), axis='columns' (C) df.change_name(…) (D) df.update({…}, axis='bar')
DataFrame.____[ ] is used for label indexing: (A) label (B) index (C) labindex (D) loc
Every web page on the Internet has a unique address known as: (A) Domain Name (B) Protocol (C) Uniform Resource Locator (D) Network Topology
A–R. (A): drop() can delete rows and columns. (R): The axis parameter specifies rows (axis=0) or columns (axis=1).
A–R. (A): ROUND() can round a number to a specified number of decimal places. (R): ROUND() is a string function that accepts character values and returns numbers.
Section B: 2 marks each
(A) Two differences between Series and DataFrame.
(B) Explain how elements of a Series can be accessed using slicing, with an example.
A start-up is considering open source software for a project-management tool. (i) One key benefit. (ii) Two examples of open source software.
For "Informatics Practices": (i) convert to uppercase (ii) display the total number of characters.
(A) Give any two differences between a static web page and a dynamic web page.
(B) Describe the role of a router in a network.
What is a DBMS? Two examples.
Two impacts on the environment when e-waste is carelessly dumped in landfills.
(A) Rewrite Rohit's code correctly: import pandas / data = [50, 15, 40] / series = pd.series(data, Index=['x','y','z']) / Print(series)
(B) Complete the code to print COLOUR, NAME, QTY rows Red Apple 10, Blue Berry 15, Green Guava 20: import ____ as pd / data=[{…},{…},{____, 'NAME':'Guava','QTY':20}] / df=pd.DataFrame(____) / print(____)
Section C: 3 marks each
Ravi gets targeted ads from his browsing history and faces cyber bullying. (i) What are digital footprints and how are they created? (ii) Two net etiquettes. (iii) One measure to protect himself from cyber bullying.
(A) Create, using a dictionary of Series, the DataFrame with City (Mumbai, Dehradun, Bengaluru, Hyderabad) and State (Maharashtra, Uttarakhand, Karnataka, Telangana).
(B) Create a Series from an ndarray of 10, 20, 30, 40, 50 with indices 'A'–'E'.
(i) Create table Customer (CID INT primary key, FName VARCHAR(20), LName VARCHAR(20), Age INT). (ii) Display all records in descending order of LName.
(A) 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. GRADES (S_ID, SUBJECT, GRADE): 1 Math A; 2 English B; 3 Math C; 4 English A; 5 Math B. (i) Number of students from each city; (ii) average age of all students; (iii) names of students and their grades.
(B) OR: PRODUCTS (PID, PName, Category): 201 Laptop Electronics; 202 Chair Furniture; 203 Desk Furniture; 204 Smartphone NULL; 205 Tablet Electronics. SALES (SaleID, PID, UnitsSold): 301 201 50; 302 202 100; 303 203 60; 304 204 80; 305 205 70. (i) Delete records from SALES with UnitsSold < 80; (ii) names of products whose category is not known; (iii) product names with units sold.
Section D: 4 marks each
Complete the line-plot program (temperatures 30, 32, 31, 29, 28 over Day 1–Day 5): Statement-1 import; Statement-2 function; Statement-3 x-label; Statement-4 title.
(A) COURSE (C_ID, C_NAME, INSTRUCTOR, DURATION): C101 Data Structures Dr. Alok 40; C102 Machine Learning Prof. Sunita 60; C103 Web Development Ms. Sakshi 45; C104 Database Management Mr. Suresh 45; C105 Python Programming Dr. Pawan 35. (i) Add record C106, Introduction to AI, Ms. Preeti, 55; (ii) longest duration; (iii) total number of courses; (iv) instructors' names in lower case.
(B) 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. Outputs: (i) SUBSTRING(EMP_NAME,1,5) … WHERE DEPT='ENGINEERING' (ii) EMP_NAME … WHERE month(JOIN_DATE)=8 (iii) EMP_NAME … WHERE SALARY > 60000 (iv) count(DEPT)
Section E: 5 marks each
XYZ Technologies, Hyderabad: ADMIN, SALES, PRODUCTION, SERVICE. Distances: ADMIN–SALES 69 m, ADMIN–PRODUCTION 84 m, ADMIN–SERVICE 60 m, SALES–PRODUCTION 110 m, SALES–SERVICE 135 m, PRODUCTION–SERVICE 90 m. Computers: ADMIN 40, SALES 75, PRODUCTION 120, SERVICE 20. (i) Topology and cable layout. (ii) Network to connect with the USA head office, with justification. (iii) Server placement with reason. (iv) Placement of switch/hub with justification. (v) Repeater placement with justification.
DataFrame Doctor (DID, NAME, DEPARTMENT, FEE; rows 0–4: 101 Dr. Joe ENT 1500, 102 Dr. Salma UROLOGY 1600, 103 Dr. Jeet ORTHO 1550, 104 Dr. Neha ENT 1200, 105 Dr. Vikram ORTHO 1700). (i) Print the last three rows. (ii) Display names of all doctors. (iii) Add column 'Discount' with 200 for all. (iv) Display rows with index 2 and 3. (v) Delete the column 'Department'.
(A)(i) 37(a)(i) Sum of all values of Score from STUDENTS; (iv) lowest Score from GRADES.
(A)(ii) 37 Queries: (a)(ii) first five characters of Name from STUDENTS; (iii) Name after removing trailing spaces; (v) increase FEE of all students by 100. (b)(i) square of 15; (ii) round 456.789 to the nearest integer; (iii) position of first 'com' in 'mycommercial.com'; (iv) day name of '2024-11-07'; (v) current date and time.
Solutions: CBSE 2025 · 90
False. df = pd.DataFrame() creates an empty DataFrame (df.empty → True).
(C) Cookies.
(A) Copyright.
(D) savefig().
(C) Series.
(B) POWER().
(C) ser[points].
(B) numpy.
(A).
(C) Uniform Resource Locator (URL).
(C) A true; R false (ROUND is a math function).
For data = pd.Series([10,20,30,40,50], index=['a','b','c','d','e']): positional slicing data[0:3] or data.iloc[0:3] → a, b, c (end excluded); label slicing data['b':'d'] or data.loc['b':'d'] → b, c, d (end included); conditional data[data > 30] → d, e.
(i) SELECT UPPER("Informatics Practices"); (ii) SELECT LENGTH("Informatics Practices"); → 21
A router connects multiple networks (e.g. a LAN to the Internet) and routes traffic between them: it reads the destination address of each packet and forwards it along the best path. Many routers also act as a firewall and control access.
Soil contamination: lead, mercury, cadmium leach into the soil. Water pollution: these chemicals reach groundwater. (Also air pollution from burning e-waste.)
import pandas as pd
data = [{'COLOUR':'Red', 'NAME':'Apple', 'QTY':10},
{'COLOUR':'Blue', 'NAME':'Berry', 'QTY':15},
{'COLOUR':'Green', 'NAME':'Guava', 'QTY':20}]
df = pd.DataFrame(data)
print(df)
import pandas as pd
d = {'City': pd.Series(['Mumbai','Dehradun','Bengaluru','Hyderabad']),
'State': pd.Series(['Maharashtra','Uttarakhand','Karnataka','Telangana'])}
df = pd.DataFrame(d)
print(df)
City State
0 Mumbai Maharashtra
1 Dehradun Uttarakhand
2 Bengaluru Karnataka
3 Hyderabad Telangana
CREATE TABLE Customer ( CID INT PRIMARY KEY,
FName VARCHAR(20), LName VARCHAR(20), Age INT );
SELECT * FROM Customer ORDER BY LName DESC;
DELETE FROM SALES WHERE UnitsSold < 80;(iii) on the original data: Laptop 50, Chair 100, Desk 60, Smartphone 80, Tablet 70.
SELECT PName FROM PRODUCTS WHERE Category IS NULL; -- Smartphone
SELECT PName, UnitsSold FROM PRODUCTS P, SALES S
WHERE P.PID = S.PID;
-- or: SELECT PName, UnitsSold FROM PRODUCTS NATURAL JOIN SALES;
INSERT INTO COURSE VALUES ('C106', 'Introduction to AI', 'Ms. Preeti', 55);
SELECT MAX(DURATION) FROM COURSE; -- 60
SELECT COUNT(*) FROM COURSE; -- or COUNT(DISTINCT C_NAME)
SELECT LOWER(INSTRUCTOR) FROM COURSE;(i) Star topology centred on PRODUCTION (figure); a bus layout ADMIN–SERVICE… was also accepted. (ii) WAN, because the connection is across different countries. (iii) PRODUCTION: maximum computers (120). (iv) A switch/hub in each division (ADMIN, SALES, PRODUCTION, SERVICE), since many computers in each must be interconnected. (v) Repeater between SALES and PRODUCTION (110 m > 100 m), because a repeater receives the weak signal, regenerates it and retransmits it.
SELECT SUM(Score) FROM STUDENTS; SELECT MIN(Score) FROM GRADES;
Get every solution for all 3 papers
- Every board question of every chapter, each fully solved the way the board gives marks
- 3 complete board papers, each followed by its solutions
- Weightage and most-asked topics for every chapter
- Instant PDF download, colour and black & white print copies
Revising the chapter first? Complete Informatics Practices Notes for Class 12 (CBSE 065, 2026-27) →
What you get in the pack
- CBSE Class 12 Informatics Practices board papers 2024 to 2026 (3 full board papers)
- All 9 chapters and 3 board papers complete
- Part A: all 9 chapters, questions sorted chapter-wise and by marks
- Year-wise weightage table and most-asked topics for every chapter
- Part B: each full board paper followed by its complete solutions
- Pandas, Matplotlib and SQL answers verified by running the code
- Only the current syllabus in Part A
All chapters in this pack
- PYQ Ch 1 Pandas Series
- PYQ Ch 2 DataFrame: Creation and Attributes
- PYQ Ch 3 DataFrame Operations and CSV Files
- PYQ Ch 4 Data Visualisation with Matplotlib
- PYQ Ch 5 SQL Revision and Single-row Functions
- PYQ Ch 6 SQL Aggregates, Grouping and Joins
- PYQ Ch 7 Computer Networks
- PYQ Ch 8 Introduction to the Internet and Web
- PYQ Ch 9 Societal Impacts
- Board Paper 2026 Set 90 with Solutions
- Board Paper 2025 Set 90 with Solutions
- Board Paper 2024 Set 90 with Solutions
