Practical Exam Questions For PGDCA
Practical Exam Questions For PGDCA
1. Explain Msg Box ( ) and Input Box ( ) in VB? Write a programme to find even or odd
number?
2. Explain for loop and while loop in VB with programming example. Write a
programme to print table of a given number?
3. How Array is created in VB? Write a program to find factorial of given number,
output should be display in message box?
4. Differentiate between Option Button and Check Box in VB? Write a programme for
swapping of two numbers?
5. What is MDI form in VB? Write a programme to find area of circle?
6. Differentiate between front end & back end? Write a programme to print Fibonacci
sequence?
7. Explain different components of IDE? Write a programme to find maximum of three
numbers?
8. Write a note on error handling? Write a programme to find area of circle?
9. Explain various data types available in VB? Write a programme for swapping of two
numbers?
10. Explain how a variable can be declared in VB? Write a programme to print table of a
given number?
Note: Solve the following queries using EMP, DEPT, SALGRADE tables
1. List the name & employee code of the employee whose salary is more than 1500.
2. List the name & salary of the employee who is working in deptno 30.
3. List the name & salary of the employee who is working as an Analyst in deptno 10.
4. List the name & job of the employee whose salary more than 1000 but less than 2000.
5. List all the deptno from EMP table.
6. List the name & salary of the employee who is working in deptno10, 20, and 30.
7. List the name & salary of the employee who is not working in deptno10, 20.
8. List the entire analyst who is working in deptno 20.
9. Display the following output. “SCOTT IS A MANAGER IN DEPARTMENT NUMBER 10 “
10. List the entire clerk whose salary is more than 800 & not working for deptno 10.
11. Give bonus of Rs 500 to all employees working for deptno 30.
12. Find the total salary of the each employee working for deptno 20.
13. Find the oldest employee.
14. List the entire employee whose name contain one A & of dept 20.
15. List the name & salary of the employee who are getting no commission for dept 10.
16. List all employee names, salary and 15% raise in salary.
17. List the id & job of the employee whose salary > 2000 & name starts with S.
18. List all employees who joined in 1981.
19. List all employee names and their salaries, whose salary lies between 1500/- and 3500/-
both inclusive.
20. List all employees which start with either J or T.
21. List the entire employee whose name contain one A & of dept 20.
22. List all employee names and jobs, whose job title includes M or P.
23. List all jobs available in employee table.
24. List all employees who belong to the department 10 or 20.
25. Display the salary of employee in decreasing order with their name.
Practical Questions for HTML