Complete Practical File of Class XII-IP 2020-21
Complete Practical File of Class XII-IP 2020-21
in
Informatics practices-065
for
Session 2020-21
Roll.No-________________
__________________
Signature of External
2
Index
S.No. Practical Description Page Teacher's
No. Sign.
Section-A (Data Visualization)
1
2
3
4
..
..
Section-B (Python Pandas)
..
..
..
..
..
..
Section-C (SQL Commands)
..
..
..
3
Section-A
DATA VISUALIZATION
4
PRACTICAL NO-1
CODING:
5
OUTPUT:
6
PRACTICAL NO-2
CODING:
7
OUTPUT:
8
PRACTICAL NO-3
CODING:
9
OUTPUT:
10
PRACTICAL NO-4
CODING:
11
OUTPUT:
12
PRACTICAL NO-5
CODING:
13
OUTPUT:
14
PRACTICAL NO-6
CODING:
15
OUTPUT:
16
Section-B
PYTHON PANDAS
17
PRACTICAL NO-7
CODING:
18
OUTPUT:
19
PRACTICAL NO-8
Problem Definition : Create two Series, one from array and
another from List object, one with default index and another with
user defined index, one int data dtype and another string data type.
Now print the following attributes in the given format.
Attribute Name Series1 Series2
Data type :
Shape :
No. of bytes
No. of Dimensions
Has NaNs ?
Empty?
Index
values
CODING:
20
OUTPUT:
21
PRACTICAL NO-9
CODING:
22
OUTPUT:
23
PRACTICAL NO-10
CODING:
24
OUTPUT:
25
PRACTICAL NO-11
CODING:
26
INPUT:
27
OUTPUT:
28
29
PRACTICAL NO-12
PROBLEM DEFINITION:
CODING:
30
OUTPUT:
31
32
33
PRACTICAL NO-13
PROBLEM DEFINITION:
CODING:
34
INPUT:
35
OUTPUT:
36
PRACTICAL NO-14
PROBLEM DEFINITION:
CODING:
37
38
OUTPUT:
39
40
PRACTICAL NO-15
PROBLEM DEFINITION:
CODING:
41
OUTPUT:
42
PRACTICAL NO-16
PROBLEM DEFINITION:
CODING:
43
OUTPUT:
44
45
46
PRACTICAL NO-17
PROBLEM DEFINITION
CODING:
47
OUTPUT:
48
49
PRACTICAL NO-18
PROBLEM DEFINITION :
CODING :
50
OUTPUT:
51
52
53
PRACTICAL NO-19
PROBLEM DEFINITION :
CODING:
54
OUTPUT:
55
56
57
PRACTICAL NO-20
PROBLEM DEFINITION :
CODING :
58
OUTPUT:
59
60
PRACTICAL NO-21
PROBLEM DEFINITION :
CODING:
61
OUTPUT:
62
63
Section-C
64
SQL Commands
Q.1- Create a database 'School' on the database server, show the list of databases and open
it.
Q 2- Create the following table named 'STUDENT' with appropriate data type, size and
constraint(s) if any.
65
Q.3- insert the following records into the table.
Q.4- Display all the information of males whose city is NEITHER Delhi or Mumbai.
Q.5- Display the details of all the students whose date of birth is after Nishant’s Birth date 1995-12-
06. (consider the Sql’s standard date format)
66
Q.6- Display all information about class XII students rank wise.
Q.7- Display all columns arranged in descending order of city and within the city in the ascending
order their marks.
Q.8- List names of all students whose name has the character ‘a’.
67
Q.9- Display Name and Marks of those students whose marks is in the range 400 and 500 ( both are
inclusive)
Q.10- Display average marks, highest marks and total no. of students for each class
Q.11- Display total no of males and females separately, along with their average marks.
68
Q.13- Add a new column named Address. ( Take the data type and size yourself)
69
Q.15- Display name, class and city of 'XII' class students who lives in 'Mumbai'.
Q.17- Display name, data of birth and day name (like Sunday, Monday,.), of all females, whose
marks is greater than or equal to 400.
Q.18- Display City and highest marks of students of each city, but only for Delhi and Mumbai.
70
Q.19- Display round of average marks up to zero places, truncate of average marks up to 1 decimal
place for class 'X' students only.
Q.20- Write a query to display name and the position of character 'a' in the names of students
having 'a' anywhere in their names.
Q.21- Display name, character number 3rd and 4th of each name and counting of number of
characters in each name.
71
Q.22- Display current date and current time together.
Q.23- Display name, marks and round up the Square root of marks up to 2 decimal places
Teacher's Signature:
_____________________
72