[go: up one dir, main page]

0% found this document useful (0 votes)
86 views38 pages

Practical File Class 12 Ip

This document is a practical file for the Informatics Practices course at St. Mark's Sr. Sec. Pub. School for the session 2021-22, prepared by a student named Vrinda. It includes an acknowledgment section, a certificate of completion, an index of topics covered, and various programming exercises related to data visualization, series, and dataframes. The file contains source codes and expected outputs for multiple programming tasks.

Uploaded by

kanish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views38 pages

Practical File Class 12 Ip

This document is a practical file for the Informatics Practices course at St. Mark's Sr. Sec. Pub. School for the session 2021-22, prepared by a student named Vrinda. It includes an acknowledgment section, a certificate of completion, an index of topics covered, and various programming exercises related to data visualization, series, and dataframes. The file contains source codes and expected outputs for multiple programming tasks.

Uploaded by

kanish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

ST. MARK’S SR. SEC. PUB.

SCHOOL
[C.B.S.E]
MEERA BAGH
SESSION:2021-22

Informatics Practices
Sub Code: - 065
PRACTICAL FILE

Name: vrinda
Class: 12-A
Admission NO:111111

1|Page
ACKNOWLEDGEMENT
I would take this opportunity to
express my sincere gratitude to our
informatics practices teacher Mrs.
Vaishali Lamba ma’am for guiding us
immensely through the course of my
project of my project. Her constructive
advice and constant motivation have
been responsible for successful
completion of this project.

I would also like to extend my


gratitude to my fellow classmates for
their timely help and support in
completion of this project.

2|Page
CERTIFICATE

This is to certify that


______________________, Roll
No.__________ of class ___ Session 2021-
22 has prepared the Practical File as
per the prescribed Practical Syllabus of
Informatics Practices Code-065, under
guidance of informatics practices
teacher ________________________
during the year 2021-22.

____________________
Signature of Teacher
3|Page
Index

S.NO TOPICS T. QUESTIONS


SIGN
1 Data 15
Visualization
2 Series 5
DataFrame 10
3

4|Page
Data Visualization

5|Page
Q1) Write a Program to make a plot

Source Code:

OUTPUT:

6|Page
Q2) Write a Program to make a plot showing marks of 5 students in
one subject using x and y label function
Source Code:

OUTPUT

7|Page
Q3)Write a Program to show result of 5 students using color function
Source Code:

OUTPUT:

8|Page
Q4)
Write a program that will draw the following figure:

Source Code:

OUTPUT:

9|Page
Q5) Plot the following data on a line chart and customize
the chart according to the below-given instructions:

Month January February March April May

Sales 510 350 475 580 600

Source Code:

OUTPUT:

10 | P a g e
Q6) Pratyush Garments has recorded the following data
into their register for their income from cotton clothes
and jeans. Plot them on the line chart.
Day Monday Tuesday Wednesday Thursday Friday
Cotton 450 560 400 605 580
Jeans 490 600 425 610 625

Source Code:

OUTPUT:

11 | P a g e
Q7) Make a list that stores marks of student in 10 tests. Plot a student’s
performance in 10 tests

Source Code:

OUTPUT:

12 | P a g e
13 | P a g e
Q10) Write a program to make a bar showing population of cities

Source Code:

OUTPUT:

14 | P a g e
Q11) Write a program to create a bar graph and change its width

Source code

OUTPUT:

15 | P a g e
Q12) Write a program using barh function

Source code

OUTPUT:

16 | P a g e
17 | P a g e
Q13)Write a program to make a histogram

Source code

OUTPUT:

18 | P a g e
Q14) Write a program to create histogram using bin function

Source code

OUTPUT:

19 | P a g e
Q15) Write a program to add color in histogram

Source code

OUTPUT:

20 | P a g e
Series

21 | P a g e
Q1) WAP to create an empty series

Source code

OUTPUT:

22 | P a g e
Q2) WAP to specify index in a series

Source code

OUTPUT:

23 | P a g e
Q3) WAP to display a value from a series using its index

Source code

OUTPUT:

24 | P a g e
Q4) WAP to use the range function

Source code

OUTPUT:

25 | P a g e
Q5) WAP to print 9,10,11,12 2 times

Source code

OUTPUT:

26 | P a g e
DataFrame

27 | P a g e
Q1)Write a program to make a dataframe from a list

Source code

OUTPUT:

28 | P a g e
Q2 ) WAP to show dataframes from series

Source code

OUTPUT:

29 | P a g e
Q3) Write a program to create a dataframe from a list of dictionary

Source code

OUTPUT:

30 | P a g e
Q4) Write a program to create a dataframe from list of series

Source code

OUTPUT:

31 | P a g e
Q5) Write a program to print result of 2 students

Source code

OUTPUT:

32 | P a g e
Q6) Write a program to display records of 2 subjects

Source code

OUTPUT

33 | P a g e
Q7) Write a program to empty series

Source code

OUTPUT

34 | P a g e
Q8) Write a program to create a dataframe from Numpy array

Source code

OUTPUT

35 | P a g e
Q9) Write a program to merge 2 dataframes

Source code

OUTPUT

36 | P a g e
Q9) Write a program to create a dataframe from series and use
functions (drop, rename , indexing)

Source code

OUTPUT

37 | P a g e
38 | P a g e

You might also like