You are on page 1of 4

JHADESWAR INTERNATIONAL SCHOOL, BALASORE

AISSCE IP (065) PRACTICAL TOPICS


1. Create a Pandas series from a dictionary of values and an array.
2. Create a DataFrame for 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.
3. Create a DataFrame for examination result and display row
labels, column labels, data types of each column and the
dimensions.
4. Filter out rows of the DataFrame based on different criteria such
as duplicate rows.
5. Importing and exporting data between Pandas and csv file.
6. Given the school result data, analyze the performance of the
student on the different parameters e.g., subject-wise.
7. Use the previous dataset and filter the data class wise.
8. How to swap two columns in a 2D Numpy array?
9. How to print only 3 decimal places of the numbers present in a
Python Numpy array?
10. How to compute the mean, median, standard deviation of a
Numpy array?
11. Write a complete program to show database connectivity of
python DataFrames with MySql.
12. Write a program to iterate and print a DataFrame from a csv file:
a. column-wise of first 3 columns
b. row-wise of first 2 rows at a time.
c. item-wise of first 2 rows at a time.
13. Write a program to delete the records of those students who scored
less than 33%.
14. Write a program to read a csv file containing names and marks
of the students, then add columns named “total_mark” &
”grade”, and then grade them as per criteria given below and
save it as a csv file.
mark>=90 A+
mark 70-90 A
mark 60-70 B
mark 50-60 C
mark 40-50 D
mark<40 E
15. Plot two weighted histogram using subplot function.
16. Plot a line chart from a csv file with different line style and save the
figure.
17. Plot line chart with different marker style from a DataFrame.
18. Plot bar graphs with different colors and save the figure .
19. Plot a line graph using equation y=x**2 and a histogram in a same
figure
20. MYSQL QUERIES =>
Student
S_NAME MARKS DOB DATE TEACHER_ID
Rajesh 60.85 2004/02/29 T4
Swastik 90.72 2007/08/08 T1
Rohit 89.33 2010/06/08 T3
Arman 99.29 2003/08/04 T2
Chiranjib 75.31 2005/10/09 T4
Teacher

T_ID T_name Hiredate Designation Gender Salary


T1 Anand Mathur 1994/03/17 TGT M 25000
T2 Jethala Gadha 1980/02/12 PGT M 80000
T3 Babita Iyer 1990/05/16 TGT F 100000
T4 Zakir Khan 1989/10/16 PRT M 200000

A. Write code to create the above tables


B. Display the Designation and Hiredate of all female teachers whose
name starts with “J”.
C. Display the sum, min, max and average mark of students.
D. Find the total no. of teachers in PGT Designation.
E. Display the details of the student in decreasing order of their marks.
F. Delete the details of the student whose name is “Rajesh”.
G. Display the name of student in which first letter is capital letter and
all other words are in small letters.
H. Display the youngest student details .
I. Display the names of teacher whose salary is greater than the
average salary.
J. Display the names of the students who are taught by “Anand
Mathur” and must have scored above 85%.
K. Display the names of those students who are born in between 2004
to 2006.
L. Display the max pay of teachers Designation wise.
M. Display the details of those students who are born in month of
February.
N. Write the output:

SELECT ROUND(MARKS,1), ROUND(MARKS,0), ROUND(MARKS,-1)


FROM STUDENT ;

O. Write the output.

SELECT TRIM(BOTH 'A' FROM TRIM(TRAILING 'R' FROM s_name))

FROM student;

– X–

Instructions:
 Here is the link for the solution to the practical records.
 Please purchase a Computer Practical Record hard cover copy
and refer to the solutions given in the link.
 Please write every practical in separate new page, with
question on and code on right, and output on left white side.
 You can write the output or paste the output.
 For any queries, you can contact +919040192389 on
Whatsapp.
https://docs.google.com/document/d/1Uy9QSaystK6okb3vPa
GIsBsMQg7csrlZ/edit?usp=drivesdk&ouid=11390275166435700
8674&rtpof=true&sd=true

You might also like