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

Practical File Questions Ip

Uploaded by

surajsmsjp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Practical File Questions Ip

Uploaded by

surajsmsjp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ST. MARK’S SR. SEC.

PUBLIC SCHOOL, JANAK PURI


CLASS XII
CBSE PRACTICAL FILE QUESTION (2024-2025)
SUBJECT – INFORMATICS PRACTICES (065)

DATA SERIES QUESTIONS

Q1. Write a python program to create a series using a dictionary. (note : series must contain 10 record
as city name (key) and temperature (values)).
Q2. Write a python program to create a series using scaler value.(note : ‘Vowel’ as scaler value and
‘a’,’e’,’i’,’o’,’u’ as index)
Q3. Write a python program to create a series using numpy array.(note : series contain first 10 even
numbers)
Q4. Write a python program for modifying/updating of existing values of series object.(note : use
series from Q3 and modify even values to odd)
Q5. Write a python program for performing per capita income of four zones using series object.
Q6. Write a python program for performing mathematical operation on two series object.(note : both
series must contain 10 integer values)
Q7. Write a python program to display the attributes of a series object.(note : use series from Q1)
Q8. Write a python program and display top 3 and bottom 3 record of series using head and tail
functions.(note : use series from Q1)

DATA FRAME QUESTIONS

Q9. Write a python program to create a dataframe using nested list.


Q10. Write a python program to create a dataframe using dictionary of list.
Q11. Write a python program to access a single row and single column of a dataframe.
Q12. Write a python program to access a dataframe data using loc and iloc functions.
Q13. Write a python program to display all the attributes of a dataframe.
Q14. Write a python program that write a dataframe to a csv file.
Q15. Write a python program that read a csv file data to a dataframe.

DATA VISUALIZATION QUESTIONS (MATPLOTLIB)

Q16. Write a python program to plot a line chart.(use proper labels, title and legends)
Q17. Write a python program to plot a bar chart from a csv file. (use proper labels, title and legends)
Q18. Write a python program to plot a multiple bar chart from a csv file. (use proper labels, title and
legends)
Q19. Write a python program to plot a histogram chart with 100 numbers and 20 bins. (use proper
labels, title and legends)

SQL BASED QUESTIONS

Q20. Consider the EMPLOYEE table given below and answer the queries.
Empid Name Gender Age Dept DOJ Salary City
101 Amit M 23 Sales 1989-06-08 18000 Delhi
102 Vinay M 28 Marketing 1989-09-26 25000 Delhi
103 Sonia F 27 Finance 1994-08-09 23000 Mumbai
104 Rahul M 31 Sales 1990-03-23 27000 NULL
105 Rita F 28 Marketing 1990-04-23 28000 Chennai
106 Nisha F 27 NULL 1991-02-24 18000 Mumbai
107 Mohit M 32 Finance 1982-05-06 30000 Goa

a) Write a Query to Create a new database in the name of "PRACTICAL".


b) Write a Query to Open the database PRACTICAL.
c) Write a Query to create the above table called: EMPLOYEE.
d) Write a Query to list all the existing database.
e) Write a Query to List all the tables that exists in the current database.
f) Write a Query to insert all the rows of above table into EMPLOYEE table.
g) Write a Query to display all the details of the Employees from the above table EMPLOYEE.

Q21. Consider the EMPLOYEE table given below and answer the queries.
Empid Name Gender Age Dept DOJ Salary City
101 Amit M 23 Sales 1989-06-08 18000 Delhi
102 Vinay M 28 Marketing 1989-09-26 25000 Delhi
103 Sonia F 27 Finance 1994-08-09 23000 Mumbai
104 Rahul M 31 Sales 1990-03-23 27000 NULL
105 Rita F 28 Marketing 1990-04-23 28000 Chennai
106 Nisha F 27 NULL 1991-02-24 18000 Mumbai
107 Mohit M 32 Finance 1982-05-06 30000 Goa

a) Write a Query to Display Employee’s name and City from the above table.
b) Write a Query to Display all details of Employees who are living in Delhi.
c) Write a Query to get the name and salary of the employee whose salary is above 20000 and
gender is not male.
d) Write a query to update increase 10% Salary of an employee whose City is DELHI and
gender is male.
e) Write a Query to delete the details of Employee Id 106.

Q22. Consider the EMPLOYEE table given below and answer the queries.
Empid Name Gender Age Dept DOJ Salary City
101 Amit M 23 Sales 1989-06-08 18000 Delhi
102 Vinay M 28 Marketing 1989-09-26 25000 Delhi
103 Sonia F 27 Finance 1994-08-09 23000 Mumbai
104 Rahul M 31 Sales 1990-03-23 27000 NULL
105 Rita F 28 Marketing 1990-04-23 28000 Chennai
106 Nisha F 27 NULL 1991-02-24 18000 Mumbai
107 Mohit M 32 Finance 1982-05-06 30000 Goa

a) Write a Query to list names of Employees in Descending order.


b) Write a Query to find a total salary of all employees.
c) Write a Query to display maximum salary and minimum salary of employees.
d) Write a Query to display maximum salary and minimum salary of employees.
e) Write a query to display sum of salary of the employees grouped by department wise.
f) Write a query to display the department names where number of employees are greater than
or equal to 2.

Q23. Consider the STUDENT table given below and answer the queries.
Rollno Name Gender Age Dept DOA Percenatage
1 Amit M 16 CS 1989-06-08 87.5
2 Vinay M 17 IP 1989-09-26 59.4
3 Sonia F 15 HINDI 1994-08-09 88.0
4 Geeta F 17 IP 1990-03-23 98.5
5 Rita M 16 HINDI 1990-04-23 75.6
6 Nisha F 16 HISTORY 1991-02-24 86.8
7 Mohit M 15 CS 1982-05-06 60.4

a) Write a query to display square of age that got admission in the month of august.
b) Write a query to display remainder of column percentage divide by 3.
c) Write a query to display student names and their percentage in round figure.

Q24. Consider the STUDENT table given below and answer the queries.
Rollno Name Gender Age Dept DOA Percenatage
1 Amit M 16 CS 1989-06-08 87.5
2 Vinay M 17 IP 1989-09-26 59.4
3 Sonia F 15 HINDI 1994-08-09 88.0
4 Geeta F 17 IP 1990-03-23 98.5
5 Rita M 16 HINDI 1990-04-23 75.6
6 Nisha F 16 HISTORY 1991-02-24 86.8
7 Mohit M 15 CS 1982-05-06 60.4

a) Write a query to display department name in lower case letters.


b) Write a query to display department name and its respective number of characters in dept
column.
c) Write a query to display first 2 characters of the column name.
d) Write a query to display last 2 characters of the column name.
e) Write a query to display the names of all students and extract five characters from the third
position of the name field.

Q25. Consider the STUDENT table given below and answer the queries.
Rollno Name Gender Age Dept DOA Percenatage
1 Amit M 16 CS 1989-06-08 87.5
2 Vinay M 17 IP 1989-09-26 59.4
3 Sonia F 15 HINDI 1994-08-09 88.0
4 Geeta F 17 IP 1990-03-23 98.5
5 Rita M 16 HINDI 1990-04-23 75.6
6 Nisha F 16 HISTORY 1991-02-24 86.8
7 Mohit M 15 CS 1982-05-06 60.4

a) Write a query to display student name and month of date of admission of all students.
b) Write a query to display student name and day name of the students DOA.
c) Write a query to display the joining year of the IP students.
d) Write a query to display the month of the DOA of all the students.
e) Write a query to display the names of the students who joined in the month of June.

You might also like