Informatics practices file format code-065
Informatics practices file format code-065
SCHOOL
SESSION : 2024 – 25
INFORMATICS PRACTICES
PRACTICAL FILE
1
Acknowledgement
It is a great pleasure for me to submit the proceedings of report of Informatics Practices practical
file. The success and outcome of this practical file required a lot of guidance and assistance from
many people.
I express my sincere thanks to our lecturer Mrs. Pooja Malik for her invaluable and timely guidance.
Then I thank my family members, especially my parents for their support. I also acknowledge our
director principal Mrs. Veena Chopra. At last, I bow my head in the feet of the almighty who helped
me at every state of my life.
Aniket Kushwaha
XII-Yellow
2
PYTHON PANDAS
INDEX
3
DATA HANDLING
4
DATA HANDLING
5
2. CREATING A SERIES FROM DICTIONARY
6
3. GIVEN A SERIESPRINT ALL THE ELEMENTS THAT ARE ABOVE 75TH PERCENTILE
7
4. CREATING A DATA FRAME ‘QUARTERLY SALE’. EACH ROW CONTAINS THE ITEM
CATEGORY, ITEM NAME AND EXPENDITURE. GROUP THE ROWS BY CATEGORY
AND PRINT TOTAL EXPENDITURE FOR CATEGORY
8
5. CREATE A DATA FRAME FOR EXAMINATION RESULT AND DISPLAY ROW LABELS,
COLUMN LABELS DATA TYPES OF EACH COLUMN AND DIMENSIONS.
9
6. LOCATE THE 3 LARGEST VALUES IN A DATA FRAME.
10
7. WRITE A PYTHON PROGRAM TO CONVERT A DICTIONARY INTO DATA FRAME.
11
8. WRITE A PYTHON PROGRAM TO CONCATENATE TWO DATA FRAMES ALONG
COLUMNS
12
9. IMPORTING AND EXPORTING DATA BETWEEN PANDAS AND CSV FILE.
13
10. TO DISPLAY NAME, AGE AND SALARY FROM Book1.csv
14
11. GIVEN THE SCHOOL RESULT DATA, ANALYSE THE PERFORMANCE OF STUDENTS
ON DIFFERENT PARAMETERS E.G. SUBJECT WISE OR CLASS WISE
15
12. FOR THE DATA FRAME CREATED ABOVE, ANALYSE AND PLOT APPROPRIATE
CHARGE THE TITLE AND LEGEND
16
13. WRITE A PROGRAM TO PLOT A MULTI-LINE CHART
17
14. TO DISPLAY A HISTOGRAM WITH WELL-DEFINED EDGES
18
SQL COMMANDS
INDEX
1. Create a student table with student ID, name and marks as attributes where the student ID is
primary key
2. Insert the details of students in above table
3. Delete the details of student in above table
4. Use the select command to get the details of students with marks more than 80
5. Find the minimum common maximum, sum, average of marks in students marks table
6. Write an SQL query to order the (student ID, marks table in descending order of marks
7. Write a SQL query to display name into capital letters commerce small letters, display first 3 letters
of name, display last 3 letters of name, display the position of letter ‘a’ in name
8. Remove extra spaces from left, right and both sides of the text
9. Display today’s date in ‘Date Month Year’ format
10. Display day name, month name, day of month, day of year for today’s date
19
1. CREATE A STUDENT TABLE WITH STUDENT ID, NAME AND MARKS AS ATTRIBUTES WHERE
THE STUDENT ID IS PRIMARY KEY
21
5. FIND THE MINIMUM COMMON MAXIMUM, SUM, AVERAGE OF MARKS IN STUDENTS MARKS
TABLE
6. WRITE AN SQL QUERY TO ORDER THE (STUDENT ID, MARKS TABLE IN DESCENDING
ORDER OF MARKS
22
7. WRITE A SQL QUERY TO DISPLAY NAME INTO CAPITAL LETTERS COMMERCE SMALL
LETTERS, DISPLAY FIRST 3 LETTERS OF NAME, DISPLAY LAST 3 LETTERS OF NAME,
DISPLAY THE POSITION OF LETTER ‘A’ IN NAME
8. REMOVE EXTRA SPACES FROM LEFT, RIGHT AND BOTH SIDES OF THE TEXT
23
9. DISPLAY TODAY’S DATE IN ‘DATE MONTH YEAR’ FORMAT
10. DISPLAY DAY NAME, MONTH NAME, DAY OF MONTH, DAY OF YEAR FOR TODAY’S DATE
24