1 / 17

PRG 421 GUIDE Higher Education / prg421guide.com

FOR MORE CLASSES VISIT<br>www.prg421guide.com<br>PRG 421 Individual Week 1 Analyze Assignment Resource: • "Analyzing a Java™ Program Containing 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,

Download Presentation

PRG 421 GUIDE Higher Education / prg421guide.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PRG 421 GUIDE Higher Education / prg421guide.com

  2. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 1 Analyze Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 1 Analyze Assignment Resource: • "Analyzing a Java™ Program Containing 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

  3. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 1 Coding Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 1 Coding Assignment Resources: • "Lesson: Object-Oriented Programming Concepts" on The Java™ Tutorials website • Downloadable starter code from the Oracle® website: Bicyle class and BicycleDemo class For this assignment, you will modify existing code to create a single Java™ program named BicycleDemo.java that incorporates the following: • An abstract Bicycle class that contains private data relevant to all types of bicycles (cadence, speed, and gear) in addition to one new static variable: bicycleCount.

  4. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 2 Analyze Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 2 Analyze Assignment 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: •

  5. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 2 Coding Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 2 Coding Assignment Resource: • "Console/File Input and Output" text file For this assignment, you will build on "starter" code to create a Java™ program that prompts the user for input, accepts user input, and produces both console and file output. Copy the linked code to a JAVA file. Add Java® code based on the comments inside the code.

  6. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 3 Analyze Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 3 Analyze Assignment Resource: • "Java Code That Sorts, Extracts Data and Saves It To a Collection" text file For this assignment, you will analyze code that uses a file input stream and a file output stream. Read through the linked Java™ code.

  7. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 3 Coding Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 3 Coding Assignment For this assignment, you will develop "starter" code. After you finish, your code should access an existing text file that you have created, create an input stream, read the contents of the text flie, sort and store the contents of the text file into an ArrayList, then write the sorted contents via an ouput stream to a separate output text file. Copy and paste the following Java™ code into a JAVA source file in NetBeans: import java.io.BufferedReader;

  8. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 4 Analyze Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 4 Analyze Assignment 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.

  9. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 4 Coding Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 4 Coding Assignment 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.

  10. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 5 Analyze Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 5 Analyze Assignment Resource: • "Analyze and Document JDBC API Calls" text file For this assignment, you will analyze code that uses the JDBC API to access a database, retrieve data, and compose output based on that data. You will then comment the code to reflect the purpose and expected results of the code.

  11. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Individual Week 5 Coding Assignment FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Individual Week 5 Coding Assignment 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:

  12. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Week 1 Individual Singleton Pattern Program FOR MORE CLASSES VISIT www.prg421guide.com Individual: 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

  13. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Week 2 Individual ArrayList Program FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Week 2 Individual ArrayList Program Week 2 Individual: 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.)

  14. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Week 3 Individual Iterator Program FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Week 3 Individual Iterator Program Week 3 Individual: Iterator Program Write a Java program (non-GUI preferred) to demonstrate the use of Iterator.

  15. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Week 4 Individual JDBC Program FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Week 4 Individual JDBC Program Week 4 Individual: JDBC Program 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

  16. PRG 421 GUIDE Higher Education / prg421guide.com PRG 421 Week 5 Individual Concurrent Programming FOR MORE CLASSES VISIT www.prg421guide.com PRG 421 Week 5 Individual Concurrent Programming Week 5 Individual: 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. Submit both programs using the Assignment Files tab above. To assist, I have included a demo file of a multi-thread program. Remember that the ideal program demonstrates threading in action.

  17. PRG 421 GUIDE Higher Education / prg421guide.com

More Related