Report File Questions
Report File Questions
CLASS XII
INFORMATICS PRACTICES (065)
2024-2025
Data Handling
1. Create a panda’s series from a dictionary of values and a ndarray.
2. Create a Pandas Series using Scalar Values.
3. Write a Pandas Series Program to Perform Some of the Object Attribute Functions.
4. Create a Pandas Series to perform the Mathematical and Vector Operations on Series
Elements.
5. Create a Pandas Series & Retrieve the Data that are above the value 75.
6. Write a Python Program to Perform following Operations like Add, Select, Delete &
Rename Data in Rows & Columns of Data Frame.
7. Create a Data Frame for examination results and display row labels, column labels data types
of each column and the dimensions.
8. Consider two series objects staff and salaries that store the number of people (minimum 5)
in various office branches and salaries distributed in these branches, respectively.
Write a program to create another Series object that stores average salary per branch and then
do the following:
a. Create a DataFrame object from these Series objects.
b. Display rows 2 to 4 (both inclusive)
c. Display rows 2 to 4 (both inclusive), display columns as ‘people’ and ‘salary’
Write a program to rename indexes of ‘Zone C’ and ‘Zone D’ as ‘Central’ and ‘Dakshin’
respectively and the column names ‘Target’ and ‘Sales’ as ‘Targeted’ and ‘Achieved’
respectively.
11. With reference to the dataframe given in question 4, Write a program to add a column
namely “Orders” having values 6000,6700,6200 and 6000 respectively for the Zone A, B,
C and D. The program should also add a new row for a new Zone E. Add some value to this
zone.
12. Four series objects T1, T2, T3 and T4 stores the temperature of week1, week2, week3 and
week4 respectively. Create a dataframe from these four series objects where the indexes should
be ‘Sun’, ‘Mon’, ‘Tues’, ‘Wed’, ‘Thurs’, ‘Fri’, ‘Sat’ and columns should be ‘Week1’, ‘Week2’,
‘Week3’, and ‘Week4’.
13. From the dataframe object created in the above question, write a code/script to calculate:
a. average temperature per week
b. average temperature of whole month.
14. Filter Out the Rows from a created DataFrame based on different Criteria such as Duplicate
Rows.
15. Create a program for Importing and Exporting Data between Pandas and CSV File.
16. Write python code to create a to print following data for cust.csv in tabular form using python
code? And perform the asked operations:
Data Visualization:
17. Write a Python Program to plot Line Chart for Salary Hike of an Employee.
Year = [2000,2004,2005,2006,2008,2010,2012,2014,2015,2016,2018,2020]
Salary= [10000,14000,18000,20000,24000,28000,30000,34000,38000,40000,44000,48000]
18. Write a Python Program to plot the Pass Percentage of the Year 2019 & 2020, Classes 6th to
12th using Line Chart.
Class2019= [6,7,8,9,10,11,12]
PP2019= [98,98,98,90,98,86,98]
Class2020= [6,7,8,9,10,11,12]
PP2020= [100,100,100,96,100,92,100]
19. Write a Python Program to plot Line Chart using some Random Value.
20. Write a Python Program to display a Histogram Graph for Blood Sugar Values based on No. of
Patients.
BloodSugar= [115,86,90,150,147,88,93,115,135,80,77,82,129]
21. Given the school result data, analyses the performance of the students on different parameters,
e.g. subject wise or class wise. (bar chart)
Subject=['Maths','Phy.','Chem.','Bio.','C.Sc.','English','Tamil','Hindi']
Class=['XI','XII']
Sub_Percentage= [86,84,78,86,94,87,90,88]
Class_Percentage= [90,100]
22. Take Data of your interest from an open source (e.g. data.gov.in), aggregate and summarize it.
Then plot it using different plotting functions of the Matplotlib Library.
Database Management:
23. Create a student table with the student id, name and marks as attributes where the
student’s id is the primary key.
a. Insert the details of a 5 students in the above table (Student).
b. Delete the details of a student in the above table (Student).
c. Use the select command to get the details of the students with marks more than 80 in the
above table (Student).
d. Find the Min, Max, Sum and Average of the Marks in the Student Mark Table.
e. Write a SQL command to Order the (Student ID, Marks) table of marks in descending order.
f. Write a SQL Query to Find the “POWER, MOD” of Marks and “ROUND” of the Percentage
in the Table (Name, Marks, Percentage).
24. Create a customer table with the customer id, customer name and country as attributes
where the customer’s id is the primary key.
a. Insert the details of a 5 customers in the above table.
b. Find the total number of customers from each country in the table (customer_ID,
customer_name, country) using group by.
c. Find the Record which having the Customer Name ‘AB de Villiers’, from each country in
the table (customer id, customer name, country) using group by & having function.
d. Write a SQL Query to Find the “LENGTH, INSTR” of customer name and convert the
customer name using “LCASE, UCASE”, in the Table.
e. Write a SQL Query to Select the customer name, using “MID, LEFT, RIGHT, LTRIM,
RTRIM” in the Table.
25. Consider the table Loan_Account (Account Number, Customer Name, Loan Amount,
Instalments, Interest Rate, Start Date) and get the answer for following SQL Queries.
a. Insert the details of a records in the above table.
b. Write a SQL Query to Returns the “DAY, DATE, MONTH & YEAR” of Start Date in the
Table.
c. Write a SQL Query to Return the “NOW, DAYNAME, MONTHNAME” of Start Date in the
Table.
*****