Class Xii Ip Practical File 2020 21
Class Xii Ip Practical File 2020 21
INDEX
Sr. Date of Data of
Name of the Experiment/Activity
No. Experiment Submission
Database query using SQL
1. Mathematical, String, Date and time functions in 08/07/2020 15/07/2020
SQL
2. Aggregate functions ,Group by ,order by query in 15/07/2020 22/07/2020
SQL
Data Structure in Pandas- Series
3. Menu driven program to create a pandas series 22/07/2020 29/07/2020
from a dictionary, ndarray and list.
4. Menu driven program to print all the elements 29/07/2020 05/08/2020
that are at, above & below 25th, 50th and 75th
percentile.
5. Program to calculate maximum sales and total 05/08/2020 10/08/2020
sales using Series.
6. Write a program to perform various operations on 10/08/2020 17/08/2020
Pandas Series.
7. Program to perform selection, indexing and 17/08/2020 24/08/2020
slicing operation on Series
8. Program to create dataframe using 2D dictionary, 24/08/2020 28/08/2020
2D array , Series and another dataframe
9. Program to add and delete of column and row in 28/08/2020 02/09/2020
Dataframe.
10. Program to iterate over a Dataframe using 02/09/2020 09/09/2020
1
1) Display Salesman name , bonus after rounding off to zero decimal places.
Select SNAME, round(BONUS,0) from SALESMAN;
2) Display name, total salary of all salesman after addition of salary and
bonus and truncate it to 1 decimal places.
Select sname, truncate((SALARY+BONUS),1) from SALESMAN;
3
Page
4
Page
6
Page
1. Display the average price of each type of vehicle having quantity more than
20.
Select Type, avg(price) from vehicle where qty>20 group by Type;
7
Page
10
Page
11
Page
Output:
12
Page
13
Page
Output:
14
Page
Practical 5:
Write a program that stores the sales of 5 cars for each month in 12
Series objects. The program should display:
1) Item wise total yearly Sales
2) Maximum Sales of item made in a year
3) Maximum Sales for individual items
4) Maximum Sales of item made in a months.
15
Page
Output:
16
Page
17
Page
Output:
18
Page
19
Page
20
Page
Output:
21
Page
22
Page
23
Page
Output:
24
Page
Solution:
25
Page
Output:
26
Page
27
Page
Output:
28
Page
29
Page
Output:
30
Page
31
Page
32
Page
Output:
33
Page
34
Page
Output:
35
Page
36
Page
37
Page
Output:
38
Page
39
Page
Output:
41
Page
Output:
42
Page
Practical 17-Write a program to draw line chart depicting the prices of the apps and
download of the apps.
Solution:
43
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
Output:
44
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
Practical 18-Given the school result data, Plot bar graph using function of
Dataframe for subject wise analysis of performance of the students.
Solution:
45
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
Output:
46
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
Practical 19-Write a program to create a bar chart plotting from the columns of
DataFrame.
Solution:
47
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
Output:
48
Page
Prepared by: Mrs. Shruti Srivastava, PGT (CS), KV ONGC Panvel
CLASS XII INFORMATICS PRACTICES PRACTICAL FILE FOR SESSION 2020-21
49
Page
Output:
50
Page
51
Page