Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Andhra Education Society: Dr. K.R.B.M Sr. Sec School

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

ANDHRA EDUCATION SOCIETY

Dr. K.R.B.M Sr. Sec School

COMPUTER SCIENCE
PRACTICAL FILE 2021-2022

Submitted to Submitted by
Mrs. Neelam Asad Mohd Shumail Khan

(PGT) 12th Science (26)


PROGRAM 1
1. To create a Database.

PROGRAM 2
2. To 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.

PROGRAM 3
3. To insert the details of at least 10 students in the above table.
PROGRAM 4
4. To delete the details of a particular student in the above table.

PROGRAM 5
5. To increase marks by 5% for those students who have student id more than
20.

PROGRAM 6
6. To display the entire content of the table.
PROGRAM 7
7. To display Student ID, Name and Marks of those students who are scoring
marks more than 50.

PROGRAM 8
8. To find the average of marks from the student table.

PROGRAM 9
9. To find the number of students, who are from section 'A'.

PROGRAM 10
10. To add a new column email in the above table with appropriate data type.
PROGRAM 11
11. To add the email ids of each student in the previously created email
column.
PROGRAM 12
12. To display the information of all the students, whose name starts with 'AN'
(Examples: ANAND,ANGAD,..)

PROGRAM 13
13. To display Student ID, Name, DOB of those students who are born
between 2005-01-01' and 2005-12-31'.

PROGRAM 14
14. To display Student ID, Name, DOB, Marks, Email of those male students in
ascending order of their names.

PROGRAM 15
15. To display Student ID, Gender, Name, DOB, Marks, Email in descending
order of their marks.
PROGRAM 16
16. To display the unique section available in the table.

PROGRAM 17
17. Add a new column, Mobile No, of type integer in the table Student.

PROGRAM 18
18. Modify/Change the date type size for the name field from 20 to 25
Characters.
PROGRAM 19
19. Add a new column, Adm_no of type integer and add a primary key
constraint on this column.
PROGRAM 20
20. Write a Query to change the marks to 90 of a Student having Student ID is 9.

PROGRAM 21
21. Write a Query to show all the male student's details.
PROGRAM 22
22. Write a Query to show the distinct values of stream.
PROGRAM 23
23. Write a query to list the details of all the students who have secured more
than so marks and are male.

PROGRAM 24
24. Write a query to display the records of all the students who are not from
Commerce stream.

PROGRAM 25
25. WAQ to display Student ID, Name along with Marks of those students
whose Masks lie in the range of 80 to 100.
PROGRAM 26
26. Write a query to display Student ID of those students whose marks do not
lie in the range of 80 to 100.

PROGRAM 27
27. Write a query to display Name of those students whose stream is either
Science or Commerce.

PROGRAM 28
28. Write a query to display Student ID, Name for those students whose name
ends with the letter ‘a’.
PROGRAM 29
29. Write a query to display the average marks of students.

PROGRAM 30
30. Write a query to display the total unique values of marks in the table.
PROGRAM 31
31. WAQ to display the name, stream, marks & count the total number a
students who have secured more than 90 marks according to their stream.
PROGRAM 32
32. Write code to connect to a MySQL database namely School & then fetch
all those records from table student where a class is ‘XI’.
PROGRAM 33
33. AES School is managing student data in 'Student' table in school
database. Write a Python code that connects to database School & retrieves
all records & display total number of students.
PROGRAM 34
34. ABC Infotech Pvt. Ltd. Needs to store, retrieve and delete the records of
its employees. Develop an interface that provides front end interaction
through Python, and stores and update record using MySQL. The operations
on MySQL table “emp” involve reading, searching, updating and deleting the
records of employees.

(A) Program to read and fetch all the records from EMP table having salary more than
₹70000.
(B) Program to update the records of employee by increasing salary by
₹ 1000 of all those employees who are getting less than ₹ 80000.
(C) Program to delete the record on the basis of inputted salary.
PROGRAM 35
35. Write a program to create a Stack called Employee, to perform basic
operations on Stack using list. The list contains the two values—employee
number and employee name. The program should include the options for
addition, deletion and display of employee details.

You might also like