0% found this document useful (0 votes)
6 views

Practical File

The document contains acknowledgments from Shivam Samanta for completing a practical file in Informatics Practices, expressing gratitude to his teacher, school, friends, and family. It includes a certificate confirming his project completion under the guidance of Arun Biswas, along with an index outlining the contents related to Python (Pandas and Matplotlib) and MySQL. The document details various programming tasks and operations performed using these technologies.

Uploaded by

dharasuvhadeep
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Practical File

The document contains acknowledgments from Shivam Samanta for completing a practical file in Informatics Practices, expressing gratitude to his teacher, school, friends, and family. It includes a certificate confirming his project completion under the guidance of Arun Biswas, along with an index outlining the contents related to Python (Pandas and Matplotlib) and MySQL. The document details various programming tasks and operations performed using these technologies.

Uploaded by

dharasuvhadeep
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Acknowledgement

I would like to express my heartfelt gratitude to all those who have


helped me in successfully completing this Informatics Practices
practical file.
First and foremost, I am deeply thankful to my teacher Arun Biswas
, for their constant guidance, encouragement, and support
throughout the preparation of this file. Their valuable suggestions
and constructive feedback have been instrumental in shaping this
project.
I would also like to thank my school Raisina Bengali School , for
providing me with the resources and a conducive learning
environment to work on this project.
Lastly, I extend my gratitude to my friends and family for their
moral support and encouragement during this process.
Thank you all for your invaluable contributions.

Shivam Samanta
XII/C
Certificate

This is to certify that Shivam Samanta , a student of Class XII, has


successfully completed the project work in Informatics Practices (IP)
for the academic session 2024-25 as prescribed by the Central Board
of Secondary Education (CBSE).
The practical file has been conducted under the guidance of
Arun Biswas The data and information presented in this project are
authentic and the work is original to the best of my knowledge.
I wish them all the best for their future endeavors.

________________________ ________________________

Teacher’s Signature Extenal’s Signature


Index

S.no. Content Page No. Signature

01. Python(Pandas) 01-08

02. Python(Matplotlib) 09-12

03. MySQL 13-21


PANDAS
1.To generate a series using a one-dimensional (1D) array.

2. To illustrate the working of head() and tail() functions on a series.


3. Comparing two series element-by-element.

4. To create dataframe from two series of student data.


5. To create a dataframe by passing a list of dictionaries.

6. To create a dataframe from NumPy ndarray.

7. Rename the column Name as Nm and IP as Informatics Practices.


8.Implementation of iloc and loc attribute with respect to 'student'
dataframe.

9. To perform broadcasting operation on two arrays of similar shape.


10. Program to concatenate two dataframes.

11. Program to perform merging of dataframes.

12. Boolean indexing using dataframe.


13. To perform indexing, slicing and accessing data from a series.

14. To create open ‘employee.csv’ file using pandas.


15. To Modify the name from Satyit to Satyajit.
MATPLOTLIB
1.Program to plot frequency of marks using line chart.
2. To plot to list elements using bar chart.
3. To plot Simple Histogram of Random Values.
4. To plot Simple Histogram of Random Values.
1. Create two MySQL tables and insert at least 10 values on
it.
(a). Table-1

(b). Table-2
2. Answer the following codes below given :-
 Retrieve all students’ names and ages.

 Retrieve all courses taught by Ms. Mehta.

 Find students older than 16 years.


 Find courses with "Science" in the course name.

 List all students with grade 'A'.

 Count the number of students in each grade.


 Retrieve the names of students with "ya" in their names.

 Retrieve the total number of students.

 Display the courses sorted by instructor name


alphabetically.
 Display students whose ages are between 16 and 18.

 Find all courses with CourseID greater than 105.


 Retrieve student names and grades for those with grades
'A' or 'B'.

 Retrieve the youngest student’s name.

 Find the average age of students.


 List all distinct instructor names.

 Count how many courses each instructor teaches.

 Update the grade of 'Arjun' to 'A'.


 Delete the course with CourseID 109.

 Add a new student named 'Neha' aged 17 in grade 'B'.

 Change the instructor of 'History' to 'Dr. Mishra'.

You might also like