Você está na página 1de 4

ASSIGNMENT QUESTIONS

1. Devise an application for the Banking system which handles the run-time errors. Your
application has to perform the following operations: Create a New Account with
the details like (name of the account holder, date of birth, birthplace, age,
gender, date of account creation, account number which is an automatic number
should generated starts with the this format XXDDDD-XX indicates first 2 letters
of place of Birth and DDDD- starts from 1000 to n, where n is to create n
accounts), Deposit , Withdraw and Balance Enquiry, calculate Interest Rate per
month with 3% on current balance) and Delete Account. Create a User-defined
Exception Transaction Failed which raises when the following conditions occur:
a. More than 3 transactions of any kind (deposit/withdraw/balance Check)
performed on the same day.
b. More than 25000 cant be withdrawn or deposited at a time.
c. If Account balance exceeds more than 5lakhs.
Design a class Transaction Failedto handle the points mentioned above.
And also add the search function to search the accounts with any of the given search
options as (Account Number or name of the account holder or date of birth) and
display the account records. Operations will be based on user-choice. Design a menu
driven program to implement the above.

Sample Output:

Add few more options according to the given above

2. Apply multithreading concept which handles synchronization on the above program


when
User wants to perform multiple operations of same type at a time on the given
account number.

3. Design a multithreading program to implement producer consumer problem.

PROGRAM BASED ON APPLETS/AWT


4. Design an applet program to display your name using shapes (rectangles, lines, oval,
etc)
5. Design a sketchpad to draw different shapes, add different background colors based
on
User choice by selecting a color, and also add a functionality to draw their own
drawings (Use MouseMotionListener, MouseListener and different listeners to
handle this functions).

6. Design a program to implement a virtual keypad, and display the text in the text area.
7. Design an application which shows as follows:

Set the background color of the button when mouse enters into a button
and display the ToolTipText with the text of that button.

8. Design a Scientific calculator (the sample screenshot of the program shown below).

9. Design an awt program which display the Digital Clock which has the following format:
(Apply threading concept to handle the seconds)
Hours

Minutes

Seconds

07

15

09

10.
Design a program to implement Font Dialog Box. (Apply preview on the
selected text in the Font Dialog Box) the sample screenshot of the font dialog
box.

11.

Design application to implement JNotepad.

12.

Design a scrambled word guessing game as shown below screenshots:

13. Implement Random number guessing game. Design an User Interface for this

with suitable components.

Você também pode gostar