Prg 421 week 3

on

  • 145 views

 

Statistics

Views

Total Views
145
Views on SlideShare
145
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Prg 421 week 3 Prg 421 week 3 Document Transcript

  • HELPIDO.COMCLICK HERE TO GET THE SOLUTION !!!!!!PRG/421 Java Programming II - Week 3DISCUSSION QUESTION # 1Think of a programming task—other than the individual or team assignments in this course—inwhich you would choose to use an exception handler. Write the code for the try-catch block. Explainthe activity and your code.DISCUSSION QUESTION # 2Think of a programming task—other than the individual or team assignments in this course—inwhich you would choose to use a data file. Write the code to read or write the file. Explain theactivity and your code.DISCUSSION QUESTION # 3What are the advantages and disadvantages of sequential and random access files?Provide an example in which a sequential file is a better choice than a random access file. Explainwhy.Provide an example in which a random access file is better than a sequential file. Explain why.LEARNING TEAMCreate a GUI-based program to accept name of donor, name of charity, and amount of pledge fromthe user.Display a list of entries in a JTextArea or JTable.Submit the .java source file for this program.INDIVIDUAL ASSIGNMENTThis is a two-part assignment.Part 1Design, implement, test, and debug a program with a JFrame that allows the user to enter a seriesof contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file from the
  • entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. Includeinformation for three to five contacts.Part 2Design, implement, test, and debug a program that reads the file you created by the list in Part 1and displays the records in a JFrame. You may either display all entries in the list at once or displaythem one at a time; the user interface is up to you. Protect against not being able to open the file.CLICK HERE TO GET THE SOLUTION !!!!!!