HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
PRG 421 Entire Course
1. ExamTutorials.com
http://www.examtutorials.com
PRG 421 Entire Course
http://www.examtutorials.com/course/prg-421-entire-course/
Author : cmin
PRG 421 Week 1 Complete
Individual Hello World Program
Design, implement, test, and debuga GUI-based version of a “Hello, World!” program.
Create a JFrame that includes a JLabel that reads “Hello, World!” Use a layout manager of your
choice.
Include an Exit button to close the program.
Submit the .java source file.
Learning Team Instructions Fundraiser Program
A city is sponsoring a run to support local charities and would like an application to track the
pledges. The result will be a database that holds data on individuals, total pledges obtained,
and the charity for which the donation is designated.
Design and implement a GUI-based program to accept a participant’s name, the amount
pledged, and the designated charity’s name. The program will store these data for later
retrieval. The project will be completed in several stages, with the first deliverable due in Week
Two.
Supporting Activity Java® Containers
Write a 200- to 300-word short-answer response for the following:
How are containers used in the Java® language? Write a small program in which you add
components to a container. Then post the code for your program.
Supporting Activity Events and GUIs
Write a 200- to 300-word short-answer response for the following:
What is an event? How are events and graphical user interfaces (GUIs) related? Provide an
1 / 5
2. example of an event and relate it to a GUI.
PRG 421 Week 2 Complete
* Individual GUI Components Program
For this assignment, you will choose from the following options:
Option 1: Retail Calculator
Option 2: Payroll Application
Read the instructions in the University of Phoenix Material: GUI Components Program located
on the student website and select one option to complete the assignment.
* Learning Team Project Plan
Develop a project plan for the fundraiser program due in Week Five.
The project plan should describe the design of the program and how it is to be modularized. The
design should include the layout of the GUI.
Note.The program should be designed in a modular way so that individual team members can
write the code for specific methods.
The project plan should also include individual task assignments.
Submit the project plan to your facilitator.
* Supporting Activity Menus
Write a 200- to 300-word short-answer response for the following:
What are advantages of using menus in a GUI application? Design a menu structure for a
program you would find useful in your work or hobbies. Write and post the code for the menu
creation.
* Supporting Activity Arrays and Combo Boxes
Write a 200- to 300-word short-answer response for the following:
How do arrays and combo boxes work together? Write a small program in which you add the
elements of an array to a combo box and post the code for your program.
PRG 421 Week 3 Complete
* Individual Contact Information Program
2 / 5
3. This is a two-part assignment.
Part 1
Design, implement, test, and debug a program with a JFrame that allows the user to enter a
series of 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. Include information for three to five contacts.
Part 2
Design, implement, test, and debug a program that reads the file you created by the list in Part
1 and displays the records in a JFrame. You may either display all entries in the list at once or
display them one at a time; the user interface is up to you. Protect against not being able to
open the file.
Submit the .java source files.
* Learning Team Initial program
Create a GUI-based program to accept name of donor, name of charity, and amount of pledge
from the user.
Display a list of entries in a JTextArea or JTable.
Submit the .java source file for this program.
* Supporting Activity Writing Code for a Data File
Write a 200- to 300-word short-answer response for the following:
Think of a programming task—other than the individual or team assignments in this course—in
which you would choose to use a data file. Write the code to read or write the file. Explain the
activity and your code.
* Supporting Activity Exception Handler
Write a 200- to 300-word short-answer response for the following:
Think of a programming task—other than the individual or team assignments in this course—in
which you would choose to use an exception handler. Write the code for the try-catch block.
Explain the activity and your code.
PRG 421 Week 4 Complete
3 / 5
4. * Individual Pie Chart Applet
Write an applet that includes a pie chart.
Use a news article with statistics that are good candidates for a pie chart: for example, political
candidate preferences; percentages of those for, against, or undecided about a ballot measure;
and so forth.
Cite the source for your input statistics.
Submit the applet along with an HTML file to launch it.
* Learning Team Instructions Add a Data File
Modify the program you created in Week Three to write the data—name, amount, and
charity—into a sequential data file.
Implement a capability of reading what is in the existing data file and displaying it in the text
area.
Submit the .java source file for the program.
* Supporting Activity Java® Applets Versus JavaScript
Write a 200- to 300-word short-answer response for the following:
How would you differentiate a website that uses a Java® applet from one that uses JavaScript®
code? Locate a website that includes a Java® applet and provide its URL.
Describe each user interface component used and how the applet uses each of them.
Do you think the applet uses interface components effectively? Why or why not?
* Supporting Activity Java® Applets and Network Security
Write a 200- to 300-word short-answer response for the following:
Select one of the applications you wrote in Week 1 or 2 and convert it to an applet. You may
use either one of your individual assignments or an example of a full program you posted in
response to a DQ. Explain why your individual assignment for Week 3 is not a good choice.
Discuss any challenges you encountered in making this conversion and successfully compiling
and executing the applet. Post your applet code here.
PRG 421 Week 5 Complete
4 / 5
5. Learning Team Connect to a Database
Write a program to create a database from the data in the sequential file you created in Week
Four.
Modify the GUI to connect to this database and add entries to it and read entries from it. Entries
read from the database should be displayed in the JTextArea or JTable.
Test and debug this final program.
Submit the .java source file or files.
* Supporting Activity Mobile Apps
Write a 200- to 300-word short-answer response for the following:
What type of mobile app would you find useful? What steps would you take to create and
deploy this app? Be specific about the software tools you would use.
* Supporting Activity
Conduct an Internet search for JavaDB tutorial. You may choose to use either a text-based or a
video tutorial. Follow the steps in the tutorial to learn how to use JavaDB.
Modify one of the demo programs with the JavaDB download to create and manipulate your
own database.
Write a 200- to 300-word description of the challenges you encountered.
Post the source code of your program.
http://www.examtutorials.com/course/prg-421-entire-course/
Powered by TCPDF (www.tcpdf.org)
5 / 5