You are on page 1of 2

Practical Examination 2022 – 23

Informatics Practices (065)


Date: 28 – 12 - 2022
SET - A
Time: 3 Hours Max.Marks: 30
Instructions:
Read the questions carefully.
This question paper consists of 6 questions.
Question 1,2 and 3 to be performed on system and write with output in answer sheet.

1. Write a python statement for the questions (i) to (iv). (4)

YEAR MONTH PASSENGERS


0 2020 JANUARY 112
1 2021 FEBRUARY 118
2 2022 MARCH 132
3 2019 APRIL 121

(i) Create the above DataFrame named PASSENGER by importing data from a
csv file.
(ii) Add the following record in the above DataFrame.
4, 2018, ‘MAY’, 145
(iii) Store the updated DataFrame into csv file.
(iv) Display the Traveling details of year 2022.

2. Write a python program to generate a line chart for the following information. (4)

Name Height (Inch) Weight (Kg)


Sunil 60 58
Ankit 63 64
Ankur 69 70
Bhavya 65 59
Prateek 66 80

• The line of Height should be in ‘red’ and Weight should be in ‘blue’ colour.
• There Should be proper labels for X and Y axis.
• The Title of the chart should be ‘Employee Details’.
• Draw the Chart generated in your PC in the Answer Sheet.
3. Write the SQL queries for questions (i) to (vii). (7)

Table: CLUB

COACH_ID COACHNAME AGE SPORTS DATEOFAPP PAY


1 KUKREJA 35 KARATE 2022-05-15 999.625
2 RAVINA 34 KARATE 2022-04-20 1200.567
3 KARAN 28 SWIMMING 2021-07-21 1500.398
4 TARUN 33 BASKETBALL 2022-06-26 1800.895
5 ZUBIN 36 SWIMMING 2022-08-11 900.498

(i) Create the above table with suitable constraints.


(ii) Insert the above records in table.
(iii) Display the Maximum Payment among each sport.
(iv) Display the total number of characters by combining COACHNAME and
SPORTS.
(v) Display the Club table in descending order of Age.
(vi) Display the Payment of each coach by rounding off up to 1 decimal place.
(vii) Display the name of coach who appointed in the month of ‘July’.

4. Project Work 5

5. Practical Record File 5

6. VIVA 5

---------------------------------------------------End---------------------------------------------------------

You might also like