You are on page 1of 2

BANGALORE UNIVERSITY

BCA Program

BCA405P – VISUAL PROGRAMMING LAB

Part A

1. Write a VB program to design a simple calculator to perform addition, subtraction,


multiplication and division (Use functions for the calculations).
2. Design a User Interface (UI) to accept the student details such as name, department, and
total marks. Validate the input data and calculate the percentage and division.
3. Design a VB application which has MDI and child forms. Create a Menu having the items
such as File(New,Open), Format(Font, regular, Bold, Italic ) and Exit in the MDI form. Also
create a text box and use a Common Dialog Box control for changing the font, forecolor and
back color of the text box.
4. VB Program to Encrypt and Decrypt a string. (Use Rnd() to generate the Encryption and
Decryption keys).
5. Create a vending machine application, that display images for four snacks, and
corresponding labels that indicate number for each snack. The GUI should contain a text
box in which the user specifies the number of the desired snack. When the dispense snack
button is clicked, it should display on a label the name of the snack dispensed. At end it
should print (display) the bill of the product.
6. Design a small Alarm Clock Application.
7. Write a VB program to validate the username and password from the database and
display the appropriate message. (use Data Control)
8. Write an application for Airline Reservation System, which allows the user to book ticket
on a particular date for a particular type of class. At the end, once the ticket is booked, it
should display a boarding pass indicating the person’s seat no., type of class and total fare.
Input validations should be done properly. You can use arrays or databases for storing the
information.

Part B

9. Design a VB application to accept the Item Details (ItemId, ItemName, MfdDate,


UnitOfMeasure, and RatePerUnit). ItemId should be a system generated id. The application
should allow the operations - Add, Modify, Delete, Update and Navigations of the items.
Use ADO Data controls and Grid Controls.
10. Design a VB application to record the Employee Details such as EmpId, EmpName,
Designation, and BasicPay. Calculate the DA, HRA, Deductions and Gross Salary. (Make
the necessary assumptions). Use Select=Case for decision making.
11. Design a mini ATM Application, which validates the user on the basis of its account no.,
and password. After validation customer is allowed to do many operations such as
withdrawal, mini statement, checking balance etc. Application should perform the concerned
operation and the account of the user should be updated accordingly.

12. VB program to calculate the Simple Interest and Compound Interest. Use DLLs for the
calculations.

13. VC++ program to create a Dialog Box and display the position of Mouse pointer within
the dialog box.

14. Create an application which is linked to a book database. The application should allow
the user to perform a search of the book from the database, when user clicks a button. User
should be able to search any book with its Title, ISBN no or Author name.

15. VC++ program to create and load a simple menu in a Window.

Scheme of Evaluation
Writing 2 programs – one from each part : 10marks
Executing 1 program : 10 marks
Viva voce : 5 marks
Class Record : 5 marks

Total Marks : 30

You might also like