PRG 421 Uopcourses / Uoptutorial

PRG 421 ENTIRE COURSE

For more course tutorials visit

www.uoptutorial.com

PRG 421 Week 1 Individual Assignment Hello World Program

PRG 421 Week 1 Supporting Activity Java Containers

PRG 421 Week 1 Supporting Activity Events and GUIs

PRG 421 Week 2 Individual Assignment Retail Calculator

PRG 421 Week 2 Supporting Activity Arrays and Combo Boxes

PRG 421 Week 2 Supporting Activity Menus

PRG 421 Week 3 Individual Assignment Individual Contact Information Program Part 1 and 2

PRG 421 Week 3 Learning Team Assignment, Charity Program

PRG 421 Week 3 Supporting Activity Exception Handler

PRG 421 Week 3 Supporting Activity Writing Code for a Data File

PRG 421 Week 4 Individual Assignment. Pie Chart Applet

PRG 421 Week 4 Learning Team Assignment (Charity Program)

PRG 421 Week 4 Supporting Activity Java Applets and Network Security

PRG 421 Week 4 Supporting Activity Java Applets Versus JavaScript

PRG 421 Week 5 Learning Team Assignment (Connect to Database, Charity Program)

PRG 421 Week 5 Supporting Activity Mobile App

PRG 421 Week 5 Supporting Activity JavaDB Tutorial

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” -

PRG 421 Week 1 Individual Assignment Hello World Program

For more course tutorials visit

www.uoptutorial.com

PRG 421 Week 1โ€Šโ€”โ€ŠIndividual Assignment

Individual
Hello World Program Design, implement, test, and debug a 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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”

PRG 421 Week 1 Supporting ActivityEvents and GUIs

For more course tutorials visit

www.uoptutorial.com

ยท What is an event? How are events and graphical user interfaces (GUIs) related? Provide an example of an event and relate it to a GUI.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” -

PRG 421 Week 1 Supporting ActivityJava Containers

For more course tutorials visit

www.uoptutorial.com

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” โ€”

PRG 421 Week 2 Individual Assignment Retail Calculator

For more course tutorials visit

www.uoptutorial.com

PRG 421 Week 2 Individual Assignment Retail Calculator

A retailer would like a calculator to indicate sale prices when he marks items down at various percentages.

Design, implement, test, and debug a GUI application that allows the retailer to enter the itemโ€™s name, the itemโ€™s original price, and the percentage discounted.

The application should include a Calculate button that, when pressed, computes and displays the sale price in a label or text field.
The program should allow the retailer to enter any number of items in this manner.
Include an Exit button to end the execution of the application.
The program should allow the user to select a department from a menu. You may create the menu as a true menu, a JComboBox, or radio buttons.
Create your own list to populate the menu: menโ€™s clothing, womenโ€™s clothing, house wares, and so forth.
Include at least five departments.
Create a JTextArea or a JTable to display each of the following for each item entered:
Item name
Department
Original price
Sale price

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”

PRG 421 Week 2 Supporting ActivityArrays and Combo Boxes

For more course tutorials visit

www.uoptutorial.com

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 2 Supporting ActivityMenus

For more course tutorials visit

www.uoptutorial.com

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” โ€”

PRG 421 Week 3 Individual Assignment Individual Contact Information Program Part 1 and 2

For more course tutorials visit

www.uoptutorial.com

PRG 421 Week 3โ€Šโ€”โ€ŠIndividual Assignment!

Individual Contact Information Program 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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” โ€”

PRG 421 Week 3 Learning Team Assignment, Charity Program

For more course tutorials visit

www.uoptutorial.com

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

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”

PRG 421 Week 3 Supporting ActivityException Handler

For more course tutorials visit

www.uoptutorial.com

Discussion Question 1.

ยท 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 3 Supporting ActivityWriting Code for a Data File

For more course tutorials visit

www.uoptutorial.com

Discussion Question 2.

ยท 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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” โ€”

PRG 421 Week 4 Individual Assignment. Pie Chart Applet

For more course tutorials visit

www.uoptutorial.com

PRG 421 Week 4- Individual Assignment!

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Š-

PRG 421 Week 4 Learning Team Assignment (Charity Program)

For more course tutorials visit

www.uoptutorial.com

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” โ€”

PRG 421 Week 4 Supporting Activity Java Applets and Network Security

For more course tutorials visit

www.uoptutorial.com

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 4 Supporting Activity Java Applets Versus JavaScript

For more course tutorials visit

www.uoptutorial.com

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.

o Describe each user interface component used and how the applet uses each of them.

o Do you think the applet uses interface components effectively? Why or why not?

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”

PRG 421 Week 5 Learning Team Assignment (Connect to Database, Charity Program)

For more course tutorials visit

www.uoptutorial.com

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”

PRG 421 Week 5 Supporting Activity JavaDB Tutorial

For more course tutorials visit

www.uoptutorial.com

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.

โ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€”โ€Šโ€” -

PRG 421 Week 5 Supporting Activity Mobile App

For more course tutorials visit

www.uoptutorial.com

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.