PRG 421 All Discussions

0 items
PRG 421 All Discussions
PRG 421 All Discussions
$12.00
  • Description

PRG 421 All Discussions

The Latest Version A+ Study Guide

 

**********************************************

PRG 421 All Discussions Link

https://hwsell.com/category/prg-421/ **********************************************

 

PRG 421 Wk 1 Discussion – Data Hiding

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

Data hiding is the way in which programmers implement encapsulation. Java™ programmers use the keywords private and protected to control what data is visible outside of a class; in other words, to control what code can access and manipulate class data.

 

Read Table 1-2, “Determining Access to Class Members,” in “Java – Protected Members Accessed in Derived Class Using Base Class Instance” on the Stack Overflow website.

Note: This table is similar, though not identical, to Table 1-1, “Access Modifiers,” in Ch. 1, “Advanced Class Design,” of OCP: Oracle® Certified Professional Java® SE 8 Programmer II Study Guide.

Discuss the following by posting to the discussion area:

  • If Class A contains private data and Class B inherits from Class A, is it possible to make Class A’s private data visible to Class B? If so, how? Be sure to provide reasons for your answer based on this week’s textbook readings or this week’s assignment code.

 

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

 

 

PRG 421 Wk 2 Discussion – Choosing a Data Output Option

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

Before you can perform data output, you must first decide the form in which you want the output data to appear.

Onscreen and flat-file output are sometimes appropriate in a small system, such as a modest inventory application in which updated results display on a screen to be analyzed by a user, and in which output is designed for little more than backup on a local, secure machine. Displaying information onscreen can be a benefit, since the user does not have to produce and review a program-generated report, while saving small amounts of data to an easily-read file with no requirement to manage a database can be the best approach if program requirements do not dictate otherwise. However, in high-volume scenarios where one program “feeds” large amounts of data to another program, console output and flat-file data storage may not make practical sense.

Post to the discussion area descriptions of at least two scenarios for which console or flat file output would not be appropriate. For each scenario, describe why console/flat file output would not be appropriate, and identify an alternative approach that might make more sense.

Review your classmates’ posts, then explain what characteristics the scenarios of your classmates and you described share. In general, for what types of programming scenarios are flat file/console output inappropriate?

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

 

 

PRG 421 Wk 3 Discussion – Benefits of Generics

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

The purpose of this discussion is to describe the difference between implementing a class as an abstract class (i.e., a class from which concrete classes can be derived) and a generic class (i.e., a class from which different types of classes can be derived).

Discuss the benefits of using a generic class.

Share an example of a real-life situation that would benefit from being modeled as a generic class.

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

 

PRG 421 Wk 4 Discussion – Benefits and Drawbacks of Concurrency

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

The purpose of this discussion is to explore concurrency, which refers to threads that run alongside each other during program execution, as opposed to running serially, or one after the other, and to discuss potential drawbacks and problems associated with concurrency.

 

Java™ provides built-in support for concurrent programming by allowing the running of multiple threads concurrently within a single program. A thread, also called a lightweight process, is a single sequential flow of programming operations with a definite beginning and end. During the lifetime of a thread, there is only a single point of execution. A thread by itself is not a program, because it cannot run on its own, instead all threads must run within a program.

Research and discuss with your classmates the benefits of concurrency in Java™. What are the potential drawbacks?

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

PRG 421 Wk 5 Discussion – Databases Accessible via JDBC

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

The purpose of this discussion is to identify the purpose and utility of JDBC to Java™ programmers, including the data formats that JDBC allows Java™ programmers to interact with.

Research and discuss the differences between a flat database and a relational database. Does JDBC provide a way for Java™ programmers to access flat databases, relational databases, or both? What specific relational databases can be accessed via JDBC?

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.