You are on page 1of 5

GOVT.

SHIVNATH SCIENCE COLLEGE


RAJNANDGAON (C.G.)

SESSION 2023-24
[ PGDCA 109]

Practical Based On
PGDCA 106,107,108

GUIDED BY SUBMITTED BY
Ashish Mandle Roopali Sahu
Priyanka Sahu
INDEX

S.NO NAME OF PROGRAM PAGE NO. REMARK


1. Write a program that reads an integer value and 1
prints-leap year or-not a leap year.
2. Write a program to create the following pattern 2
For example enter a size: 5
*
**
***
****
*****
3. Write a function that takes an integer input and 3
calculates the factorial of the number.
4. Write a function that takes a string input and 4
checks if it is a palindrome or not.
5. Write a program to check whether the input 5
number is even or odd.
6. Write a program to generate Fibonacci series. 6

7. Write a program to compare three numbers and 7


print the largest one.

8. Write a program to print factors of a given 8


number.
9. Write a program to sort a list using bubble sort. 9

10. Write a program to sort a list using Selection 10


sort.

11. Write a program to sort a list using Insertion 11


sort.
12. Write a program to implement linear search on 12
list.

13. Write a program to implement binary search on 13


list.
S.NO Name of Program Page REMARK
No.
1. STUDENT (s_id , s_name , s_add , s_phn , dob ) 14-15
1. Create the given table.
2. Insert at least five rows.
3. Display the table.
4. Add one more column as ‘department’.
5. Insert the values in department.
6. Modify the values A1004 as A1005
7. List all the students who’s dob is between ’01-jan-
1995’ to ’31-dec-1995’.

2. College (c_id,c_name,city,phn) 16-17


1. Create the above table with following
specification .c_id= primary key
2. Insert at least five rows.
3. Describe the table.
4. Find the details of college.
5. Add one more column as aff_date.

3. Draw a Table Client Master in SQL:- 18


1. Creating a table:-
2. Insert the value of a table:-

4. Draw a Table Product Master in SQL:- 19


1. Create a table:-
2.Insert the value of a table:-

5. Draw a Table Supplier Master in SQL:- 20


1. Create a table:-
2. Insert the value of a table:-
6. Draw a Table Employee in SQL:- 21
1. Create a table:-
2. Insert the value of a table:-

7. Draw a Table Salesman in SQL:- 22


1. Create a table:-
2. Insert the value of a table:
QUERIES:-
1. Find out the name of all the Client from Client 23
Master table:-

2. Retrieve the list of name and city of all 23


Client_Master table:-

3. List of the Client whose location is Durg:- 23

4. Change the balance of Client_NumberA1001 to 23


rupees 65000:-

5. Display the table Client_MasterAmong with its 24


data:-

6. Delete from Client_Master where the value of state 24


is ‘chhattisgarh’:-

7. Find the name of the salesman whose sell_amt 24


=899:-

8. Change the city of the salesman whose city is rjn:- 25

9. Change the name of salesman table to Roopali :- 25

10. Select data from employee table who are not 25


working in department number(9,2,4):-

11. Select data from emp who are teacher or 26


professor:-

12. List the name of employee who join_date in 26


(‘12/07/17’):-

13. Display emp name having the length of 6 26


characters:-

14. List all employee name ending with l:- 26

15. Display the name of the employee who are working 27


teacher,doctor,police salary is greater 45000:-

16. Retrieve all information about supplier whose name 27


begin with ‘do’ from supplier_master:-

17. Retrieve the supplier_name where second character 27


of name is ‘_a%’:-

18. Retrieve the supplier_master whose 27


supplier_number second character has 5:-

19. Retrieve the city from supplier_master where 27


second character is u:-
20. List the various product available from 28
product_master table:-

21. Change the cost_price of ’68 to rupees 788’. 28


22. Change the size of sell_price column in 28
product_master(12,2).

23. Delete all product from product_master where 29


qty_on_hand = 8:-

24. Select from emp_name where mid character is n:- 29


25. Display the name of current user:- 29

S.NO Name of Program Page REMARK


No.
1. Write a program to create a Unordered List. 30

2. Write a program to create a Ordered List. 31-32

3. Wtite a program to describe Text Formatting. 33-34

4. Write a program to create a following Table. 35-36

5. Write a program to create a following Table. 37-38

6. Write an HTML Program to demonstratre hyperlinking 39


between two web pages. Create a marquee and also insert
an image.

7. Write a program insert an image. 40


8. Write a program to describe the concept of frameset. 41

9. Write an HTML program to create a web page with a blue 42


background and the following list.
10. Write a program to create a following form. 43-44

You might also like