MCA Practical Exercises
MCA Practical Exercises
PRACTICAL QUESTION FOR MCA-P1 (LAB 1) & PGDCA P1 (LAB-1) & BCA-P1 (LAB-1)
1. Write a program to calculate the area and circumference of a circle using the
relation.
COMPUTER GRAPHICS IN C ++
PRACTICAL QUESTION FOR MCA-P3 (LAB 3)
1. Program to draw a line using DDA Line Drawing algorithm.
2. Program to draw a line using Bresenhams Line Drawing algorithm.
3. Program to implement circle using Bresenhamas Circle Generating algorithm.
4. Program to draw Ellipse using Bresenhamas Ellipse Generating algorithm.
5. Program to implement a circuit using DDA line Drawing algorithm.
6. Program to get inner and outer view of a house.
7. Program to implement cartoon using circle, Ellipse and ARC
8. Program to generate piechart and Bargraph using Pieslice and Bar
9. Program to generate Bar graph in three dimensions
10. Program to implement Two-Dimensional Transformations
11. Program to Reflect a triangle W.R.T X Axis
12. Program to Animate any two Dimensional Object.
13. Program to implement the Ball Bouncing using Random number.
14. Generation of moving colour circles and colour Random Lines.
VISUAL C ++ PROGRAMMING
PRACTICAL QUESTION FOR MCA-P4 (LAB 4)
1. SDK PGM to Display the user defined window
2. Displaying the Given Message.
3. Displaying set of lines.
4. Displaying Rectangles with different colour.
5. Window Controls
6. Manipulation of Dialog Box
7. Displaying the Application form
8. Checking Password using Dialog Box
9. MFC Program for Standard Window
10. Program for user defined Icon && cursor
11. MFC Program for Window Control
12. MFC Program to create the Font Dialog Box.
13. MFC Program for colour dialog box.
14. MFC Program for deleting a file using Dialog box.
15. MFC Program for copy File Dialog Box.
16. MFC program for Notepad.
VISUAL BASIC PROGRAMMING
1. To write a Visual Basic application for calculator that will perform simple as well
as complex calculations.
2. To write a Visual Basic application for inserting and deleting strings from the list
box.
3. To develop a visual basic application for displaying the contents of the selected
file using the file list box , directory list box and drive list box.
4. To write a Visual Basic application to make a label to scroll from left to right and
vice versa and change the mouse icon at each of the 8 * 8 cells.
5. To create a menu editor with cut, copy and paste operations and search the word
in the text.
6. To create a Visual Basic application for a basic designer for drawing Line, Circle,
Rectangle, Ellipse and Triangle.
WINDOWS PROGRAMMING
PRACTICAL QUESTION FOR BCA-P2 (LAB 2)
1. Activate the start menu and view the options available.
2. See the contents of the programs option.
3. Start a Paint Application.
4. Start a Note pad Application.
5. Minimize note pad Application.
6. Maximize the paint Application.
7. Write a small note in Note pad and save.
8. Calculate 259650 * 7659 and see the result.
9. Go to the Dos prompt and find out the number of files in C : drive.
10. Go back to the windows desktop.
11. Change the wall paper of the Desktop.
12. Change the appearance of windows in your system by changing the color settings.
13. Set and appropriate screen saver using the control panel.
13. Count the number of products having price greater than equal to 1200.
14. Calculate the average price of all the products from product mast table.
15. Find out the employees who earn the highest salary in each dept_no
16. Write a PL / SQL Block to find out the square of a number.
17. Write a PL / SQL Block to compute the area of the circle and square
18. Write a PL / SQL Block to conversions of Celsius to Fahrenheit and vice versa
19. Write a PL / SQL Block to find the Largest from the three numbers.
20. Write a PL / SQL Block to find factorial value of any number.
21. Write a PL / SQL Block to accept the marks for three subjects from a student,
calculate its average and print Distinction.
22. Write a PL / SQL Block to accept the emp number employee table and calculate
the tax on salary based.
23. Write a PL / SQL Block to display the first 10 odd numbers .
24. Write a PL / SQL Block to print the Fibonacci series.
25. Write a PL / SQL Block to calculate the electricity bill.
26. Display all clerks from emp table using cursor.
27. Update all Sal < 1000 to Sal = 2000 using cursor.
28. Create a function for Simple Interest.
29. Create a recursive function for Fibonnaci series.
30. Create a package for checking the Even or Odd numbers.
31. Create a package for bank transactions for account debit and credit.
SOFTWARE ENGINEERING
PRACTICAL QUESTIONS FOR MCA P2 (LAB 2) & BCA-P2 (LAB-2)
1. Describe as many source of information as you can think of that should be
consulted in order to perform a domain analysis for each of the following systems.
a. Airline Reservation System
b. The investments System
2. You are developing a system for managing the processes of a small town public
library. List all the actors for this system.
3. An organization has three categories of employees : Professional staff, technical
staff and support staff. The organization also has departments and divisions. Each
employee belongs to either a departments or a divisions. Draw a class diagram
corresponding to this. Assume that there will be different attributes or operations
in all the classes, and that people will never need to change from one category to
another.
4. Show a hierarchy of vehicle parts. Show how this hierarchy might be better
represented using the General Hierarchy pattern.
5. Imaging you were planning to develop the following types of software projects.
What different kinds of users should you anticipate? Consider each of the issues
mentioned.
a. An air traffic control system
b. A payroll system
6. Develop E-R diagram for the following
a. Customers make orders
b. People work in departments
c. Customers buy items
d. Deliveries of parts are made to customers.
7. The list of problems that are to be attempted during the prescribed lab sessions
a. Project Planning
b. Requirement Analysis
c. Design
d. Testing
8. Data flow model of a car assembly plant.
9. Assume that the size of an organic type software product has been estimated to be
32.000 lines of source code. Assume that the average salary of software engineers
is Rs.15,000 per month. Determine the effort required to develop the software
product and the nominal development time.
10. How to document the Functional Requirements?
a. Withdraw Cash from ATM
b. Search Availability in Library
11. Draw level 0 (context level) and level 1 data flow diagrams for the following
students Academic Record Management Software.
a. A set of course are created . Each course consists of a unique
course number, number of credits, and the syllabus.
b. Students are admitted to courses. Each students details include
roll number, address, semester number and the courses registered
for the semester.
c. The marks of a student for various units credited are keyed in.
d. Once the marks are keyed in, the SWA (semester weighted
average) is calculated.
e. The recent marks of a student are added to his previous marks
and a weighted average based on the credit points for various
units is calculated.
f. The marks for the current semester are formatted and printed.
12. State chart diagram for an order object.
8. Develop a flow chart and write an algorithm to check whether any given year is
Leap or not.
9. Develop a flow chart and write an algorithm to check prime and unprimed
numbers.
10. Develop a flow chart and write an algorithm to calculate the factorial of any
positive number using recursive function.
11. Develop a flow chart and write an algorithm to calculate the bill amount for the
book shop.
12. Develop a flow chart and write an algorithm to find the product of two matrices.
13. Write an algorithm for DFS.