Informatics Practices Practical File: Name: Yash Raj Singh Class: XII Sec: D Roll No.: 19

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

INFORMATICS

PRACTICES
PRACTICAL FILE

Name: Yash Raj Singh


Class: XII Sec: D
Roll No.: 19

Yash Raj Singh XII-D


INDEX:
S No. DESCRIPTION DATE SIGNATURE

1 Write commands to perform the


following functions on two 4x4
arrays “p” and “q”
2 . Given two 1D arrays A and B with
same shape containing the data
observations. Calculate the
covariance, correlation and linear
regression.
3 To create bar charts of distribution
of rainfall from Jan-Dec for all the
zones
4 To create a line chart to observe any
trends from Jan to Dec
5 Plot a line chart of Price of Apps
with the given data
6 Create a bar chart depicting the
downloads of the app
7 Convert the Est Downloads
sequence that has each download
value divided by 1000. Now create a
bar chart that plots multiple bars for
prices as well as est downloads.

Yash Raj Singh XII-D


Working With NumPy
Q1. Write commands to perform the following operations on two 4x4 ndarrays namely P and Q:

# Creating the arrays:

a) Add 10 to P

b) Multiplication of two arrays P and Q.

Yash Raj Singh XII-D


c) Divide all elements of Q by 7.

d) Calculate log of all elements of P.

e) Round all the elements of D to nearest integer.

f) Calculate remainder of all elements of P when divided by 7.

Yash Raj Singh XII-D


g) Calculate Square root of all elements of Q.

Q2. Given two 1D arrays A and B with same shape containing the data observations. Calculate the
covariance, correlation and linear regression.

Yash Raj Singh XII-D


Plotting with Pyplot I-Bar graphs & Scatter plots:
Q1.To create bar charts of distribution of rainfall from Jan-Dec for all the zones:

a)

b)

Yash Raj Singh XII-D


c)

d)

Yash Raj Singh XII-D


e)

Q2. Creating a line to observe any trends from Jan to Dec .

a)

Yash Raj Singh XII-D


b)

c)

Yash Raj Singh XII-D


d)

e)

Yash Raj Singh XII-D


Q3.Plot a line chart of Price of Apps

Yash Raj Singh XII-D


Q4.Create a bar chart depicting the downloads of the app

Yash Raj Singh XII-D


Q5.Convert the Est Downloads sequence that has each download value divided by 1000. Now create a bar
chart that plots multiple bars for prices as well as est downloads.

Yash Raj Singh XII-D

You might also like