InformaticsPractices-24-25 Classs XII
InformaticsPractices-24-25 Classs XII
Pre-Board-II
CLASS XII SESSION: 2024-25
INFORMATICS PRACTICES (065)
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 to 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 MCQ, text of the correct answer should also be written.
(B)df['column_name']
(C)df.select('column_name')
(D) df(column_name)
7 By default, the plot() function of Matplotlib draws a plot.
(A)histogram
(B)column 1
(C)bar
(D) line
Q-20 and Q-21 are Assertion (A) and Reason (R) Type questions. Choose
the correct option as:
(A)Both Assertion (A) and Reason (R) are true, and Reason (R) is the
correct explanation of Assertion (A)
(B)Both Assertion (A) and Reason (R) are true, but Reason (R) is not
the correct explanation of Assertion (A)
(C)Assertion (A) is True, but Reason (R) is False
(D) Assertion (A) is False, but Reason (R) is True
23 What are intellectual property rights (IPR), and why are they
2
important in the digital world?
Code:
import as pd
data = ['Chennai',' ','Imphal']
indx = ['Tamil Nadu','Uttar Pradesh','Manipur']
s = pd.Series( , indx)
print( )
Q No Section-C (4 x 3 = 12 Marks) Marks
29 Ayesha's family is replacing their old computer with a new one. They
decide to throw the old computer in a nearby empty field/plot.
I. Explain any one potential environmental hazard
associated with improper e-waste disposal. 3
II. Suggest one responsible way to Ayesha's family for proper
disposal of their old computer.
III. Describe the importance of recycling in e-waste management.
30 (A) Write a Python program to create the following DataFrame using
a list of dictionaries.
3
OR
(B) Write a Python Program to create a Pandas Series as shown
below using a dictionary. Note that the left column indicates the
indices and the right column displays the data.
Russia Moscow
Hungary Budapest
Switzerland Bern
31 I. Write an SQL statement to create a table named STUDENTS,
with the following specifications:
2+1=
3
1 ABHINAV AGRA
2 KABIR FARIDABAD
3 ESHA NOIDA
4 PAUL SEOUL
5 VICTORIA LONDON
Column
Table: PAYROLL Name Data Type Key
StudentID Numeric Primary Key
EMP_ID DEPARTMENT
FirstName DESIGNATION SALARY
Varchar(20)
1 LastNameSALES Varchar(10)
MANAGER 75000
2 DateOfBirth
SALES Date ASSOCIATE 50000
3 Percentage Float(10,2)
ENGINEERING MANAGER 95000
4 ENGINEERING ENGINEER 70000
5 MARKETING MANAGER 65000
Write appropriate SQL queries for the following:
I. Display department-wise average Salary.
II. List all designations in the decreasing order of Salary.
III. Display employee name along with their
corresponding departments.
OR
Consider the following tables:
(B)
Table 1:
ATHLETE, which stores AthleteID, Name, Country. The table
displays basic information of the athletes
Table 2:
MEDALS, which stores AthleteID, Sport, and Medals. The table
displays the number of medals won by each athlete in their
respective sports.
Table: ATHLETE
AthleteID Name COUNTRY
101 Arjun INDIA
102 Priya INDIA
103 Asif UAE
104 Rozy USA
105 David DENMARK
Table: MEDALS
AthleteID Sport Medals
101 Swimming 8
102 Track 3
103 Gymnastics 5
104 Swimming 2
105 Track 6
Write appropriate SQL queries for the following:
I. Display the sports-wise total number of medals won.
II. Display the names of all the Indian athletes in uppercase.
III. Display the athlete name along with their corresponding
sports
Books
Student Name Read
Karan 12
Lina 9
Raj 5
Simran 3
PRIC
BCODE TITLE AUTHOR E
B001 MIDNIGHT’S CHILDREN SALMAN RUSHDIE
500 THE GOD OF
SMALL
B002 THINGS ARUNDHATI ROY
450 B003 A SUITABLE BOY 4
VIKRAM SETH
600
B004 THE WHITE TIGER ARAVIND ADIGA 399
KHUSHWANT
B005 TRAIN TO PAKISTAN SINGH 350