Class 12 IP 065 Sample Pre-Board QP 2026

Class 12 IP 065 Sample Pre-Board QP 2026

The Class 12 Informatics Practices (IP) Sample Pre-Board Question Paper 2026 is designed to help students prepare effectively for their upcoming exams. Based on the latest CBSE syllabus 2025–26, this paper reflects the updated exam pattern, marking scheme, and question style that students will face in their Pre-Boards as well as the Final Board Examination.

This sample question paper includes a balanced mix of questions—ranging from short answer to long answer types. Students will find case study-based questions, Python programming questions, SQL queries, and data handling tasks using Pandas and Matplotlib, all structured exactly as per CBSE guidelines. The paper also covers important chapters such as data visualization, data management, and cyber safety, ensuring that the entire curriculum is thoroughly revised.

Practicing with this Pre-Board Sample QP helps students improve their accuracy, speed, and confidence. It prepares them for the real exam environment by giving them a clear idea of the difficulty level and the types of questions expected. Solving this paper is highly recommended for students who want to identify their strengths, overcome weak areas, and score higher in the actual board exam.

CBSE Class 12 IP 065 Sample Pre-Board Question Paper 2026

SAMPLE PRE-BOARD QUESTION PAPER – SET 1 (THEORY)
CLASS: XII SESSION: 2025-26
INFORMATICS PRACTICES (065)

Time allowed: 3 Hours
Maximum Marks: 70

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. A student has to 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.

1. State whether the following statement is True or False:
The df.size attribute in Pandas returns the number of rows and columns in a DataFrame as a tuple

2. The expression ROUND(15.678, 0) in SQL gives:
a) 16
b) 15.6
c) 15
d) 15.67

3. Riya created a fake profile to harass her friend online. Identify the cybercrime.
a) Hacking
b) Cyber Bullying
c) Phishing
d) Plagiarism

4. The correct function to read data from a CSV file into Pandas is:
a) pd.load_csv()
b) pd.read_csv()
c) pd.import_csv()
d) pd.open_csv()

5. Which device regenerates signals in a network?
a) Switch
b) Repeater
c) Hub
d) Modem

6. What will be the output of the following SQL query?
SELECT SUBSTR('VIKISIT BHARAT', 2, 6);
a) VIKISI
b) IKISIT
c) KISIT B
d) IKISIT B

7. Rohit designed a unique company logo for his new startup. Which type of Intellectual Property right protects it?
a) Patent
b) Copyright
c) Trademark
d) Industrial Design

8. Default axis for drop() method in Pandas is:
a) 0
b) 1
c) None
d) 2

9. A table named Employees has one primary key and two alternate keys. How many candidate keys does the table have?
a) 1
b) 2
c) 3
d) 4

10. Which of the following is used for file transfer between computers?
a) FTP
b) VoIP
c) SMS
d) Video Call

11. What will be the output of the following SQL command?
SELECT MONTHNAME('2024-08-02');
a) 08
b) 02
c) February
d) August

12. Which of the following Python statements will be used to select a specific element having index as points, from a Pandas Series named ser?
a) ser.element(points)
b) ser.select(points)
c) ser[points]
d) ser.show(points)

13. Which of the following is NOT a cybercrime?
a) Sending malicious emails
b) Unauthorized access to data
c) Online fraud
d) Installing licensed software

14. Which SQL clause is used to remove duplicate records?
a) DISTINCT
b) UNIQUE
c) ONLY
d) CLEAN

15. A DataFrame column can be accessed using:
a) df.columnname
b) df[‘columnname’]
c) df(columnname)
d) Both a) and b)

16. Which topology uses a single backbone cable to connect all computers?
a) Star
b) Bus
c) Mesh
d) Ring

17. Which SQL function calculates ab?
a) MOD()
b) POWER()
c) RAISE()
d) ROUND()

18. Which of the following libraries defines an ndarray in Python?
a) pandas
b) numpy
c) matplotlib
d) scipy

19. Which of the following is an aggregate function?
a) LENGTH()
b) SUM()
c) SUBSTR()
d) LOWER()

Q-20 and Q-21 are A & R Type questions. Choose the correct option as:
a) Both A & R are true, and R is the correct explanation of A
b) Both A & R are true, but R is not the correct explanation of A
c) A is True, but R is False
d) Assertion (A) is False, but Reason (R) is True.

20. Assertion (A) : The Pandas library in Python is primarily used for creating static, animated and 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.

