I.B.S.
Global Academy, Ujjain,
Practical File
Class-XI
Session 2025-26
Informatics Practices (065)
Submitted By:
Name:……………………
Roll No. :…………………
Class & Section:
Submitted to:
Mr. Sohan Rajput
PGT(CS)
PRACTICAL RECORD FILE
SUBJECT: INFPRMATICS PRACTICES(065)
S. DATE PRACTICAL PROBLEM PAGE SIGN OF
No. No. TEACHER
1 To enter first and last name, then display the full name
2 To add two numbers entered by user
3 To calculate the perimeter of a rectangle
4 To calculate the area of a given triangle
5 To Calculate simple interest
6 To check whether a given number is positive, negative or zero
7 To check whether a given number is even or odd
8 Program to find the total marks, percentage and grade of five
subjects’ marks
9 Program to check whether a given year is leap year or not
10 To print 1 to 10 numbers using for loop
11 To print multiplication table of any given number
12 To print sum of first ten odd numbers
13 Program to enter 5 numbers in a list then find the average of all
numbers
14 Program to enter 5 numbers in a list then display all the even
numbers of list
15 Program to create a dictionary and enter the name and marks of
five students
PROBLEM: Program to enter first and last name, then display the full name
SOLUTION:
OUPUT:
PROBLEM: To add two numbers entered by user
SOLUTION
OUTPUT
PROBLEM: To calculate the perimeter of a rectangle
SOLUTION:
OUTPUT
PROBLEM: To calculate the area of a given triangle
SOLUTION:
OUTPUT:
PROBLEM: To calculate the Simple Interest of a given amount.
SOLUTION:
OUPUT:
PROBLEM: To check whether a given number is positive, negative or zero
SOLUTION:
OUTPUT:
SOLUTION:
OUPUT:
SOLUTION:
OUTPUT:
SOLUTION:
OUTPUT:
PROBLEM: To print 1 to 10 numbers in a single line using for loop
SOLUTION:
OUTPUT:
PRACTICAL No-11
PROBLEM: To print multiplication table of any given number
SOLUTION:
OUPUT:
PRACTICAL No-12
PROBLEM: To print sum of all odd numbers between 10 to 100
SOLUTION & OUTPUT
PRACTICAL No-13
PROBLEM: #Program to enter 5 numbers in a list then find the average of all
numbersSOLUTION & OUTPUT
PRACTICAL No-14
PROBLEM : Program to enter 5 numbers in a list then display all the even numbers of list
SOLUTION & OUTPUT
PRACTICAL No-15
PROBLEM : Program to create a dictionary and enter the name and marks of five
students
SOLUTION & OUTPUT
No. Practical
1 Create Database Named Class11
2 Open Database Class 11
3 Create a student table with the student id, class, section, gender,
name, dob, and marks as attributes where the student id is the
primary key.
4 View the structure of the table
5 insert the details of at least 10 students in the above table.
6 Display the details of the student table.
7 Delete record of students who secured less than 65 marks.
8 Increase marks by 5% for who have studentid more than 1105.
9 Display the content of the table of female students.
10 Display studentid, Name and Marks whose marks are more than 50.
11 Find the average of marks from the student table.
12 Find the number of students, who are from section ‘A’.
13 Add a new column email in the above table.
14 Add the email ids of each student in the created email column.
15 Display the information of all the students, name contains ‘sh’
16 Display the information of all the students, name starts with ‘sh’
17 Display studentid, Name, DOB of who are born in 2005
18 Display studentid, Name, DOB, Marks, Email of male students in
ascending order of their names.
19 Display stduentid, Gender, Name, DOB, Marks, Email in
descending order of their marks.
20 display the unique section available in the table.
| Page 17
1. Create Database Named Class11
create database class11;
2. Open Database Class 11
use class11;
3. Create a student table with the student id, class, section, gender, name, dob,
andmarks as attributes where the student id is the primary key.
create table student
(studentid int(4) primary key,
class char(2),
section char(1),
gender char(1),
name varchar(20),
dob date,
marks decimal(5,2));
TERM 2 CLASS XI IP PRACTICAL FILE | Downloaded from [Link] | Page 18
4. View the structure of the table
desc student; OR
describe student
5. insert the details of at least 10 students in the above table.
insert into student values
(1101,'XI','A','M','Aksh','2005/12/23',88.21),
(1102,'XI','B','F','Moksha','2005/03/24',77.90),
(1103,'XI','A','F','Archi','2006/04/21',76.20),
(1104,'XI','B','M','Bhavin','2005/09/15',68.23),
(1105,'XI','C','M','Kevin','2005/08/23',66.33),
(1106,'XI','C','F','Naadiya','2005/10/27',62.33),
(1107,'XI','D','M','Krish','2005/01/23',84.33),
(1108,'XI','D','M','Ayush','2005/04/23',55.33),
(1109,'XI','C','F','Shruti','2005/06/01',74.33),
(1110,'XI','D','F','Shivi','2005/10/19',72.30);
TERM 2 CLASS XI IP PRACTICAL FILE | Downloaded from [Link] | Page 19
6. Display the details of the student table.
select * from student;
| Page 20
7. Delete record of students who secured less than 65 marks.
delete from student where marks <65;
8. Increase marks by 5% for who have studentid more than 1105.
update stduent set marks=makrs+(marks*0.05) where studentid>1105;
9. Display the content of the table of female students.
select * from student where gender = 'f';
TERM 2 CLASS XI IP PRACTICAL FILE | Downloaded from [Link] | Page 21
10. Display studentid, Name and Marks whose marks are more than 50.
select studentid,name,marks from student where marks>50;
11. Find the average of marks from the student table.
select avg(marks) from student;
12. Find the number of students, who are from section ‘A’.
alter table student add column email varchar(20);
13. Add a new column email in the above table.
alter table student add column email varchar(20);
| Page 22
14. Add the email ids of each student in the created email column.
update student set email='a@[Link]';
15. Display the information of all the students, name contains ‘sh’
select * from student where name like 'sh%';
16. Display the information of all the students, name starts with ‘sh’
select * from stduent where name like 'sh%';
17. Display studentid, Name, DOB of who are born in 2005
select studentid, name, dob from student where dob between '2005-01-
01' and '2005-12-31';
TERM 2 | Page 23
18. Display studentid, Name, DOB, Marks, Email of male students in ascending
order of their names.
select studentid, name, dob from student order by name;
19. Display stduentid, Gender, Name, DOB, Marks, Email in descending order of
their marks.
select studentid, gender, name, dob, marks, email from student order
by marks desc;
20. Display the unique section available in the table.
select distinct section from student;
TERM 2 CLASS XI IP PRACTICAL FILE | Downloaded from [Link] | Page 24