0% found this document useful (0 votes)
31 views4 pages

Grade XII - IP Practical

This document outlines the requirements for an Informatics Practices lab test to be conducted on 25 January 2024. It includes two questions to be completed in 3 hours for a total of 30 marks. Question 1 involves writing Python code for data analysis tasks and creating data visualizations. Question 2 involves writing SQL queries to manipulate and retrieve data from relational databases. The document also specifies the marking scheme and includes spaces for examiners to provide feedback.

Uploaded by

thuria.kriya
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)
31 views4 pages

Grade XII - IP Practical

This document outlines the requirements for an Informatics Practices lab test to be conducted on 25 January 2024. It includes two questions to be completed in 3 hours for a total of 30 marks. Question 1 involves writing Python code for data analysis tasks and creating data visualizations. Question 2 involves writing SQL queries to manipulate and retrieve data from relational databases. The document also specifies the marking scheme and includes spaces for examiners to provide feedback.

Uploaded by

thuria.kriya
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/ 4

AISSCEPRACTICALS(2023-2024)

SCHOOLCODE:56804
CODE &SUB: (065)INFORMATICSPRACTICES–LABTEST
Date:25/01/2024 Duration: 3Hrs MaxMarks:30

1 a. Write a python code to replace all negative values in a dataframe with 0 8


b. Write a python program to plot the pass percentage of the years 2022 & 2023 for the classes from
6th to 12th using line chart.
2 Write SQL queries for (i) to (iv) and the output from (v) to (vii): 7

(i) To display details of all Trains which Start from NewDelhi.


(ii) To display the PNR, PNAME, GENDER and AGE of all Passengers whose AGE is below 50.
(iii) To display total number of MALEa and FEMALE Passengers.
(iv) To display detail so fall Passengers travelling in Trains whose TNO is 12015.
(v) Select tname, start from TRAINS where Tno>14673;
(vi) Select lcase(mid(Pname,2,3)) from PASSENGERS where NAME like“%A”;
(vii) Select mod(Tno,month(Traveldate)) from Passengers where PNAME=”SKSAXENA”;
Marks Scored MaxMarks
Python Program 8
SQLQueries 7
ReportFile 5
Project 5
VivaVoce 5
Total 30
Internal Examiner ExternalExaminer

Name: Name: ______

Sign: Sign:

Examiner No: Examiner No:


AISSCEPRACTICALS(2023-2024)
SCHOOLCODE:56804
CODE &SUB: (065)INFORMATICSPRACTICES–LABTEST
Date:25/01/2024 Duration: 3Hrs MaxMarks:30

1 a. Write a python code to print 3 largest values present in a dataframe. 8


b. Given the Study Internationale school result data for the year 2024, analyze the performance of the
students subject-wise for the data given below:
Subject=[‘Eng’,’Phy’,’Chem’,’Bio’,’CS’,’Acc’,‘Eco’,’BST’,’Math’,’IP’,’AM’]
Pass Percent=[100,100,99,100,99,90,100,100,90,100,99]
2 Consider the following tables FACULTY and COURSES. Write SQL commands for the 7
statements (i) to (iv) andoutputfrom (v)to (vii)

i) To display details of those Faculties whose salary is greater than12000.


ii) To display the details of courses whose fees is in the range of 15000 to 50000 (both values included).
iii) To increase the fees of all courses by 500 of “SystemDesign” Course.
iv) To display details of those courses which are taught by ‘Sulekha’ in descending order of courses.
v) Select Fname, Lname, Hire_date from FACULTY where month (Hire_date)>9;
vi) Select Ucase(mid(Cname,2,3)) from Courses where Fees>8000;
vii) Select mod(Fees,F_ID) from Courses where CNAME=”COMPUTERSECURITY”;
Marks Scored MaxMarks
Python Program 8
SQLQueries 7
ReportFile 5
Project 5
VivaVoce 5
Total 30

Internal Examiner ExternalExaminer

Name: Name:

Sign: Sign:

Examiner No: Examiner No:


AISSCEPRACTICALS(2023-2024)
SCHOOLCODE:56804
CODE &SUB: (065)INFORMATICSPRACTICES–LABTEST
Date:25/01/2024 Duration: 3Hrs MaxMarks:30

1 a. Write a python program to create a data frame for examination result and display row 8
labels, column labels, data type of each column and their dimensions.
b. Write a python program to create a data frame using dictionary, to show the unemployment
rate from 1940 to 2023 using line chart.
Year=[1940,1950,1960,1970,1980,1990,2000,2010,2020,2023]
Unemployrate=[80,75,60,60,70,50,60,40,75,75]
Required specifications: Chartcolourred, marker-circle, fontsize10
2 Consider the following tables Stationary and Consumer. Write SQL commands for the statement (i) to 7
(iv) and output for (v) to (vii):

(i) To display the details of those consumers whose Address is Delhi.


(ii) To display the details of Stationary whose Price is in the range of 8 to 15. (Both Value included)
(iii) To display the ConsumerName, Address from Table Consumer, and Company and Price from table
Stationary, with their corresponding matching S_ID.
(iv) To increase the Price of all stationary by 2.
(v) Select * from Consumer orderby Address;
(vi) Select Address, count(Address) from Consumer groupby Address;
(vii) Select * from Consumer whereS_ID= “PL01”;
Marks Scored MaxMarks
Python Program 8
SQLQueries 7
ReportFile 5
Project 5
VivaVoce 5
Total 30
Internal Examiner ExternalExaminer

Name: Name:

Sign: Sign:

Examiner No: Examiner No:


AISSCEPRACTICALS(2023-2024)
SCHOOLCODE:56804
CODE &SUB: (065)INFORMATICSPRACTICES–LABTEST
Date:25/01/2024 Duration: 3Hrs MaxMarks:30

You might also like