-17%

New Sol: prg 421 prg421 prg/421 entire course help – university of phoenix

$54.99$65.99

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

Welcome to PRG/421 – Java Programming II

Course Description:
This course continues the subject in PRG/420, Java® Programming I. Topics include designing complex applications and the use of data files.

Description

prg 421 prg421 prg/421 entire course help – university of phoenix

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

Welcome to PRG/421 – Java Programming II

Course Description:
This course continues the subject in PRG/420, Java® Programming I. Topics include designing complex applications and the use of data files.

PRG 421 Entire Course

PRG 421 Java Programming II

PRG421 Entire Course includes:

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program
  • PRG 421 Week 2 Individual Assignment ArrayList Program
  • PRG 421 Week 3 Individual Assignment Iterator Program
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

PRG 421 Week 5 Individual Assignment Coding a Program Containing JDBC

Resource:

  • “Starter Code to Access Tables via JDBC” text file

For this assignment, you will create Java™ code that accesses a relational database, requests data, and then analyzes and displays a portion of that data.

Imagine a MySQL relational database schema named COMPANY_DB containing two tables, employee_table and payroll_table, such that the records in each of the tables is as follows:

  • employee_table:
Emp idFNameLNnameAddrCityStateZip
100JackSmith123 NorthTopeka KS66603
101JoeApple4 StreetDenverCO80202
111NancyGood45 SWHartfordCT06103
121TomWhatever89 NEDoverDE19901
122JimThompson789 W 95AlbanyNY12207
123TommyBoyson154 BoltBostonMA02201
125JohnJones47 WestLincolnNE68502
  • payroll_table:
Emp idPaysch401kSpouse
100BiWkyesyes
101BiWkyesyes
111Monthlynono
121Wklypendingyes
122Wklyyesno
123Monthlypendingno
125Monthlynoyes

 

The credentials you will need to access the database which holds both of the tables are as follows:

  • Host string = localhost:3306
  • Username = student
  • Password = prg421

Copy and paste the linked Java™ “starter” code into the NetBeans editor and save as a JAVA file.

Add Java™ statements to the file to accomplish the following:

  • Establish a connection to the database
  • Query the database, joining the two tables on the Emp_id field
  • Display your name and today’s date on the console along with the following returned database results:
    • employee identification number
    • first and last name
    • state
    • payroll schedule
    • 401k plan
  • Close the database connection

Identify and correct any compile-time errors that exist in the starter code.

Note: Because you will not be connecting to an actual database, some compiler errors will remain.

After you finish, rename your JAVA file with a .txt extension using the following naming convention:

  • PRG421_Week5CodingAssignment_LastnameFirstname.txt.

Submit your TXT file to the Assignment Files tab.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

BUY ORIGINAL SOLUTION

PRG 421 Week 4 Individual Assignment Coding a Program Containing Locale Object

Resource:
“The Locale Object” text file

For this assignment, you will develop Java™ code that relies on localization to format currencies and dates.

In NetBeans, copy the linked code to a file named “Startercode.java”.

Read through the code carefully and replace all occurrences of “___?___” with Java™ code.

Note: Refer to “Working with Dates and Times” in Ch. 5, “Dates, Strings, and Localization,” in OCP: Oracle® Certified Professional Java® SE 8 Programmer II Study Guide for help.

Run and debug your JAVA file to ensure that your solution works.

Save your JAVA file with a .txt extension.

Submit your TXT file to the Assignment Files tab.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 4 Individual Assignment Analyzing a Program Containing Deadlock

Deadlock occurs when no processing can occur because two processes that are waiting for each other to finish. For example, imagine that two processes need access to a file or database table row in order to complete, but both processes are attempting to access that resource at the same time. Neither process can complete without the other releasing access to the required resource, so the result is deadlock.

Read and analyze code in the linked document that spawns two different threads at the same time.

In a Microsoft® Word file, predict the results of executing the program, and identify whether a deadlock or starvation event will occur and, if so, at what point in the code.

Submit your Word file to the Assignment Files tab.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 3 Individual Assignment Analyzing a Program Containing Manipulating Data with the Java™ Stream API

Resource:

“Demonstrate the Coding to Produce Output to a File” text file

For this assignment, you will analyze Java™ that presents instructional text on the console, accepts user input, and then creates a file based on that user input.

Read the linked Java™ code carefully.

Then, answer the following questions in a Microsoft® Word file:

As you run the program in NetBeans the first time, at the prompt (the program will pause for input) type abc Return def Return ghi Ctrl+Shift+Del. What is the result?
As you run the program in NetBeans the second time, at the prompt (the program will pause for input) type 123 Ctrl+Shift +Del. What is the result?
What happens if the file Data.txt already exists when you run the program?
What happens if the file Data.txt does not already exist when you run the program?

Submit your Word file to the Assignment Files tab.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 2 Individual Assignment Analyzing a Program Containing Console/File Input and Output

Resource:

“Demonstrate the Coding to Produce Output to a File” text file

For this assignment, you will analyze Java™ that presents instructional text on the console, accepts user input, and then creates a file based on that user input.

