Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
26 views1 page

Practical Question Paper SetB 2023-24

The document outlines an examination paper for Class XII Informatics Practices (065) for the academic year 2023-24. It includes questions on creating and manipulating a dataframe in Python, plotting a bar graph with happiness index data for various cities, and performing SQL operations on a SALESMAN table. The tasks require coding skills in Python and SQL to manage data effectively.

Uploaded by

vopebi9834
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)
26 views1 page

Practical Question Paper SetB 2023-24

The document outlines an examination paper for Class XII Informatics Practices (065) for the academic year 2023-24. It includes questions on creating and manipulating a dataframe in Python, plotting a bar graph with happiness index data for various cities, and performing SQL operations on a SALESMAN table. The tasks require coding skills in Python and SQL to manage data effectively.

Uploaded by

vopebi9834
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/ 1

AISSCE (2023-24)

INFORMATICS PRACTICES(065)
CLASS XII
MM-15 Set-B TIME:1 hrs.

Q.1 A dictionary Grade contains the following data: (5)

Grade={‘Name’:[‘Rahul’,’Raj’,’Gani’,’driya’,’Sunita’],
’Grade’:[‘A1’,’A2’,’B1’,’A1’,’B2’]}

Write statements for the followings:


a) Create dataframe called Gr1.
b) Add a column called RollNo with the following data:[1,2,None,95,68].
c) Rearrange the columns as RollNo,Name, and Grades.
d) Drop the column(i.e. Grade)by name.
e) Delete the 2rd and 3th rows.

Q.2 Write a code to plot a bar graph using following details: (3)

City Happiness_Index_Male Happiness_Index_Female


Delhi 60 30
Beijing 40 60
Washington 70 70
Tokyo 65 55
Moscow 85 75

Q.3 Consider a table SALESMAN with the following data:

SNO SNAME SALARY BONUS DATE OF JOIN


A01 Beena Mehta 30000 45 13-03-2018
A02 K. L. Sahay 50000 25 18-03-2017
B03 Nisha Thakkar 30000 35 29-10-2019
B04 Leela Yadav 80000 NULL 31-12-2018
C05 Gautam Gola 20000 12 23-01-1989
C06 Trapti Garg 70000 NULL 15-06-1987
D07 Neena Sharma 50000 27 18-03-1999

Write SQL queries using SQL functions to perform the following operations: (7)
i. Write a query to create a database name(SALESMAN).
ii. Write a query to create table SALESMAN with suitable datatypes.
iii. Write a query to insert 1st row data from SALESMAN table.
iv. Write a query to delete the SNO(i.e.D07).
v. Display salesman name and bonus after rounding off to zero decimal places.
vi. Display the position of occurrence of the string “ta” in salesman names.
vii. To add a column feedback with suitable datatype.

You might also like