0% found this document useful (0 votes)
493 views26 pages

Practical File Informatics Practices Class 12 For 2022-23

The document appears to be a student's practical record file submitted for their Informatics Practices examination. It includes an acknowledgement section thanking teachers and school administrators. It also includes a certificate signed by an internal and external examiner certifying the student completed 20 practical exercises. The record file then lists the practical exercises completed with details and signatures.

Uploaded by

Hyper Tech
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)
493 views26 pages

Practical File Informatics Practices Class 12 For 2022-23

The document appears to be a student's practical record file submitted for their Informatics Practices examination. It includes an acknowledgement section thanking teachers and school administrators. It also includes a certificate signed by an internal and external examiner certifying the student completed 20 practical exercises. The record file then lists the practical exercises completed with details and signatures.

Uploaded by

Hyper Tech
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/ 26

School or

CBSE
Logo

CENTRAL BOARD OF SECONDARY EDUCATION

School Name
Address

A PRACTICAL RECORD FILE IS SUBMITTED TO DEPARTMENT OF INFORMATICS PRACTICES FOR


THE PARTIAL FULLFILLMENT OF AISSCE EXAMINATION SESSION - ________

SUBMITTED BY: [NAME OF STUDENT]


HOD(COMPUTER):[NAME OF SUBJECT TEACHER]
CLASS: [CLASS]
ROLL NO: [XXXXXXX]

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 1


ACKNOWLEDGEMENT

I wish to express my deep sense of


gratitude and indebtedness to our learned teacher
TEACHER’S NAME , PGT COMPUTER SCIENCE,
[SCHOOL NAME] for his invaluable help, advice and
guidance in the preparation of this project.

I am also greatly indebted to our principal


[Name of principal] and school authorities for
providing me with the facilities and requisite
laboratory conditions for making this practical file.

I also extend my thanks to a number of


teachers ,my classmates and friends who helped me to
complete this practical file successfully.

[Name of Student]

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 2


CERTIFICATE

This is to certify that [Name of Student]

, student of Class XII, [NAME OF SCHOOL] has

completed the PRACTICAL FILE during the academic

year [SESSION] towards partial fulfillment of credit

for the Informatics Practices practical evaluation of

SSCE-20__ and submitted satisfactory report, as

compiled in the following pages, under my

supervision.

Total number of practical certified are : 20.

Internal Examiner External Examiner


Signature Signature

Date: School Seal Principal


Signature
IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 3
No Practical Date Signature
1 Data handling using Pandas
1 Find the sum of those values which are ending with 3 or 5.
2 Create a series of 10 numbers starting with 41 and with the
increment of 3. Now add 7 all odd values and subtract 3 in even
values. Reprint the updated series.
3 Create a series of 10 numbers. Change the value of all the elements
those values are multiples of 4.
4 Create a series and print the top 3 elements using the head
function.
5 Create a series and print the last 3 elements using the tail function.
6 Create a series with these numbers: 21, 51, 71, 31, 12. Exchange
all these values of series by shifting each of them one to one
position before and by shifting the first value to last position.
7 Create a dataframe named as students using a list of names of 5
students
8 Create a dataframe players using a list of names and scores of the
previous three matches. (Using Nested list)
9 Create a dataframe countries using a dictionary which stored
country name, capitals and populations of the country.
10 Iterate dataframe created in question no. 8 by its rows.
11 Print scores of previous two matches along with their names using
iterrows function. (Use dataframe created in question 8)
12 Make a total of score from the dataframe players and display their
rank according their scores.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 4


No Practical Date Signature
13 Print the batsman name along with runs scored in Test and T20
using column names and dot notation.
14 Display the Batsman name along with runs scored in ODI using
loc.
15 Display the batsman details who scored

• More than 2000 in ODI


• Less than 2500 in Test
• More than 1500 in T20

2 Part 2 Data Visualization


16 Plot following data on line chart and follow the given instructions:
Day Monday Tuesday Wednesday Thursday Friday
Income 510 350 475 580 600

• Write a title for the chart "The Weekly Income Report".


• Write the appropriate titles of both the axes.
• Write code to Display legends.
• Display red color for the line.
• Use the line style - dashed
• Display diamond style markers on data points

17 Consider the following data of a medical store and plot the data on
the line chart and Customize the chart as you wish:
Month Masks Sanitizer Hand wash
March 1500 4400 6500
April 3500 4500 5000
May 6500 5500 5800
June 6700 6000 6300
July 6000 5600 6200
August 6800 6300 4500
18 Use above data and subplot sanitizer data and handwash data.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 5


