0% found this document useful (0 votes)
9 views19 pages

IP-practical-final Lel

The document is a practical file for Class XII-A students at Gurugram Public School, focusing on Informatics Practices for the 2024-25 session. It includes a detailed index of tasks related to Python and SQL, such as creating series and dataframes, performing data manipulation, and generating various types of graphs. Each task is listed with corresponding inputs and expected outputs for students to complete as part of their practical assessments.

Uploaded by

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

IP-practical-final Lel

The document is a practical file for Class XII-A students at Gurugram Public School, focusing on Informatics Practices for the 2024-25 session. It includes a detailed index of tasks related to Python and SQL, such as creating series and dataframes, performing data manipulation, and generating various types of graphs. Each task is listed with corresponding inputs and expected outputs for students to complete as part of their practical assessments.

Uploaded by

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

GURUGRAM PUBLIC

SCHOOL

SESSION: 2024-25
Class: XII-A

INFORMATICS PRACTICES
PRACTICAL FILE

Student name: computer science HOD:


Palak Roy SUMAN TANWAR
Roll no.
INDEX

S.NO TOPIC SIGN


PYTHON
1. Create a series named
fruits and use loc and iloc
indexing functions
2. Use head () and tail ()
function to retrieve top 6
elements of series.

3. Delete the last two


elements from the given
series
4. Create a dataframe from
series, list, dictionary

5. Use the following


attributes: axes, size, and
shape.
6. Use a function to find the
transpose of a dataframe.

7. Access data from


dataframe using at, and
iat attributes
8. create a csv file displaying
the marks of class 12
students and convert it
into dataframe
9. Save a dataframe as csv
file.
10. Plot a line graph to display
the trend of run rate in a
cricket match.

11. Plot multiple graphs and


provide it title, xlabel,
ylabel, grid etc.

12. Plot a bar graph displaying


the data of a dataframe.

13. Plot a histogram and use


xticks and yticks.

14. create multiple charts in


same window using
subplot
SQL
15. Create a table displaying
marks and grades of 12th-A
and display the average
marks obtained in class.

16. Display the maximum and


minimum marks in the
class.
17. Display the number of
students who attempted
the economics exam.
18. Arrange the students in
decreasing order of their
marks.
19. Select student from class
12th with science stream
20. Display stream with
maximum marks less than
85 and display the total
marks of the stream.
21. Select all name and fees
of students using equijoin
from two tables.

22. Select all names of


employee in descending
order of their salary.
23. select all names of
employee group by their
jobs.

24. increase salary of every


employee by 5% and
display their names and
salary.

25. display the number of non


null values from table.

26. display sum of comm


column from table.

27. display minimum and


maximum value of salary
with name.
PYTHON
Q.1 Create a series named fruits and use loc and
iloc indexing functions.
i.p :

Q.2 Use head () and tail () function to retrieve top


and bottom 6 elements of series.
i.p:

Q.3 Delete the last two elements from the given


series.
i.p:
Q.4 Create a dataframe from series, list,
dictionary.
i.p:
Q.5 Use the following attributes: axes, size, and
shape.
i.p:
Q.6 Use a function to find the transpose of a
dataframe.
i.p:

Q.7 Access data from dataframe using at, and iat


attributes.
Ip:
Q.8 create a csv file displaying the marks of class
12 students and convert it into dataframe.

Q.9 Save a dataframe as csv file.


Q.10 Plot a line graph to display the trend of run
rate in a cricket match.
Ip:
Q.11 Plot multiple graphs and provide it title,
xlabel, ylabel, grid etc.
Ip:

Q.12 Plot a bar graph displaying the data of a


dataframe.
Ip:

Q.13 Plot a histogram and use xticks and yticks.


Ip:

Q.14 create multiple charts in same window using


subplot
Ip:
MYSQL
Q.15 Create a table displaying marks and grades of
12th-A and display the average marks obtained in
class.
Ip:

Q.16 Display the maximum and minimum marks in


the class.
Q. 17 Display the number of students who
attempted the economics exam.

Q. 18 Arrange the students in decreasing order of


their marks.

Q.19 Select student from class 12th with science


stream.
Q. 20 Display stream with maximum average
marks 85 less than and display the total marks of
the stream.

Q.21 Select all name and fees of students using


equijoin from two tables.

Q.22 Select all names of employee in descending


order of their salary.
Q.23 select all names of employee group by their
jobs.

Q.24 increase salary of every employee by 5% and


display their names and salary.

Q.25 display the number of non null values from


table.
Q.26 display sum of comm column from table.

Q. 27 display minimum and maximum value of


salary with name.

You might also like