21. Assertion (A): The SUBSTR() function extracts a portion of a string based on starting position and length.
Reason (R): The starting position in SUBSTR() begins from 0 in SQL.

SECTION B (7X2=14 Marks)

22. What is the difference between df.head() and df.tail() in Pandas?

OR

What is the difference between a 1-dimensional and a 2-dimensional data structure in Pandas? Give examples.

23. Define cyber safety. Mention two precautions to stay safe while using social media.

24. Amit wants to create a Pandas Series as shown below:

FruitsQuanity
Apple
Mango
Orange
50
30
40

Help him complete the code below:
import _____ as pd
fruit_data = _____
s = pd.__(fruit_data)
print(s)

25. Briefly explain the difference between a webpage and website.

OR

Satyam is doing a course in networking. He is unable to understand the concept of URL. Help him by explaining it with the help of a suitable example.

26. i. Display the year from the date ‘2024-12-31’.
ii. Find the position of the substring ‘SQL’ in ‘Learning SQL is fun’.

27. Riya often posts photos and comments online, while her friend Amit’s browsing data is collected automatically by websites.
i. Identify the type of digital footprint each one is leaving.
ii. Justify your answer.

28. Write the output of the following code:

import pandas as pd
df1 = pd.DataFrame({'Juice' : ['Mango', 'Orange', 'Apple'], 'Snacks' : ['Chips', 'Namkeen', 'Biscuits']})
df2 = pd.DataFrame({'ColdDrink' : ['Pepsi', 'Coke'],'Juice' : ['Mango', 'Orange'], 'Snacks' : ['Chips', 'Namkeen']})
print(df2.reindex_like(df1))

OR

import pandas as pd
df = pd.DataFrame({ 'Fruits' : ['Apple', 'Banana', 'Mango'], 'Rate' : [120, 60, 90]})
df2 = df. rename (columns = {'Rate':' Price', 'Fruits': 'Fruit_Name'}) print(df2)

Section C (4X3=12 Marks)

29. Identify the type of cybercrime for the following situations:
i. A person complains that Rs. 4.25 lacs have been fraudulently stolen from his/her account online via some online transactions in two days using NET BANKING.
ii. A person complains that his/her debit/credit card is safe with him still somebody has done shopping /ATM transaction on this card.
iii. A person complains that somebody has created a fake profile of Facebook and defaming his/her character with abusive comments and pictures

30. Mr. Krishnamurthy, who is a new user of Python Pandas, has created the following Series “Electrical” as shown below using ndarray, where watts are the indices & the Name of electrical appliances are values in the series.

IndexName
12WLED
200WFan
1000WElectrical Iron
1200WRiceCooker

Help him in writing the code.

OR

Write a Python program to create the pandas DataFrame displayed below using list of dictionaries.

PlayerScore
0Rohit75
1Virat95
2Dhoni88
3Surya70

31. Create a table named ORDERS with the following fields:

Column NameData TypeKey
OrderIDIntPrimary Key
OrderDateDate
CustomerIDInt
TotalAmountFloat(7,2)

(a) Write SQL command to create the table.
(b) Insert the record: (501, ‘2024-10-15’, 2001, 3499.90)

32. (A) BookWorld maintains authors and their books in two tables.
Table 1: AUTHORS

AuthorIDNameCountry
1J.K. RowlingUK
2Chetan BhagatIndia
3George OrwellUK

Table 2: BOOKS

BookIDAuthorIDNameCountry
1011Harry Potter500
1022Two States300
1031Fantasticc Beats450
10431984400

i. Write an SQL query to display Book Title and its length, sorted by length of the title in descending order.
ii. Write an SQL query to display the first 5 characters of each Book Title along with the total length of the title.
iii. Write an SQL query to display each Author Name and the total price of all their books.

OR

(B) SunTech Electronics maintains a table SALES to track product sales.

SaleIDSaleDateProductNameQuantityAmountCustomerCity
1012025-03-05Laptop1075000Delhi
1022025-03-12Smartphone6030000Mumbai
1032025-04-01Tablet2525000Bengaluru
1042025-03-20Headphones10015000Delhi
1052025-02-28Smartwatch4020000Chennai
1062025-03-25Laptop550000Mumbai
1072025-03-30Smartphone8040000Delhi

