IP Class 12 Term 1 Practical Question Paper – A comprehensive notes

This article IP Class 12 Term 1 Practical Question Paper contains two different sets of practice question papers for information practices practical assessment for term 1. These question papers are strictly prepared as per guidelines given in the CBSE IP term wise syllabus. So let’s start this article.

IP Class 12 Term 1 Practical Question Paper 2022

Accordingly, the practical exam for informatics practices will be taken in PT 2 Exam for 30 marks. The structure IP Class 12 Term 1 Practical Question Paper given in the curriculum of Informatics practices (New), as following:

S.NoTopicMarks
1Pandas program 8
2Matplotlib Program7
3Dataframe to CSV 5
4Practical File 15 Pandas Programs8
5Viva2
Total30

The structure of IP Class 12 Term 1 Practical Question Paper 2022

As per the above table the components of IP Class 12 term 1 practical questions 2022 contain the following components:

  1. Pandas Program
  2. Data Visualization Program
  3. Pandas to Dataframe Program
  4. Practical File
  5. Viva

Pandas Program for IP Class 12 Term 1 Practical Question Paper 2022

The first component of IP Class 12 Term 1 Practical Question Paper 2022 is Pandas Programs of 8 marks. Here it can be asked from the following topics:

  • Pandas Series
  • Pandas Dataframe
  • Data Visualization
  • Data transfer between CSV and dataframe

I have asked for all of this portion. The portion of the Pandas Series program carries a total of 8 marks. The bifurcation for each topic is as follows:

TopicMarks
Python Pandas Series3
Python Pandas Dataframe5
Data Visualization7
Data transfer between CSV and Dataframe5

The practical file for IP Class 12 Term 1 Practical Question Paper 2022

The practical file for IP Class 12 Term 1 Practical Question Paper 2022 contains the practicals with output screenshots. Students can make it a handwritten journal or printed papers in the file. This practical file needs to be submitted with any 15 programs from above discussed topics.

If you are looking for Term 1 informatics practices practical file, follow this link:

Practical File Informatics Practices Class 12 for 2022-23

This practical file carries 8 marks out of 30.

Viva Voce for IP Class 12 Term 1 Practical Question Paper 2021

Viva will be asked for 2 marks in the practical examination of IP class XII. It depends on the subject teacher what (s)he will ask. Students need to be ready for that. Most probably the questions will be asked from the project synopsis and practical file.

Download IP Class 12 Term 1 Practical Question Paper 2021 with Solution

I have prepared two sets for the same.

Question Paper

I have asked the following questions in the practical questions paper for informatics practices term 1 practical examination.

  • Write a program to generate a series of marks of 10 students. Give moderation up to 3 marks of those who are having marks >80 and print the new list of the marks.      

Solution:

import pandas as pd
s=pd.Series([34,89,56,78,88,35,81,32,55,84])
s[s>80]=s+3
print(s)

Code:

Q1 for IP Class 12 Term 1 Practical Question Paper 2021

Output:

Q1 output IP Term 1 Practical paper Class 12
  • Consider the following dataframe ‘temp’ with label index showing the forecast of five cities:
 mintempmaxtemprainfall
Ahmedabad122028.4
Baroda102325.6
Bharuch81230.2
Surat111827.7
Valsad91724.8

Write a python script/program using pandas & matplotlib.pyplot for the following with appropriate messages:

  1. To create & display the dataframe ‘temp’ with the given details.                                          
  2. Display temperatures of Ahmeabad and Valsad.                                                                     
  3. To insert a new row with data [8,20,29.9] & index as ‘Vapi’.                                                       

Solution:

import pandas as pd
#Q1 To create & display the dataframe 'temp' with the given details.
d={'mintemp':[12,10,8,11,9],'maxtemp':[20,23,12,18,17],
   'rainfall':[28.4,25.6,30.2,27.7,24.8]}
temp=pd.DataFrame(d,index=['Ahmedabad','Baroda','Bharuch','Surat','Valsad'])
print(temp)

#Display temperatures of Ahmeabad and Valsad.
print(temp.loc[['Ahmedabad','Valsad']])

#To insert a new row with data [8,20,29.9] & index as 'Vapi'. 	
temp.loc['Vapi']=[8,20,29.9]
print(temp)

Code:

Code Q2 Q1 for IP Class 12 Term 1 Practical Question Paper 2021

Output:

Output for Q2 Python Pandas Dataframe
  • Plot a line chart showing mintemp, maxtemp & rainfall with following specifications:
    • x-axis label as ‘Cities’
    • y-axis label as ‘Temperature’
    • Title of the chart is ‘District Temperature & rainfall analysis’
    • Display the legends.

Solution:

import pandas as pd
import matplotlib.pyplot as plt
#Q1 To create & display the dataframe 'temp' with the given details.
d={'mintemp':[12,10,8,11,9],'maxtemp':[20,23,12,18,17],
   'rainfall':[28.4,25.6,30.2,27.7,24.8]}
temp=pd.DataFrame(d,index=['Ahmedabad','Baroda','Bharuch','Surat','Valsad'])
plt.plot(temp.index,temp['mintemp'],'blue')
plt.plot(temp.index,temp['maxtemp'],'red')
plt.plot(temp.index,temp['rainfall'],'yellow')
plt.xlabel('Cities')
plt.ylabel('Temprature')
plt.title('District Temperature & rainfall analysis')
plt.legend(['mintemp','maxtemp','rainfall'])
plt.show()

Code:

IP Class 12 Term 1 Practical Question Paper - A comprehensive notes

Output:

IP Class 12 Term 1 Practical Question Paper - A comprehensive notes

Download question paper PDF for Term I – Informatics Practices (New)

Follow this link to download the two sets of question papers pdf.

Download the question paper pdf for term 1 IP Class 12

Watch the video for explanation and clarity:

If you are looking for more content for IP visit the following link:

Study material Informatics Practices Class 12

Thank you for coming to my website. Share your views on this article in the comment section. You are free to share your views/suggestions/feedback in the comment section.

Leave a Reply