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

Set1

The document outlines the practical examination for Informatics Practices for the academic year 2024-25, including a series of programming tasks using Pandas and Matplotlib, as well as SQL queries related to a Doctor table. It consists of five questions, with specific tasks and marks allocated for each, covering data manipulation, visualization, and database queries. The examination is structured to assess students' practical skills in programming and database management.

Uploaded by

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

Set1

The document outlines the practical examination for Informatics Practices for the academic year 2024-25, including a series of programming tasks using Pandas and Matplotlib, as well as SQL queries related to a Doctor table. It consists of five questions, with specific tasks and marks allocated for each, covering data manipulation, visualization, and database queries. The examination is structured to assess students' practical skills in programming and database management.

Uploaded by

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

Practical Examination2024-25

School Code: 25158 (The Cambridge Intl. School, Devli Road, New Delhi)
Subject: Informatics Practices Practical (065)
SET-1
MM:30
Q1. Problems solving using Pandas and Matplotlib. (8 marks)
A. Write a program to generate a series of marks of 10 students. Give grace marks up to 3
marks of those who are having marks between 30 to 33 marks and print the new list of the
marks.
B. Consider the following data.
BookID Subject BookTitle Class Publisher Price
B001 Informatics Practices NCERT IP XII NCERT 270
B002 Computer Science NCERT CS XII Dhanpat Rai 340
B003 Comp. App Sample X BPB 120
Paper
B004 Informatics Practices NCERT IP XI NCERT 270
B005 A.I A.I IX KIPS 340
i. Create a dataframe using Dictionary.
ii. Display books for class XII
iii. Plot the data on line chart with appropriate chart title, x axis title, y axis title.

Q2. SQL Queries: (7 marks)


Consider the following table “Doctor” and write the answers for given questions below:
doc_id Name DOJ Gender City OPD_days
101 Naman 1997- M Delhi MWF
05-09
102 Nandini 1997- F Baroda MWF
04-08
103 Nakshatra 1997- F Baroda TTS
03-02
104 Shailesh 1996- M Surat MWF
04-07
105 Trisha 1996- F Mumbai MWF
04-01
i. Display doctor’s details who have joined in year 2002.
ii. Display name of all the doctor’s in capital letters whose name starts with s.
iii. Display doctor’s details according to the city.
iv. Display the details of doctor’s whose working days are maximum.
v. Display the names who have ma in their name
vi. Change the name of doctor trisha to tisha whose doc_id is 105.
vii. Display the total number of doctors working.

Q3. Practical records. (5)


Q4. Project work. (5)
Q5. Viva Voice. (5)
Q2.
(i) SELECT * FROM Doctor WHERE YEAR(DOJ) = 2002;
(ii) SELECT UPPER(Name) FROM Doctor WHERE Name LIKE 'S%';
(iii) SELECT * FROM Doctor ORDER BY City;
(iv) SELECT * FROM Doctor WHERE LENGTH(OPD_days) = (SELECT
MAX(LENGTH(OPD_days)) FROM Doctor);
(v) SELECT Name FROM Doctor WHERE Name LIKE '%ma%';
(vi) UPDATE Doctor SET Name = 'Tisha' WHERE doc_id = 105;
(vii) SELECT COUNT(*) AS TotalDoctors FROM Doctor;

You might also like