We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Uploading Instructions:

  • You are not allowed to use any other software/IDE except NetBeans IDE for this assignment development.
  • The submission must be a complete NetBeans IDE project folder (which should contain complete source code, Java files, database file and builds etc.). After finalizing, compress it with Zip or RAR format, save with your own Student ID (e.g. bc000000000.zip) and submit it at VU-LMS within due date.
  • Your assignment should be in .zip /.rar format. Other file formats will not be accepted.
  • No assignment will be accepted through email.

 

Rules for Marking:

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The assignment is not submitted in .zip /.rar format.
  • The submitted assignment does not open or file is corrupted.
  • The assignment is fully or partially copied from other student or ditto copy from handouts or Internet; strict disciplinary action will be taken in this case.
  • The submitted code is unable to compile/execute in NetBeans IDE; during evaluation, submitted code will be checked on NetBeans IDE. If unable to execute then ZERO marks will be awarded and no excuses will be accepted in this regard.

 

Note: Do not put any query on MDB regarding this assignment, if you have any query then email at cs506@vu.edu.pk

Lectures Covered: This assignment covers Lectures # 1-16

 

GOOD LUCK


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 1087

Attachments:

Replies to This Discussion

CS506 Assignment No. 2 Spring 2020 Solution Demo by VU ACADEMY

Problem Statement: You are required to develop a Java program named MyATM, which should simulate behavior of a typical ATM (Automated Teller Machine). In which a user, after entering card details, can deposit amount, withdraw cash and check current balance. The program should be based on a user friendly interface; need to use Java Swing based GUI components for this purpose. Further, all information must be saved in a backend database using MS Access. Detailed Description: At start, your program should ask the user to provide card number and pin code as input. After taking input from user the program should fetch user data corresponding to the input values from database and store in a class level global variable. Taking input from user is shown in figure no 1. If input values are correct (i.e. found a user against provided card number and pin code) then following ATM services should be displayed via GUI; 1. Deposit Amount 2. Withdraw Cash 3. Check Balance However, in case if input values are not correct (i.e. found no user against provided card number and pin code) then appropriate message should be shown, like; "Invalid Card No or Wrong Pin Code". 1. Deposit Amount: Each time, user selects this option, s/he will be prompted to enter money for deposit that must be in multiple of Rs. 500/- (hint is given below) and up to a maximum of Rs. 25000/- per transaction. If inputs are correct then the amount must be added in current balance and as well as in database. However, in case of wrong input, appropriate message should be displayed. 2. Withdraw Cash: User can withdraw any cash but in multiple of Rs. 500/- (hint is given below) and up to a maximum of Rs. 25000/- per transaction by using this option. However, if balance is zero or withdraw amount is greater than the balance, then appropriate message should be displayed. Otherwise, amount must be deducted from current balance and as well as database should be maintained. 3. Check Balance: The program should fascinate the user by displaying the current balance as well via GUI. Note: At the end of each successful transaction, the user must be asked to proceed with another transaction or not; if yes then start from displaying ATM services again and if not then show developer information (i.e. Student Id and name) via GUI. Required Stuff: Java Classes: DebitCard.java (id,username,cardno,pincode,balance) DbHelper.java (should contain all database related code) MainClass.java (should contain GUI code) Database file: BSxxxxxxxx.accdb (must be same as your own VU student id) Note: need to put database file in assets folder in NetBeans project directory; as shown below; Important Things to Implement:  For GUI, relevant components (i.e. JFrame, JPanel, JButton, JTextArea, JTextField and JLable etc.) from AWT and Swing packages should be used.  You will have to use UCanAccess driver to connect to MS Access database. In this case, you are suggested to view the video tutorial shared above.  For storing/fetching data to/from database, you will need to use proper SQL queries.  Data must be stored/fetched to/from database table in the form of Java class object/s.  You can use same Java classes (DebitCard and DbHelper etc.) as provided in assignment # 1 and also can make changes as required.  Java classes must have proper Data Members and Member Functions along with Constructors, Standard Setters and Getters etc.  Need to make sure that exceptions are managed properly throughout the program; especially NullPointerException, NumberFormatException, ClassNotFoundException and SQLException etc.  All images, tables and sample data, given in this document, are just for reference purpose only; you have to provide your own implementations. It is not required to be exactly the same.
#CS506
#CS506Assignment2
#CS506AssignmentSolution
#CS506SolvedAssignment
#CS506Assignment2Solution2020
#CS506Assignment2Spring2020
#CS506ssignmentSolution
#CS506Programming
#CS506AssignmentNo2
#CS506Assignment2Solution2020
#CS506Solution
#CS506Assignment2Solution2020
#CS506SolutionLink
#CS506Assignment2Solution2020
#CS506DownloadLink
#CS506AssignmentPDF
#CS506Assignmentjava
#CS506Assignment2Solution2020
#CS506AssignmentSolutionCPP
#CS50javaFile
#CS506Assignment
#CS506Assignment2Solution2020
#CS506AssignmentDownload
#CS506Solve
#CS506Assignment2Solution2020
#CS506Assignment2
#CS506Assignment2Solution2020
#JDK
#Netbeans
#Java
CS506 Assignment 2 Solution 2020,
JDK Downlaoding and Installation : https://www.youtube.com/watch?v=-UnbdaA2W8U&t=375s

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided. 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

 

http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)

http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)

Click Here to Search (Looking For something at vustudents.ning.com?)

Click Here to Join (Our facebook study Group)

CS506 Assignment No. 2 Spring 2020 Complete Solution by VU ACADEMY

Dear Students I have Solved and Uploaded the Assignment No. 2 of CS506. I have also tried to explain it to you.
The biggest issue that comes up when submitting an assignment is copy paste.
To fix this, I have explained in video how we can save copy paste issue by how to do that change in code / assignment.
*Source Code file Also Attached in Video Description*

CS506_Assignment_No_02_Solution_Spring_2020 

Download the ZIP Folder

CS506_Assignment_No_02_Solution_Spring_2020

RSS

Looking For Something? Search Here

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.