0% found this document useful (0 votes)
8 views21 pages

Informatics Practices Practical

Class 12 IP

Uploaded by

kendrisum
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)
8 views21 pages

Informatics Practices Practical

Class 12 IP

Uploaded by

kendrisum
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/ 21

INFORMATICS PRACTICES

PRACTICAL FILE
Session - 2024-25

Department of Informatics Practices


Shiksha Valley School,
Dibrugarh

NAME: NYASUM BAM SUBMITTED TO:

CLASS:XII (SCIENCE) Mr. Amit Soni

CBSE ROLL NO: (PGT IP)

REGISTRATION NO:
Practical 1:
Create a panda’s series from a dictionary of values and a ndarray

PHYTHON CODE:

OUTPUT:
Practical 2:
Given a Series, print all the elements that are above the 75th
percentile

PHYTHON CODE:

OUTPUT:-
Practical 3:
Create a Data Frame quarterly sales where each row contains
the item category, item name, and expenditure. Group the rows
by the category and print the total expenditure per category.

PHYTHON CODE:

OUTPUT:-
Practical 4:
Create a data frame for examination result and display row
labels, column labels data types of each column and the
dimensions.

PHYTHON CODE:
OUTPUT:-
Practical 5:
. Filter out rows based on different criteria such as duplicate
rows.

PHYTHON CODE:

s
OUTPUT:-
Practical 6:
Importing and exporting data between pandas and CSV file

PHYTHON CODE:

OUTPUT:-

s
PHYTHON CODE:

OUTPUT:-
Practical 7:
Marks is a list that stores marks of a sudent in 10 unit tests.
Write a program to plot the student’s performance in these 10
unit tests.

CODE:

OUTPUT:-

s
Practical 8:
Consider the arrays of previous example and create an array
C that stores the log 10 values of the elements in the array A.
Write a program to modify previous example so that a scatter
plot of array A vs. C is also plotted with blue triangular
markers.

CODE:

OUTPUT:-

s
Practical 9:
Write a program to plot a bar chart from the medals won by
Australia. In the same chart ,plot the medals won by India too.
,

CODE:

OUTPUT:-

s
Practical 10:
Prof Awasthi is doing some research in the field of environment.
For some plotting purposes,he has generated some data as:
Mu=100
Sigma=15
X=mu + sigma*numpy.random.randn(10000)
y=mu + 30*np.random.randn(10000)
Write a program to plot this data on a bar-stacked horizontal
histogram with both x and y axes.

CODE:

OUTPUT:-

s
Practical 11:
Create a student table with the student id, name, and marks
as attributes where the student id is the primary key.

CODE:

OUTPUT:-
Practical 12:
Insert the details of a new student in the above table

CODE:

OUTPUT:-
Practical 13:
Delete the details of a student in the above table

CODE:

OUTPUT:-
Practical 14:
Use the select command to get the details of the students
with marks more than 80.
CODE:

OUTPUT:-
Practical 15:
Find the min, max, sum, and average of the marks in a
student marks table.

CODE:

OUTPUT:-
Practical 16:
Find the total number of customers from each country in the
table (customer ID, customer Name, country) using group
by.

CODE:

OUTPUT:-
Practical 17:
Write a SQL query to order the (student ID, marks) table in
descending order of the marks

CODE:

OUTPUT:-

You might also like