No Practical Date Signature
19 Display following bowling figures through bar chart:
Overs Runs
1 6
2 18
3 10
4 5
3 Part 3 MySQL queries
Consider the given table and write given queries :
• To join product and company and display in the tabular form
like - <pname> manufactured by <company>
• Convert all product name into capital
• Display the cube of products quantity more than or 100
• Divide the price by 3 and display the result with 1 fraction digit
for the price of more than 40,000.
• Display pname (last four letters only), qty, price with 2 decimal
points and company for price in between 30000 to 80000.
• Display maximum price of products
• Display the total quantities of all products
• Display the average price of LED TV and Apple products
• Find the difference between maximum price and minimum
price from the table.
• Display unique Products from the table.
• Count the unique company from products.
• Display the product number, product name and company in the
descending order of their price.
• Display product minimum price for each company.
• Display product number and product names in their ascending
order of names.
• Display maximum price of products manufactured by apple.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 6


Part 1: Data Handling Using Pandas
1. Create a series of these numbers:
33,55,65,29,19,23.
Find the sum of those values which are ending with 3 or 5.
Code:

Output:

2. Create a series of 10 numbers starting with 41 and with the increment of 3. Now add
7 all odd values and subtract 3 in even values. Reprint the updated series.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 7


Output:

3. Create a series of 10 numbers. Change the value of all the elements those values are
multiples of 4.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 8


Output:

4. Create a series and print the top 3 elements using the head function.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 9


Output:

5. Create a series and print the bottom 3 elements using the tail function.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 10


6. Create a series with these numbers: 21, 51, 71, 31, 12. Exchange all these
values of series by shifting each of them one to one position before and by
shifting the first value to last position..

Code:

Output:

7. Create a dataframe named as students using a list of names of 5 students.


Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 11


Output:

8. Create a dataframe players using a list of names and scores of the previous three
matches. (Using Nested list)
Code:

Output:

9. Create a dataframe countries using a dictionary which stored country name, capitals
and populations of the country.
Code:

Output:
IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 12
10. Iterate dataframe created in question no. 8 by its rows.
Code:

Output:

11. Print scores of previous two matches along with their names using iterrows
function. (Use dataframe created in question 8)
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 13


Output:

12. Make a total of score from the dataframe players and display their rank according
the their scores.
Code:

Output:

13. Print the batsman name along with runs scored in Test and T20 using column
names and dot notation.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 14


Code:

Output:

14. Display the Batsman name along with runs scored in ODI using loc.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 15


Output:

15. Display the batsman details who scored


a. More than 2000 in ODI
b. Less than 2500 in Test
c. More than 1500 in T20
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 16


Output:

Part 2: Data Visualization


16. Plot following data on line chart and follow the given instructions:
Day Monday Tuesday Wednesday Thursday Friday
Income 510 350 475 580 600
a. Write a title for the chart "The Weekly Income Report".

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 17


b. Write the appropriate titles of both the axes.
c. Write code to Display legends.
d. Display red color for the line.
e. Use the line style - dashed
f. Display diamond style markers on data points
Code:

Output:

17. Consider the following data of a medical store and plot the data on the line
chart and Customize the chart as you wish:
Month Masks Sanitizer Hand wash
March 1500 4400 6500

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 18


April 3500 4500 5000
May 6500 5500 5800
June 6700 6000 6300
July 6000 5600 6200
August 6800 6300 4500
Code:

Output:

18. Use above data and subplot sanitizer data and handwash data.
Code:

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 19


Output:

19. Display following bowling figures through bar chart:

Overs Runs

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 20


1 6
2 18
3 10
4 5

Code:

Output

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 21


Part 3: Database query using MySQL
20. Create the following table products and write queries given below:
Table: Products
Pcode Pname Qty Price Company

P1001 iPad 120 15000 Apple

P1002 LED TV 100 85000 Sony

P1003 DSLR Camera 10 25000 Philips

P1004 iPhone 50 95000 Apple

P1005 LED TV 20 45000 MI

P1006 Bluetooth Speaker 100 20000 Ahuja

Constraints:
1. Pcode – Primary Key
2. Pname – Not Null
Create table command:

Insert record command

1. To join product and company and display in tabular form like - <pname>
manufatured by <company>

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 22


2. Convert all product name into capital

3. Display the cube of products quantity for more than or 100 in quantity.

4. Divide the price by 3 and display the result with 1 fraction digit for price of
more than 40,000.

5. Display pname (last four letters only), qty, price with 2 decimal points and
company for price in between 30000 to 80000.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 23


6. Display maximum price of products

7. Display the total quantities of all products

8. Display the average price of LED TV and Apple products

9. Find the difference between maximum price and minimum price from the
table.

10. Display unique Products from the table.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 24


11. Count the unique company from products.

12. Display the product number, product name and company in the descending
order of their price.

13. Display product minimum price for each company.

14. Display product number and product names in their ascending order of
names.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 25


15. Display maximum price of products manufactured by apple.

IP PRACTICAL RECORD FILE Downloaded from: www.tutorialaicsip.com Page 26

You might also like