Read the linked Java™ code carefully.

Then, answer the following questions in a Microsoft® Word file:

  • As you run the program in NetBeans the first time, at the prompt (the program will pause for input) type abc Return def Return ghi Ctrl+Shift+Del. What is the result?
  • As you run the program in NetBeans the second time, at the prompt (the program will pause for input) type 123 Ctrl+Shift +Del. What is the result?
  • What happens if the file Data.txt already exists when you run the program?
  • What happens if the file Data.txt does not already exist when you run the program?

Submit your Word file to the Assignment Files tab.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 1 Individual Assignment Analyzing a Java™ Program Contaiing Abstract and Derived Classes

Resource:
“Analyzing a Java™ Program Contaiing Abstract and Derived Classes”

The purpose of creating an abstract class is to model an abstract situation.

Example:
You work for a company that has different types of customers: domestic, international, business partners, individuals, and so on. It well may be useful for you to “abstract out” all the information that is common to all of your customers, such as name, customer number, order history, etc., but also keep track of the information that is specific to different classes of customer. For example, you may want to keep track of additional information for international customers so that you can handle exchange rates and customs-related activities, or you may want to keep track of additional tax-, company-, and department-related information for business customers.

Modeling all these customers as one abstract class (“Customer”) from which many specialized customer classes derive or inherit (“International Customer,” “Business Customer,” etc.) will allow you to define all of that information your customers have in common and put it in the “Customer” class, and when you derive your specialized customer classes from the abstract Customer class you will be able to reuse all of those abstract data/methods.This approach reduces the coding you have to do which, in turn, reduces the probability of errors you will make. It also allows you, as a programmer, to reduce the cost of producing and maintaining the program.

In this assignment, you will analyze Java™ code that declares one abstract class and derives three concrete classes from that one abstract class. You will read through the code and predict the output of the program.

Read through the linked Java™ code carefully.

Predict the result of running the Java™ code. Writeyour prediction into a Microsoft® Word document, focusing specifically on what text you think will appear on the console after running the Java™ code.

In the same Word document, answer the following question:

Why would a programmer choose to define a method in an abstract class, such as the Animal constructor method or the getName() method in the linked code example, as opposed to defining a method as abstract, such as the makeSound() method in the linked example?

Supporting Material: Week One Analyze Assignment Text File

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 5 Individual Assignment Concurrent Programming

Write a Java program (non-GUI preferred) that has a method named atomic().

Demonstrate in the program how two threads can, sometimes, invoke atomic() concurrently.

Create a second version of the program in which the two threads cannot invoke atomic concurrently.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 4 Individual Assignment Java Data Base Connectivity

Write a Java program (non-GUI preferred) to demonstrate the use of JDBC.
The program should allow a user to do the following:

  • Write a list of animal and its characteristics to a database using JDBC
  • Display the characteristics of an animal when that animal is selected.

Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program.

Submit your assignment using the Assignment Files tab above.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 3 Individual Assignment Iterator Program

Write a Java program (non-GUI preferred) to demonstrate the use of Iterator.
The program should allow a user to do the following:

  • Allow the reading of a collection of animal objects from an external file.
  • Output on screen the content of a collection of animal objects.
  • Use Iterator to achieve these goals.

Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program.

Submit your assignment using the Assignment Files tab above.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 2 Individual Assignment ArrayList Program

Write a Java program (non-GUI preferred) to demonstrate the use of an ArrayList.
The program should allow a user to do the following:

  • Add, edit, delete different types of animals
  • Select an animal, and the corresponding characteristics will be displayed (such as color, vertebrate or invertebrate, can swim, etc.)
  • The program must use ArrayList(s) to work with these animal objects.

Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program.

Submit your assignment using the Assignment Files tab above.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 1 Individual Assignment Singleton Pattern Program

Write a Java program (non-GUI preferred) to demonstrate the Singleton pattern.
The key parts of the singleton pattern are:

  • A private static variable to store the single instance called the singleton
  • A public static method for callers to get a reference to the instance
  • A private constructor so no callers can instantiate the object directly

Using these key parts, write a Java program that will allow a user of the program to assign only one runner to each of the 8 lanes of running track in a field.

Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program.”

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 5 Learning Team Fundraiser Program Connect to a Database

PRG 421 Week 5 Learning Team

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.

PRG421 Week 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.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 4 Learning Team Fundraiser Program Instructions Add a Data File

PRG 421 Week 4 Learning Team

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.

PRG421 Week 4 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.

PRG 421 PRG421 PRG/421 ENTIRE COURSE HELP – UNIVERSITY OF PHOENIX

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming

PRG 421 Week 3 Learning Team Fundraiser Initial program

PRG 421 Week 3 Learning Team

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.

PRG421 Week 3 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.

  • PRG 421 Week 1 Individual Assignment Singleton Pattern Program,
  • PRG 421 Week 2 Individual Assignment ArrayList Program,
  • PRG 421 Week 3 Individual Assignment Iterator Program,
  • PRG 421 Week 4 Individual Assignment Java Data Base Connectivity,
  • PRG 421 Week 5 Individual Assignment Concurrent Programming