You are on page 1of 3

CLASS XII PRACTICAL LIST

1. Write a program to create Pandas series from dictionary of values and nd array.
2. Write a program to perform mathematical operation on two Pandas series object.
3. Write a program to create data frame quarterly sales where each row contain the item
category, item name and expenditure. Group the row by the category and print the
total expenditure per category.
4. Write a program to create data frame based on e-commerce data and generate
descriptive statistics.
5. Write a program to create data frame for examination result and display row labels,
column labels data types of each column and the dimensions.
6. Write a program to create dataframe for 3 student including name and roll numbers.
and add new columns for 5 subjects and 1 column to calculate percentage. It should
include random numbers in marks of all subjects.
7. Write a Pandas program to count the number of rows and columns of a given Data
Frame with Practical Example.
8. Write a Pandas program to select the name of persons whose height is between 5 to
5.5 (both values inclusive)
'name': ['Asha', 'Radha', 'Kamal', 'Divy', 'Anjali'], 'height': [ 5.5, 5, np.nan, 5.9,
np.nan], 'age': [11, 23, 22, 33, 22]
9. Write a pandas program to select rows where score is between 15 and 20 (inclusive)
10. Write a python program to find and replace the missing values in a given Data Frame.
11. Write a program to import and export data between Pandas and CSV file.
12. Write a program to analyze the performance of student on different parameters subject
wise or class wise from the given school result data.
13. Write a program to create bar chart of five most countries are affected by corona virus
in 2020. Read the data from CSV file.
14. Draw the histogram based on the Production of Wheatin different Years
Year:2000,2002,2004,2006,2008,2010,2012,2014,2016,2018
Production':4,6,7,15,24,2,19,5,16,4
15. The table shows passenger car fuel rates in miles per gallon for several years. Make a
LINE GRAPH of the data. During which 2-year period did the fuel rate decrease?
YEAR: 2000 2002 2004 2006
RATE: 21.0 20.7 21.2 21.6
16. The number of bed-sheets manufactured by a factory during five consecutive weeks is
given below.
Week First Second Third Fourth Fifth
Number of Bed-sheets 600 850 700 300 900
Draw the bar graph representing the above data
17. The number of bed-sheets manufactured by a factory during five consecutive weeks is
given below.
Week First Second Third Fourth Fifth
Number of Bed-sheets 600 850 700 300 900
Draw the bar graph representing the above data
MSQL
A.
1. Create a student table with student id,name and marks as attributes where the student
id is the primary key
2. Insert the details of new student in the above table
3. Delete the details of a students in the above table.
4. Use select command to get the details of students with marks more than 80
5. Find the min,max,sum,and average of the marks in a student mark table
6. Find the total number of customers from each country in the table( Customer
ID,customer Name,Country) using group by.
7. Write a SQL query to order the (student ID,marks) table in descending order of the
marks.
8. Write a SQL query to change marks of student to 600 whose student id is 03,if the
existing marks is less than 400.
9. Write a SQL query to add column salary to country table
10. Write a SQL query to rename the table country to customer.
11. Write a SQL query to change the Salary of customer table with 250000 for all
customer
12. Write a SQL query to change salary of customer with 1250000 fro those customer
whose country is ‘Australia’

B.
Objective: Understanding the use of DML command at MySQL plateform.
Task: Open MySQL and Login with your ID and password given by your
Teacher. Write and Execute the SQL command for the following and also
write the steps/commands in your Practical notebook.
1 Write commands to display the system date.
2 Write a command to display the name of current month.
3 Write command to print the day of the week of your birthday in the year
2015.
4 Write the command to round off value 15.193 to nearest ten’s i.e. 20.
5 Write a query to find out the result of 63.
6 Create and open Database named MYORG.
7 Create a table name Emp with following structure (EmpID Primary Key)
EmpID EmpName Designation DOJ sal comm
Number Varchar Char(10) Date Number Number
8 Insert the Records as per the given data -
9 Write a query to display all the records with all the columns.
10 Write a query to display EmpName and Sal of employees whose salary
are greater than or equal to 2200
11 Write a query to display details of employs who are not getting
commission.
12 Write a query to display employee name and salary of those employees
who don’t have their salary in range of 2500 to 4000.
13 Write a query to display the name of employee whose name contains
“A” as third alphabet in Ascending order of employee names.
14 Write a query to display the ename and sal with 50% of sal as DA.
15 Write a query to display details of employs with the text “Not given”, if
commission is null.
16 Display the distinct job titles offered by the Organization.
17 Display the Names of employees who are working as Manager or
Analyst.
18 Display the names of employees who joined on or after 01/05/1991.
19 Display the employee records in order by DOJ.
20 Display the Distinct Designation in the Organisation.

PROJECT

AS PER THE CBSE NORMS

The project should be based on the curriculum (i.e. python pandas and/or mysql)

Conditions:
For the list of sample project student may visit the official website of CBSE.
A maximum of three students can prepare a project
A project must include:
1. Index
2. Certificate
3. Acknowledgement
4. Introduction
5. Obejctives of the project
6. Coding
7. Output
8. Bibliography
9. Conclusion

A sample project is attached herewith for reference.

You might also like