- Description
PRG 420 All Discussions
The Latest Version A+ Study Guide
**********************************************
PRG 420 All Discussions Link
https://hwsell.com/category/prg-420/
**********************************************
PRG 420 Wk 1 Discussion – Getting Help with Java Programming
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:
Most Java™ programmers, whether new to programming or experienced professionals, take advantage of high-quality online sites that offer Java™ tutorials, reference materials, and programming communities.
High-quality sites such as Oracle®’s The Java™ Tutorials can save you time and effort by providing information such as example code, tips for working with a specific Java™ development environment, and the latest Java™ libraries.
For this discussion, research and share at least one high-quality website that offers Java™ sample code, Java™ API references, or Java™ programmer discussions. Apply the following CRAAP criteria when vetting sites:
C: Currency. Has the site been updated recently? High-quality technology sites are updated frequently and always within the last few months.
- R: Relevance. Is the site devoted to Java™ programming? High-quality Java™ support sites focus on Java™ in particular or web programming languages in general, as opposed to a wide, disparate group of topics.
- A: Authoritative. Is the site put out by people who know what they’re talking about? High-quality Java™ sites are often hosted by technology creators such as Oracle®, educators, professional programmers, publishers, industry groups, and others who have a proven, stable track record in the subject area.
- A: Accurate. Is the site accurate, as far as you can tell? High-quality Java™ support sites are not riddled with obvious grammar, spelling, or content mistakes.
- P: Purpose. Is the purpose of the site to educate, collaborate, sell a product, or does it have some other reason? In general, high-quality Java™ support sites are not put out by companies whose only purpose is selling a Java™ solution.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
PRG 420 Wk 2 Discussion – Variables in Real-Life Programs
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:
You will use variables and decision constructs such as if-then, if-then-else, and switch in virtually every Java™ program you write.
Here is an example of pseudocode, a shorthand combination of code and natural language often used to present and refine program logic to team members before programmers actually begin programming. The pseudocode that follows describes an app designed to be used in a warehouse order center:
if an ordered product is located in inventory
then send the customer notification the product is on the way
else notify the customer with the restocking and shipping date
The same if/then/else logic could apply to an accounts receivable app, as follows:
if payment is not received within 30 days
then mail a 30-days late notice (continue this logic string to handle what should happen if payment is not received with 45 days)
else state the action for the late or missing payment
Discuss what other industry examples of if/then/else logic you can think of. How might an organization’s environment affect a programmer’s choice of variable types? For example, would a Java™ app that handles customer requests for a small company with a modest number of customers likely include the same variable types as a large, international company with a very large number of customers? Would a Java™ app for a financial company tend to have variables of a certain type, and, if so, what type and why?
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
PRG 420 Wk 3 Discussion – Loop Syntax
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:
Research and discuss the following:
- Is the following code syntactically correct? How did you determine your answer? If the following code is notsyntactically correct, what is missing? If it is syntactically correct, what is the expected result?
for ( ; ; ) {
System.out.println(“In the body of the loop”);
}
- Many programmers use variables named i, j, or kto increment a loop counter, as shown below. However, variables can be named anything a programmer wants to name them, as long as they follow Java™’s syntactical rules for variable names. What are the benefits and drawbacks of using variable names such as i to increment or decrement loop counters vs. other variable names, such as counter or myCounter or hour?
for (int i = 1; i <= 24; i++) { // using i as counter
if (i < 12) { // morning hours
System.out.println(i + ” a.m.”);
}
else if (i == 12) { // noon is a special case
System.out.println(i + ” p.m.”);
}
else // afternoon hours {
System.out.println(i-12 + ” p.m.”);
}
}
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
PRG 420 Wk 4 Discussion – Arrays vs. Databases
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:
Arrays in Java™ are used to hold data as are databases, also.
Research and discuss the differences between these two approaches. In what situations would it be appropriate to use an array to hold data, and in what situations would it be appropriate to use a database instead? Are there any scenarios in which it might be appropriate to use both a database and an array to process data in the same Java™ app?
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
PRG 420 Wk 5 Discussion – Comparisons of Time and Date
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:
This week’s supporting activity asks you to create a simple Java™ app that identifies and displays information about the current date, time, and day of week.
If you were not able to complete the Supporting Activity, “Working with Dates,” successfully, post the problems you are having with the code. What compiler error appears? If your code compiles, what incorrect output appears?
If you were able to complete the Supporting Activity, “Working with Dates,” successfully, help your classmates who are having difficulties.
Research and discuss how you could add to the supporting activity’s code by including this comparison:j
If today’s date is later than January 1, 1980, display “Today is later than January 1, 1980” on the console.
If today’s date is earlier than January 1, 2020, display “Today is earlier than January 1, 2020” on the console.
What Java™ methods would you use to code these new requirements?
If you get one or both of these comparisons to work, post the code for your classmates to see.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.