i. Write SQL query to Display the ProductName and Amount from the sales table
ii. Write SQL query to Display all sales done in the month of March.
iii. Write output of the following SQL query SELECT ProductName, Quantity, SaleDate FROM SALES WHERE MONTH(SaleDate) = 3 AND Quantity > 50;

Section D (2X4=8 Marks)

33. Mr. Sharma is working in a game development industry and he was the given chart on the basis of the rating of the various games available on the play store

Class 12 IP 0065 Sample Pre-Board QP 2026

He is trying to write a code to plot the graph. Help Mr. Sharma to fill in the blanks of the code and get the desired output.

import _________________ #Statement 1
Games=["Subway Surfer","Temple Run","Candy Crush","Bottle Shot","Runner Best"]
Rating=[4.2,4.8,5.0,3.8,4.1]
plt.____________(Games, Rating) #Statement 2
plt. xlabel("Games")
plt.__________("Rating") #Statement 3
plt._________ #Statement 4

i. Choose the right code from the following for Statement 1.
a) matplotlib as plt
b) pyplot as plt
c) matplotlib.pyplot as plt
d) matplotlib.plt as pyplot
ii. Write the name of the function that should be used in statement 2 plot the above graph
iii. Choose the correct option for the Statement 3.
a) title(“Rating”)
b) ytitle(“Rating”)
c) ylabel(“Rating”)
d) yaxis(“Rating”)
iv. Fill in the blank in Statement 4 with function/method to save a graph

34. (A) Army hospital Pune maintains the following table for its patients. They want certain outputs department wise – like the average charges, total number of patients department wise etc. As a database programmer, helps them to get the required outputs.

Table: Hospital

ptidpnameDeptcharges
101Amit SharmaCardiology15000
102Neha KapoorOrthopaedics12000
103Rajiv MehtaNeurology18000
104Priya VermaPaediatrics10000
105Aman GuptaCardiology14000

i. Display each Dept. and the total number of patients in each.
ii. Display the department wise average Charges.
iii. Display the total number of unique departments. IV. Show the Name and Dept of the hospitals, both in uppercase, sorted alphabetically by Name.

OR

Write output of the following SQL queries with reference to the
Table: GRADUATE

SLNONAMESTIPENDSUBJECTAVERAGEDIV
1KARAN400PHYSICS68.47I
2DIWAKAR450COMP. Sc.68.52I
3DIVYA300CHEMISTRY62.12I
4REKHA350PHYSICS63.75I
5ARJUN500MATHS70.47I
6SABNA400CHEMISTRY55.25II
7VIKAS400MATHS57.94II

i. Select MIN(AVERAGE) from GRADUATE where SUBJECT=”PHYSICS”;
ii. Select LEFT(NAME,3) from GRADUATE where STIPEND>395;
iii. Select NAME, SUBJECT, AVERAGE from GRADUATE where AVERAGE between 68 and 70;
iv. Select ROUND(AVERAGE,1) from GRADUATE where STIPEND > 480;

Section E (3X5=15 Marks)

35. MakeInIndia Corporation, an Uttarakhand based IT training company, is planning to set up training centres in various cities in next 2 years. Their first campus is coming up in Kashipur district. At Kashipur campus, they are planning to have 3 different blocks for App development, Web designing and Movie editing. Each block has number of computers, which are required to be connected in a network for communication, data and resource sharing. As a network consultant of this company, you have to suggest the best network related solutions for them for issues/problems raised in question keeping in mind the distances between various blocks/locations and other given parameters.

Class 12 IP 0065 Sample Pre-Board QP 2026 Q35

Distance between various blocks/locations:

BLOCKDistance
App Development to Web Designing28 m
App Development to Movie Editing55 m
Web Designing to Movie Editing32 m
Kashipur Campas to Mussoorie campus232 km

Number of computers in each block:

BLOCKNumber of Computers
App Development75
Web Designing50
Movie Editing80

i. Suggest the most appropriate block/location to house the SERVER in the Kashipur campus (out of the 3 blocks) to get the best and effective connectivity. Justify your answer.
ii. Suggest a device to be installed in each block of Kashipur Campus to connect computers.
iii. Suggest the best wired medium and draw the cable layout (Block to Block) to economically connect various blocks within the Kashipur Campus.
iv. Suggest the placement of Repeater with appropriate reason.
v. Suggest a protocol that shall be needed to provide Video Conferencing solution between Kashipur Campus and Mussoorie Campus.

Sharing is caring – pass it on!

Post Comment

You May Have Missed