SlideShare a Scribd company logo
1 of 36
PRG 420 Week 1 Coding a Simple “Hello,
world!” Java™ Program(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Coding a Simple “Hello, world!” Java™ Program
Instructions:
Resource:
• PRG 420 Week One Coding Assigment Text File (starter code for
this
assignment that includes placeholders)
For this assignment, you will apply what you learned in analyzing a
simple Java™ program by writing your own Java™ program. The
Java™ program you write should do the following:
• Display a prompt on the console asking the user to type in his or her
first name
• Construct the greeting string "Hello, nameEntered!"
• Display the constructed greeting on the console
Complete this assignment by doing the following:
1. Download the linked text file.
2. Add comments to the code by typing your name and the date in the
multi-line comment header.
3. Replace the following lines with Java™ code as directed in the file:
• LINE 1
• LINE 2
• LINE 3
• LINE 4
4. Comment each line of code you add to explain what you intend the
code to do.
5. Test and modify your Java™ program until it runs without errors
and
produces the results as described above.
Note: Refer to this PRG 420 Week's analyzing code assignment if you
need help.
After you complete your assignment, zip your JAVA source (.java) file
and submit the ZIP file using the Assignment Files tab.
Supporting Material: PRG 420 Week One Coding Assignment Text
File
*******************************************************
PRG 420 Week 1 DQ 1
For more classes visit
www.snaptutorial.com
Watch the first and second videos for Week 1. Explain a little about
the Java Virtual Machine, what it executes, how it might be similar to
any other language, and how it is different from a native language,
such as C++.
*******************************************************
PRG 420 Week 1 DQ 2
For more classes visit
www.snaptutorial.com
Java is a portable language, and being an object-oriented
programming language, it also encourages component reusability.
How does Java achieve these two important features? How are these
features desirable in modern software engineering?
*******************************************************
PRG 420 Week 1 DQ 3
For more classes visit
www.snaptutorial.com
You are a bank manager and you are helping a new bank teller
understand the kind of accounts the bank offers. If a customer comes
in asking to open a new savings account, the teller needs to ask what
kind of account--passbook savings or certificate of deposit--the
customer would like to open. Remind the customer that all accounts
with our bank are insured by the FDIC. You should explain that all
accounts earn some interest; a savings account’s interest is
compounded monthly. You should assign a unique account number
after accepting the customer’s initial deposit. If the customer chooses
to receive statements electronically, the system will send an e-mail
with a monthly statement; if the customer chooses not to, then a paper
statement will be sent by mail quarterly.
If savings account is a class, give an example of each of the following
as it relates to that savings account. Explain your reasoning behind
your example.
o Superclass
o Subclass
o Attribute
o Method
o Instance (object)
 Encapsulation
*******************************************************
PRG 420 Week 1 Individual Analyzing a
Simple Java™ Program (New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Analyzing a Simple Java™ Program
Instructions:
Resource:
• PRG 420 Week One Analyze Assignment Text File
Analyzing Java™ code--that is, reading and predicting the outcome
of
Java™ code, given one or more inputs--is an essential skill. The
ability
to analyze code allows you to learn from example code and tutorials.
It
also allows you to write and debug your own Java™ code.
For this assignment, you will be analyzing the Java™ code in the
linked
text file.
Carefully read through the code line by line, then answer the
following
questions in a Microsoft® Word document:
1. What syntax signals a Java™ comment? (In other words, what
symbol(s) tell the Java™ compiler not to process certain text?)
2. Type the line(s) of code that accept user input.
3. Type the line(s) of code that process user input.
4. Type the line(s) of code that produce output.
5. Type the result this program would produce if a user, when
prompted, responded by typing "everyone" and then hit Enter.
6. Type the result this program would produce if a user, when
prompted, responded by typing in "Mickey Mouse" and hit Enter.
7. Type the result this program would produce if a user, when
prompted, responded by typing "Benjamin Franklin" and hit Enter.
Submit your completed Word document using the Assignment Files
tab.
Supporting Material: PRG 420 Week One Analyze Assignment Text
File
*******************************************************
PRG 420 Week 1 Individual Assignment Hello
world
For more classes visit
www.snaptutorial.com
INDIVIDUAL ASSIGNMENT OF WEEK # 1
Create a program in Java™ that displays “Hello world!” Take a
screen shot that shows the program’s successful compilation and
execution. Then submit your program along with the screen shot.
*******************************************************
PRG 420 Week 2 Analyzing a Program
Containing if-then and switch(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Analyzing a Program Containing if-then and switch
Instructions:
Resource:
• PRG 420 Week Two Analyze Assignment Text File
The ability to read through Java™ code and predict the results, given
specific inputs, is an extremely useful skill.
For this assignment, you will be analyzing the Java™ code in the
linked
text file, and predicting the results given specific input.
Carefully read through the code line by line, then answer the
following
questions in a Microsoft® Word document:
1. What is the output of the program as it is written?
2. What would the output of the program be if you assigned I
AmHappy
to false, num to 35, and numDayOf PRG 420 Week to 5?
3. What would the output of the program be if you assigned the
I AmHappy to 5, num to 50, and numDayOf PRG 420 Week to 8?
Submit your completed Word document using the Assignment Files
tab.
Supporting Material: PRG 420 Week Two Analyze Assignment Text
File
*******************************************************
PRG 420 Week 2 Coding a Program
Containing if-then and switch(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Coding a Program Containing if-then and switch
Instructions:
Resources:
• PRG 420 Week Two Coding Assigment Text File (starter code for
this
assignment that includes placeholders)
• PRG 420 Week Two Recommended Activity Text File (examples of
how to
code a switch statement, an if-then-else statement, and how to
construct a string to display text onscreen)
For this assignment, you will apply what you learned in analyzing
Java™ code so far in this course by writing your own Java™
program.
The Java™ program you write should do the following:
• Accept user input that represents the number of sides in a polygon.
Note: The code to do this is already written for you.
• If input value is not between 3 and 5, display an informative error
message
• If input value is between 3 and 5, use a switch statement to display a
message that identifies the correct polygon based on the number of
sides matching the input number (e.g., triangle, rectangle, or
polygon)
Complete this assignment by doing the following:
1. Download the linked PRG 420 Week Two Coding Assigment Text
File.
2. Read the file carefully, especially the explanatory comments of
what
the existing code does.
3. Add your name and the date in the multi-line comment header.
4. Refer to the following linked PRG 420 Week Two Recommended
Activity Text
File to see examples of how to code all of the Java™ statements (i.e.,
switch, println(), and if-then-else) you will need to write to complete
this
Assignment.
5. Replace the following lines with Java code as directed in the file:
• LINE 1
• LINE 2
6. Comment each line of code you add to explain what you intend the
code to do.
7. Test and modify your Java™ program until it runs without errors
and
produces the results as described above.
Note: Refer to this PRG 420 Week's analyzing code assignment if you
need help.
After you complete your assignment, zip your JAVA source (.java) file
and submit the ZIP file using the Assignment Files tab.
Supporting Material: PRG 420 Week Two Coding Assignment Text
File PRG 420 Week Two
Recommended Activity Text File
*******************************************************
PRG 420 Week 2 DQ 1
For more classes visit
www.snaptutorial.com
Please watch the first three videos for Week 2 (around 40 minutes).
Explain how an outside class may be given access to find the value of
a private instance variable, or to change the value of a private
instance variable. Why does this add value to your program?
PRG 420 Week 2 DQ 2
For more classes visit
www.snaptutorial.com
What are the three types of errors that you can encounter in a Java™
program? Describe them, and explain how you would minimize the
errors. What are some examples of errors that you have seen before?
*******************************************************
PRG 420 Week 2 DQ 3
For more classes visit
www.snaptutorial.com
A class is a blueprint for an object. A class may have a default
constructor, a constructor with arguments, accessor methods, mutator
methods, public fields, and private fields. Choose a category (such as
animal, vehicle, and so on) and describe how you would design a
class for it.
*******************************************************
PRG 420 Week 2 Individual Assignment
Netbeans Project (annual compensation)
For more classes visit
www.snaptutorial.com
INDIVIDUAL ASSIGNMENT OF WEEK # 2
Write a Java™ application using NetBeans™ Integrated
Development Environment (IDE) that calculates the total annual
compensation of a salesperson. Consider the following factors:
A salesperson will earn a fixed salary of $50,000
A salesperson will also receive a commission as a sales incentive.
Commission is a percentage of the salesperson’s annualsales. The
current commission is 5 % of total sales.
The total annualcompensation is the fixed salary plus the commission
earned.
The Java™ application should meet these technical requirements:
The application should have at least one class, in addition to the
application’s controlling class (a controlling class is where the main
function resides).
There should be proper documentation in the source code.
The application should ask the user to enter annualsales, and it
should display the total annual compensation.
*******************************************************
PRG 420 Week 3 Analyzing a Program
Containing Loops(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Analyzing a Program Containing Loops
Instructions:
Resource:
• PRG 420 Week Three Analyze Assignment Text File
For this assignment, you will be analyzing the Java™ code in the
linked
PRG 420 Week Three Analyze Assignment Text File, and predicting
the results.
You will also examine both the code and the output for inconsistencies
And clarity. This Java™ code includes examples of for, while, and do
while
Loops.
Carefully read through the code line by line, then answer the
following
questions in a Microsoft® Word document:
1. What is the output of the program as it is written?
2. What improvement(s) could be made to this code to make the
output clearer or more accurate, or to make the code easier to
maintain?
Note: You do not have to make the improvements in the Java™
program, although you certainly may. For this assignment, simply
describe the things you see that would need to be improved to elevate
the code and output to a more professional level. For the code,
consider variable names and hardcoding. For the output, consider
formatting/punctuation,repetition, accuracy of information, and
wording.
Submit your completed Word document using the Assignment Files
tab.
Supporting Material: PRG 420 Week Three Analyze Assignment Text
File
*******************************************************
PRG 420 Week 3 Coding a Program
Containing Loops(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Coding a Program Containing Loops
Instructions:
Resource:
• PRG 420 Week Three Coding Assignment Text File (starter code for
this
assignment that includes placeholders)
For this assignment, you will apply what you learned in analyzing for,
while, and do-while loops by writing these statements yourself. The
Java™ program you write should do the following:
• Display a pyramid of asterisks onscreen (i.e., a nested for loop)
• Display the integers 10 to 1 in decreasing order, one number per
line
(i.e., a while/do-whlie loop)
• Add 7 until the sum becomes greater than 157, at which point the
program should display both the sum and the number of 7s added
Complete this assignment by doing the following:
1. Download the linked PRG 420 Week Three Coding Assignment
Text File.
2. Add comments to the code by typing your name and the date in the
multi-line comment header.
3. Replace the following lines with Java™ code as directed in the file:
• LINE 1
• LINE 2
• LINE 3
4. Comment each line of code you add to explain what you intend the
code to do and why you chose each type of loop.
5. Test and modify your Java™ program until it runs without errors
and
produces the results as described above.
Note: Refer to this PRG 420 Week's analyzing code assignment if you
need help.
After you complete your assignment, zip your JAVA source (.java) file
and submit the ZIP file using the Assignment Files tab.
Supporting Material: PRG 420 Week Three Coding Assignment Text
File
*******************************************************
PRG 420 Week 3 DQ 1
For more classes visit
www.snaptutorial.com
Please watch the first and the fifth (next to the last) videos for Week 3
(feel free to use the transcripts, too!) . Tell me about the similarities
between the conditionals in if statements and the conditionals in while
statements.
*******************************************************
PRG 420 Week 3 DQ 2
For more classes visit
www.snaptutorial.com
Convert the following program from for loop to while loop.
class ArithmeticProgression
{
public static void main (String [] args)
{
int sum = 0;
for (int i = 1; i <= 1000; i++)
{
sum = sum + i;
System.out.println(Integer.toString(sum));
}
}
}
*******************************************************
PRG 420 Week 3 DQ 3
For more classes visit
www.snaptutorial.com
There are 3 kinds of loops—for loop, while loop, and do while loop.
Under which circumstances would each kind of loop be more
appropriate? Explain your answers using specific examples.
*******************************************************
PRG 420 Week 3 DQ 4
For more classes visit
www.snaptutorial.com
Consider the following conditions:
CONDITION 1: while ( !(cChoice == 'Q' || cChoice == 'q') )
CONDITION 2: while ( cChoice != 'Q' || cChoice != 'q' )
Do Conditions 1 and 2 give the same result? What tool or technique
would you use to explain the result?
*******************************************************
PRG 420 Week 3 Individual Assignment
Netbeans Project (annual compensation with
commission)
For more classes visit
www.snaptutorial.com
INDIVIDUAL ASSIGNMENT OF WEEK # 3
Modify the Week Two Java™ application using Java™ NetBeans™
IDE to meet these additionaland changed business requirements:
The company has recently changed its total annual compensation
policy to improve sales.
A salesperson will continue to earn a fixed salary of $50,000. The
current sales target for every salesperson is $120,000.
The sales incentive will only start when 80% of the sales target is met.
The current commission is 5% of total sales.
If a salesperson exceeds the sales target, the commission will increase
based on an acceleration factor. The acceleration factor is 1.5.
The application should ask the user to enter annualsales, and it
should display the total annual compensation.
The application should also display a table of potential total annual
compensation that the salesperson could have earned, in $5000
increments above the salesperson’s annual sales, until it reaches 50%
above the salesperson’s annual sales.
Sample Table: Assuming a total annual sales of $100,000,the table
would look like this:
Total Sales
Total Compensation
100,000
<>
105,000
<>
110,000
<>
115,000
<>
120,000
<>
125,000
<>
130,000
<>
135,000
<>
140,000
<>
145,000
<>
150,000
<>
The Java™ application should also meet these technical
requirements:
The application should have at least one class, in addition to the
application’s controlling class.
The source code must demonstrate the use of conditionaland looping
structures.
There should be proper documentation in the source code.
*******************************************************
PRG 420 Week 4 Analyzing a Program
Containing Arrays(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Analyzing a Program Containing Arrays
Instructions:
Resource:
• PRG 420 Week Four Analyze Assignment Text File
The ability to read through Java™ code and predict the results, given
specific inputs, is an extremely useful skill.
For this assignment, you will be analyzing the Java™ code in the
linked
PRG 420 Week Four Analyze Assignment Text File, and answering
questions
about the array that appears in the code.
Carefully read through the code line by line, then answer the
following
questions in a Microsoft® Word document:
1. If an array had not been chosen to hold the data manipulated in
this
program, how else (i.e., with what other data types) could it have
been
represented?
2. Which approach, using an array or using the alternative you
identified in question #1, is shorter/easier?
3. What is the output of this program?
4. What would be the result of using a println() statement to display
the
value of arraynum[8]?
5. How many values can arraynum contain, and why?
Submit your completed Word document using the Assignment Files
tab.
Supporting Material: PRG 420 Week Four Analyze Assignment Text
File
*******************************************************
PRG 420 Week 4 Coding a Program
Containing an Array(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Coding a Program Containing an Array
Instructions:
Resource:
• PRG 420 Week Four Coding Assigment Text File (starter code for
this
assignment that includes placeholders)
For this assignment, you will apply what you learned in analyzing a
simple Java™ program by writing your own Java™ program that
creates and accesses an array of integers. The Java™ program you
write should do the following:
• Create an array to hold 10 integers
• Ask the user for an integer. Note: This code has already been
written
for you.
• Populate the array. Note: The first element should be the integer
input by the user. The second through tenth elements should each be
the previous element + 100. For example, if the user inputs 10, the
first
array value should be 10, the second 110, the third 210, and so on.
• Display the contents of the array on the screen in ascending index
order.
Complete this assignment by doing the following:
1. Download the linked PRG 420 Week Four Coding Assigment Text
File.
2. Read each line of the file carefully, including the detailed
instructions
at the top.
3. Add comments to the code by typing your name and the date in the
multi-line comment header.
4. Replace the following lines with Java™ code as directed in the file:
• LINE 1
• LINE 2
• LINE 3
• LINE 4
• LINE 5
5. Comment each line of code you add to explain what you intend the
code to do.
6. Test and modify your Java™ program until it runs without errors
and
produces the results as described above.
Note: Refer to this PRG 420 Week's analyzing code assignment if you
need help.
After you complete your assignment, zip your JAVA source (.java) file
and submit the ZIP file using the Assignment Files tab.
Supporting Material: PRG 420 Week Four Coding Assignment Text
File
*******************************************************
PRG 420 Week 4 DQ 1
For more classes visit
www.snaptutorial.com
Assuming you want an array (named many) of seven ints what would
be the easiest way to write the code if you wanted many to contain all
zeros? What if you wanted many to contain a selection of seven
values, that were not all zeros? What would be the subscripts of all
the elements of many?code.
*******************************************************
PRG 420 Week 4 DQ 2
For more classes visit
www.snaptutorial.com
What is the difference between arrays and ArrayList? What are the
advantages and disadvantages of an ArrayList, and when should you
use an ArrayList over a simple array?
*******************************************************
PRG 420 Week 4 DQ 3
For more classes visit
www.snaptutorial.com
What is the difference between string and StringBuilder? What are
the advantages and disadvantages of a StringBuilder, and when
should you use a StringBuilder over a simple String?
*******************************************************
PRG 420 Week 4 Individual Assignment
Netbeans Project (annual compensation
comparison)
For more classes visit
www.snaptutorial.com
INDIVIDUAL ASSIGNMENT OF WEEK # 4
Modify the Week Three Java™ application using Java™ NetBeans™
IDE to meet these additionaland changed business requirements:
The application will now compare the total annual compensation of at
least two salespersons.
It will calculate the additionalamount of sales that each salesperson
must achieve to match or exceed the higher of the two earners.
The application should ask for the name of each salesperson being
compared.
The Java™ application should also meet these technical
requirements:
The application should have at least one class, in addition to the
application’s controlling class.
The source code must demonstrate the use of Array or ArrayList.
There should be proper documentation in the source code.
*******************************************************
PRG 420 Week 5 Analyzing a Program
ContainingException Handling(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Analyzing a Program Containing Exception Handling
Instructions:
Resource:
• PRG 420 Week Five Analyze Assignment Text File
For this assignment, you will be analyzing the code in the linked PRG
420 Week
Five Analyze Assignment Text File. This program contains exception
handling code. You will be evaluating the code and using what you
learned in this PRG 420 Week's readings to predict the results based
on the
program as written, as well as based on changing the value of a
specific variable.
Carefully read through the code line by line, then answer the
following
questions in a Microsoft® Word document:
1. What are the results of the program as written?
2. What results would the program produce if you changed the value
of
a from 0 to 3?
Submit your completed Word document using the Assignment Files
tab.
Supporting Material: PRG 420 Week Five Analyze Assignment Text
File
*******************************************************
PRG 420 Week 5 Coding a Program
ContainingException Handling(New Syllabus)
For more classes visit
www.snaptutorial.com
Individual: Coding a Program Containing Exception Handling
Instructions:
Resource:
• PRG 420 Week Five Coding Assignment Text File (starter code for
this
assignment that includes placeholders)
For this assignment, you will apply what you learned in analyzing a
simple Java™ program by writing your own Java™ program. The
Java™ program you write should do the following:
• Organize the code capable of throwing an exception of type
ParseException as a try block.
• Include a catch block to handle a ParseException error thrown by
the
try block.
• Include a hard-coded error that results in a ParseException to prove
that the code can catch and handle this type of exception.
Complete this assignment by doing the following:
1. Download the linked PRG 420 Week Five Coding Assignment Text
File.
2. Add comments to the code by typing your name and the date in the
multi-line comment header.
3. Replace the following lines with Java™ code as directed in the file:
• LINE 1
• LINE 2
4. Replace the value assigned with one of the variables so that the
program throws an exception.
5. Comment each line of code you add to explain what you intend the
code to do. Be sure to include a comment for the replacement value
you added in Step 4 that causes the program to throw an exception.
6. Test and modify your Java™ program until it runs without errors
and
produces the results described above.
Note: Refer to this PRG 420 Week's analyzing code assignment if you
need help.
After you complete your assignment, zip your JAVA file and submit
the
ZIP file using the Assignment Files tab.
SupportingMaterial:PRG 420 Week Five Coding Assignment Text
File
*******************************************************
PRG 420 Week 5 DQ 1
For more classes visit
www.snaptutorial.com
Please explain one use for a static variable in a class. Please explain
how you might use one static method ( not main() ) in a class.
*******************************************************
PRG 420 Week 5 DQ 2
For more classes visit
www.snaptutorial.com
In your opinion,what are the three biggest challenges in planning
and designing a solution for a programming problem? What can you
do to overcome these challenges? How would you apply these
techniques to the programs in this class?
*******************************************************
PRG 420 Week 5 DQ 3
For more classes visit
www.snaptutorial.com
Using an example from your work or daily life, describe an "is-a"
relationship. Why is an "is-a" relationship important when designing
an inheritance between classes?
*******************************************************
PRG 420 Week 5 Team Assignment
Resuability (2 Papers)
For more classes visit
www.snaptutorial.com
In the real world, an entire program is rarely written from scratch. It
is
very likely that there are classes or methods that already exist. The
key to using these existing modules successfully depends on how
modularly the classes or methods are written.
In this Learning Team assignment, your mission is to take a section
of one team member’s Week Four program and replace a similar
section of another team member’s Week Four program.
Submit the following deliverables for this Learning Team assignment:
A 700- to 1050-word paper describing the following:
How the two programs were selected
The process of identifying the classes or methods for
replacement
The changes needed to make the final Java™ application
program work correctly
The final Java™ application program
********************************************************************************

More Related Content

What's hot

PRG 420 Introduction Education--prg420.com
PRG 420 Introduction Education--prg420.comPRG 420 Introduction Education--prg420.com
PRG 420 Introduction Education--prg420.comkopiko227
 
PRG 420 NERD Achievement Education--prg420nerd.com
PRG 420 NERD Achievement Education--prg420nerd.comPRG 420 NERD Achievement Education--prg420nerd.com
PRG 420 NERD Achievement Education--prg420nerd.comagathachristie191
 
PRG 420 Redefined Education--prg420.com
PRG 420 Redefined Education--prg420.comPRG 420 Redefined Education--prg420.com
PRG 420 Redefined Education--prg420.comagathachristie229
 
PRG 420 Education Fabulous--prg420.com
PRG 420 Education Fabulous--prg420.comPRG 420 Education Fabulous--prg420.com
PRG 420 Education Fabulous--prg420.comsrivani514
 
Prg 420 Enhance teaching / snaptutorial.com
Prg 420 Enhance teaching / snaptutorial.comPrg 420 Enhance teaching / snaptutorial.com
Prg 420 Enhance teaching / snaptutorial.comBaileya28
 
PRG 421 Inspiring Innovation / tutorialrank.com
PRG 421 Inspiring Innovation / tutorialrank.comPRG 421 Inspiring Innovation / tutorialrank.com
PRG 421 Inspiring Innovation / tutorialrank.comBromleyz24
 
PRG/215 ENTIRE CLASS UOP TUTORIALS
PRG/215 ENTIRE CLASS UOP TUTORIALSPRG/215 ENTIRE CLASS UOP TUTORIALS
PRG/215 ENTIRE CLASS UOP TUTORIALSSharon Reynolds
 
PRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comPRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comclaric213
 
Speculative analysis for comment quality assessment
Speculative analysis for comment quality assessmentSpeculative analysis for comment quality assessment
Speculative analysis for comment quality assessmentPooja Rani
 
PRG 421 version 10 Entire Course
PRG 421 version 10 Entire CoursePRG 421 version 10 Entire Course
PRG 421 version 10 Entire Coursenonstop1
 
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)Bye Bye Cowboy Coder Days! (Legacy Code & TDD)
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)Kaunas Java User Group
 
Codeception Testing Framework -- English #phpkansai
Codeception Testing Framework -- English #phpkansaiCodeception Testing Framework -- English #phpkansai
Codeception Testing Framework -- English #phpkansaiFlorent Batard
 
Unit Testing in Action - C#, NUnit, and Moq
Unit Testing in Action - C#, NUnit, and MoqUnit Testing in Action - C#, NUnit, and Moq
Unit Testing in Action - C#, NUnit, and MoqXPDays
 
Basic Java script handouts for students
Basic Java script handouts for students Basic Java script handouts for students
Basic Java script handouts for students shafiq sangi
 
iOS Development at Scale @Chegg
iOS Development at Scale @CheggiOS Development at Scale @Chegg
iOS Development at Scale @CheggGalOrlanczyk
 
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | EdurekaTop 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | EdurekaEdureka!
 

What's hot (20)

PRG 420 Introduction Education--prg420.com
PRG 420 Introduction Education--prg420.comPRG 420 Introduction Education--prg420.com
PRG 420 Introduction Education--prg420.com
 
PRG 420 NERD Achievement Education--prg420nerd.com
PRG 420 NERD Achievement Education--prg420nerd.comPRG 420 NERD Achievement Education--prg420nerd.com
PRG 420 NERD Achievement Education--prg420nerd.com
 
PRG 420 Redefined Education--prg420.com
PRG 420 Redefined Education--prg420.comPRG 420 Redefined Education--prg420.com
PRG 420 Redefined Education--prg420.com
 
PRG 420 Education Fabulous--prg420.com
PRG 420 Education Fabulous--prg420.comPRG 420 Education Fabulous--prg420.com
PRG 420 Education Fabulous--prg420.com
 
Prg 420 Enhance teaching / snaptutorial.com
Prg 420 Enhance teaching / snaptutorial.comPrg 420 Enhance teaching / snaptutorial.com
Prg 420 Enhance teaching / snaptutorial.com
 
PRG 421 Inspiring Innovation / tutorialrank.com
PRG 421 Inspiring Innovation / tutorialrank.comPRG 421 Inspiring Innovation / tutorialrank.com
PRG 421 Inspiring Innovation / tutorialrank.com
 
PRG/215 ENTIRE CLASS UOP TUTORIALS
PRG/215 ENTIRE CLASS UOP TUTORIALSPRG/215 ENTIRE CLASS UOP TUTORIALS
PRG/215 ENTIRE CLASS UOP TUTORIALS
 
RubyTesting
RubyTestingRubyTesting
RubyTesting
 
PRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comPRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.com
 
Speculative analysis for comment quality assessment
Speculative analysis for comment quality assessmentSpeculative analysis for comment quality assessment
Speculative analysis for comment quality assessment
 
PRG 421 version 10 Entire Course
PRG 421 version 10 Entire CoursePRG 421 version 10 Entire Course
PRG 421 version 10 Entire Course
 
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)Bye Bye Cowboy Coder Days! (Legacy Code & TDD)
Bye Bye Cowboy Coder Days! (Legacy Code & TDD)
 
Codeception Testing Framework -- English #phpkansai
Codeception Testing Framework -- English #phpkansaiCodeception Testing Framework -- English #phpkansai
Codeception Testing Framework -- English #phpkansai
 
Unit Testing in Action - C#, NUnit, and Moq
Unit Testing in Action - C#, NUnit, and MoqUnit Testing in Action - C#, NUnit, and Moq
Unit Testing in Action - C#, NUnit, and Moq
 
Basic Java script handouts for students
Basic Java script handouts for students Basic Java script handouts for students
Basic Java script handouts for students
 
Java vs python
Java vs pythonJava vs python
Java vs python
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
iOS Development at Scale @Chegg
iOS Development at Scale @CheggiOS Development at Scale @Chegg
iOS Development at Scale @Chegg
 
Ja coco ignite
Ja coco igniteJa coco ignite
Ja coco ignite
 
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | EdurekaTop 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | Edureka
 

Similar to PRG 420 Effective Communication - snaptutorial.com

PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comkopiko76
 
PRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comPRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comkopiko112
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comMcdonaldRyan108
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comBromleyz1
 
PRG 420 Achievement Education--prg420.com
 PRG 420 Achievement Education--prg420.com PRG 420 Achievement Education--prg420.com
PRG 420 Achievement Education--prg420.comannebronte97
 
PRG 420 Wonderful Education--prg420.com
PRG 420 Wonderful Education--prg420.comPRG 420 Wonderful Education--prg420.com
PRG 420 Wonderful Education--prg420.comJaseetha39
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newlroselyn
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newuopassignment
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newshyaminfo16
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newdixonbakerr
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newchanduruc123
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newshyaminfo40
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newcharlesangles123
 
PRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.comPRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.commyblue101
 
PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com myblue41
 
Prg 420 education changes / sellfy.com
Prg 420 education changes / sellfy.comPrg 420 education changes / sellfy.com
Prg 420 education changes / sellfy.comnafiana
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comsholingarjosh58
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comRobinson071
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comStephenson01
 
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comBartholomew21
 

Similar to PRG 420 Effective Communication - snaptutorial.com (20)

PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.com
 
PRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comPRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.com
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.com
 
PRG 420 Achievement Education--prg420.com
 PRG 420 Achievement Education--prg420.com PRG 420 Achievement Education--prg420.com
PRG 420 Achievement Education--prg420.com
 
PRG 420 Wonderful Education--prg420.com
PRG 420 Wonderful Education--prg420.comPRG 420 Wonderful Education--prg420.com
PRG 420 Wonderful Education--prg420.com
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
PRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.comPRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.com
 
PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com 
 
Prg 420 education changes / sellfy.com
Prg 420 education changes / sellfy.comPrg 420 education changes / sellfy.com
Prg 420 education changes / sellfy.com
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 

Recently uploaded (20)

OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 

PRG 420 Effective Communication - snaptutorial.com

  • 1. PRG 420 Week 1 Coding a Simple “Hello, world!” Java™ Program(New Syllabus) For more classes visit www.snaptutorial.com Individual: Coding a Simple “Hello, world!” Java™ Program Instructions: Resource: • PRG 420 Week One Coding Assigment Text File (starter code for this assignment that includes placeholders) For this assignment, you will apply what you learned in analyzing a simple Java™ program by writing your own Java™ program. The Java™ program you write should do the following: • Display a prompt on the console asking the user to type in his or her first name • Construct the greeting string "Hello, nameEntered!" • Display the constructed greeting on the console Complete this assignment by doing the following: 1. Download the linked text file.
  • 2. 2. Add comments to the code by typing your name and the date in the multi-line comment header. 3. Replace the following lines with Java™ code as directed in the file: • LINE 1 • LINE 2 • LINE 3 • LINE 4 4. Comment each line of code you add to explain what you intend the code to do. 5. Test and modify your Java™ program until it runs without errors and produces the results as described above. Note: Refer to this PRG 420 Week's analyzing code assignment if you need help. After you complete your assignment, zip your JAVA source (.java) file and submit the ZIP file using the Assignment Files tab. Supporting Material: PRG 420 Week One Coding Assignment Text File ******************************************************* PRG 420 Week 1 DQ 1
  • 3. For more classes visit www.snaptutorial.com Watch the first and second videos for Week 1. Explain a little about the Java Virtual Machine, what it executes, how it might be similar to any other language, and how it is different from a native language, such as C++. ******************************************************* PRG 420 Week 1 DQ 2 For more classes visit www.snaptutorial.com Java is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java achieve these two important features? How are these features desirable in modern software engineering? ******************************************************* PRG 420 Week 1 DQ 3 For more classes visit
  • 4. www.snaptutorial.com You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account--passbook savings or certificate of deposit--the customer would like to open. Remind the customer that all accounts with our bank are insured by the FDIC. You should explain that all accounts earn some interest; a savings account’s interest is compounded monthly. You should assign a unique account number after accepting the customer’s initial deposit. If the customer chooses to receive statements electronically, the system will send an e-mail with a monthly statement; if the customer chooses not to, then a paper statement will be sent by mail quarterly. If savings account is a class, give an example of each of the following as it relates to that savings account. Explain your reasoning behind your example. o Superclass o Subclass o Attribute o Method o Instance (object)  Encapsulation *******************************************************
  • 5. PRG 420 Week 1 Individual Analyzing a Simple Java™ Program (New Syllabus) For more classes visit www.snaptutorial.com Individual: Analyzing a Simple Java™ Program Instructions: Resource: • PRG 420 Week One Analyze Assignment Text File Analyzing Java™ code--that is, reading and predicting the outcome of Java™ code, given one or more inputs--is an essential skill. The ability to analyze code allows you to learn from example code and tutorials. It also allows you to write and debug your own Java™ code. For this assignment, you will be analyzing the Java™ code in the linked text file. Carefully read through the code line by line, then answer the following
  • 6. questions in a Microsoft® Word document: 1. What syntax signals a Java™ comment? (In other words, what symbol(s) tell the Java™ compiler not to process certain text?) 2. Type the line(s) of code that accept user input. 3. Type the line(s) of code that process user input. 4. Type the line(s) of code that produce output. 5. Type the result this program would produce if a user, when prompted, responded by typing "everyone" and then hit Enter. 6. Type the result this program would produce if a user, when prompted, responded by typing in "Mickey Mouse" and hit Enter. 7. Type the result this program would produce if a user, when prompted, responded by typing "Benjamin Franklin" and hit Enter. Submit your completed Word document using the Assignment Files tab. Supporting Material: PRG 420 Week One Analyze Assignment Text File ******************************************************* PRG 420 Week 1 Individual Assignment Hello world For more classes visit
  • 7. www.snaptutorial.com INDIVIDUAL ASSIGNMENT OF WEEK # 1 Create a program in Java™ that displays “Hello world!” Take a screen shot that shows the program’s successful compilation and execution. Then submit your program along with the screen shot. ******************************************************* PRG 420 Week 2 Analyzing a Program Containing if-then and switch(New Syllabus) For more classes visit www.snaptutorial.com Individual: Analyzing a Program Containing if-then and switch Instructions: Resource: • PRG 420 Week Two Analyze Assignment Text File The ability to read through Java™ code and predict the results, given specific inputs, is an extremely useful skill.
  • 8. For this assignment, you will be analyzing the Java™ code in the linked text file, and predicting the results given specific input. Carefully read through the code line by line, then answer the following questions in a Microsoft® Word document: 1. What is the output of the program as it is written? 2. What would the output of the program be if you assigned I AmHappy to false, num to 35, and numDayOf PRG 420 Week to 5? 3. What would the output of the program be if you assigned the I AmHappy to 5, num to 50, and numDayOf PRG 420 Week to 8? Submit your completed Word document using the Assignment Files tab. Supporting Material: PRG 420 Week Two Analyze Assignment Text File ******************************************************* PRG 420 Week 2 Coding a Program Containing if-then and switch(New Syllabus) For more classes visit www.snaptutorial.com
  • 9. Individual: Coding a Program Containing if-then and switch Instructions: Resources: • PRG 420 Week Two Coding Assigment Text File (starter code for this assignment that includes placeholders) • PRG 420 Week Two Recommended Activity Text File (examples of how to code a switch statement, an if-then-else statement, and how to construct a string to display text onscreen) For this assignment, you will apply what you learned in analyzing Java™ code so far in this course by writing your own Java™ program. The Java™ program you write should do the following: • Accept user input that represents the number of sides in a polygon. Note: The code to do this is already written for you. • If input value is not between 3 and 5, display an informative error message • If input value is between 3 and 5, use a switch statement to display a message that identifies the correct polygon based on the number of sides matching the input number (e.g., triangle, rectangle, or polygon)
  • 10. Complete this assignment by doing the following: 1. Download the linked PRG 420 Week Two Coding Assigment Text File. 2. Read the file carefully, especially the explanatory comments of what the existing code does. 3. Add your name and the date in the multi-line comment header. 4. Refer to the following linked PRG 420 Week Two Recommended Activity Text File to see examples of how to code all of the Java™ statements (i.e., switch, println(), and if-then-else) you will need to write to complete this Assignment. 5. Replace the following lines with Java code as directed in the file: • LINE 1 • LINE 2 6. Comment each line of code you add to explain what you intend the code to do. 7. Test and modify your Java™ program until it runs without errors and produces the results as described above. Note: Refer to this PRG 420 Week's analyzing code assignment if you need help. After you complete your assignment, zip your JAVA source (.java) file
  • 11. and submit the ZIP file using the Assignment Files tab. Supporting Material: PRG 420 Week Two Coding Assignment Text File PRG 420 Week Two Recommended Activity Text File ******************************************************* PRG 420 Week 2 DQ 1 For more classes visit www.snaptutorial.com Please watch the first three videos for Week 2 (around 40 minutes). Explain how an outside class may be given access to find the value of a private instance variable, or to change the value of a private instance variable. Why does this add value to your program? PRG 420 Week 2 DQ 2 For more classes visit www.snaptutorial.com
  • 12. What are the three types of errors that you can encounter in a Java™ program? Describe them, and explain how you would minimize the errors. What are some examples of errors that you have seen before? ******************************************************* PRG 420 Week 2 DQ 3 For more classes visit www.snaptutorial.com A class is a blueprint for an object. A class may have a default constructor, a constructor with arguments, accessor methods, mutator methods, public fields, and private fields. Choose a category (such as animal, vehicle, and so on) and describe how you would design a class for it. ******************************************************* PRG 420 Week 2 Individual Assignment Netbeans Project (annual compensation) For more classes visit www.snaptutorial.com
  • 13. INDIVIDUAL ASSIGNMENT OF WEEK # 2 Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of $50,000 A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson’s annualsales. The current commission is 5 % of total sales. The total annualcompensation is the fixed salary plus the commission earned. The Java™ application should meet these technical requirements: The application should have at least one class, in addition to the application’s controlling class (a controlling class is where the main function resides). There should be proper documentation in the source code. The application should ask the user to enter annualsales, and it should display the total annual compensation. ******************************************************* PRG 420 Week 3 Analyzing a Program Containing Loops(New Syllabus)
  • 14. For more classes visit www.snaptutorial.com Individual: Analyzing a Program Containing Loops Instructions: Resource: • PRG 420 Week Three Analyze Assignment Text File For this assignment, you will be analyzing the Java™ code in the linked PRG 420 Week Three Analyze Assignment Text File, and predicting the results. You will also examine both the code and the output for inconsistencies And clarity. This Java™ code includes examples of for, while, and do while Loops. Carefully read through the code line by line, then answer the following questions in a Microsoft® Word document: 1. What is the output of the program as it is written? 2. What improvement(s) could be made to this code to make the output clearer or more accurate, or to make the code easier to
  • 15. maintain? Note: You do not have to make the improvements in the Java™ program, although you certainly may. For this assignment, simply describe the things you see that would need to be improved to elevate the code and output to a more professional level. For the code, consider variable names and hardcoding. For the output, consider formatting/punctuation,repetition, accuracy of information, and wording. Submit your completed Word document using the Assignment Files tab. Supporting Material: PRG 420 Week Three Analyze Assignment Text File ******************************************************* PRG 420 Week 3 Coding a Program Containing Loops(New Syllabus) For more classes visit www.snaptutorial.com Individual: Coding a Program Containing Loops Instructions:
  • 16. Resource: • PRG 420 Week Three Coding Assignment Text File (starter code for this assignment that includes placeholders) For this assignment, you will apply what you learned in analyzing for, while, and do-while loops by writing these statements yourself. The Java™ program you write should do the following: • Display a pyramid of asterisks onscreen (i.e., a nested for loop) • Display the integers 10 to 1 in decreasing order, one number per line (i.e., a while/do-whlie loop) • Add 7 until the sum becomes greater than 157, at which point the program should display both the sum and the number of 7s added Complete this assignment by doing the following: 1. Download the linked PRG 420 Week Three Coding Assignment Text File. 2. Add comments to the code by typing your name and the date in the multi-line comment header. 3. Replace the following lines with Java™ code as directed in the file: • LINE 1 • LINE 2 • LINE 3 4. Comment each line of code you add to explain what you intend the
  • 17. code to do and why you chose each type of loop. 5. Test and modify your Java™ program until it runs without errors and produces the results as described above. Note: Refer to this PRG 420 Week's analyzing code assignment if you need help. After you complete your assignment, zip your JAVA source (.java) file and submit the ZIP file using the Assignment Files tab. Supporting Material: PRG 420 Week Three Coding Assignment Text File ******************************************************* PRG 420 Week 3 DQ 1 For more classes visit www.snaptutorial.com Please watch the first and the fifth (next to the last) videos for Week 3 (feel free to use the transcripts, too!) . Tell me about the similarities between the conditionals in if statements and the conditionals in while statements. *******************************************************
  • 18. PRG 420 Week 3 DQ 2 For more classes visit www.snaptutorial.com Convert the following program from for loop to while loop. class ArithmeticProgression { public static void main (String [] args) { int sum = 0; for (int i = 1; i <= 1000; i++) { sum = sum + i; System.out.println(Integer.toString(sum)); } } }
  • 19. ******************************************************* PRG 420 Week 3 DQ 3 For more classes visit www.snaptutorial.com There are 3 kinds of loops—for loop, while loop, and do while loop. Under which circumstances would each kind of loop be more appropriate? Explain your answers using specific examples. ******************************************************* PRG 420 Week 3 DQ 4 For more classes visit www.snaptutorial.com Consider the following conditions:
  • 20. CONDITION 1: while ( !(cChoice == 'Q' || cChoice == 'q') ) CONDITION 2: while ( cChoice != 'Q' || cChoice != 'q' ) Do Conditions 1 and 2 give the same result? What tool or technique would you use to explain the result? ******************************************************* PRG 420 Week 3 Individual Assignment Netbeans Project (annual compensation with commission) For more classes visit www.snaptutorial.com INDIVIDUAL ASSIGNMENT OF WEEK # 3 Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additionaland changed business requirements: The company has recently changed its total annual compensation policy to improve sales.
  • 21. A salesperson will continue to earn a fixed salary of $50,000. The current sales target for every salesperson is $120,000. The sales incentive will only start when 80% of the sales target is met. The current commission is 5% of total sales. If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.5. The application should ask the user to enter annualsales, and it should display the total annual compensation. The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales. Sample Table: Assuming a total annual sales of $100,000,the table would look like this: Total Sales Total Compensation 100,000 <> 105,000 <> 110,000 <> 115,000
  • 22. <> 120,000 <> 125,000 <> 130,000 <> 135,000 <> 140,000 <> 145,000 <> 150,000 <> The Java™ application should also meet these technical requirements: The application should have at least one class, in addition to the application’s controlling class. The source code must demonstrate the use of conditionaland looping structures.
  • 23. There should be proper documentation in the source code. ******************************************************* PRG 420 Week 4 Analyzing a Program Containing Arrays(New Syllabus) For more classes visit www.snaptutorial.com Individual: Analyzing a Program Containing Arrays Instructions: Resource: • PRG 420 Week Four Analyze Assignment Text File The ability to read through Java™ code and predict the results, given specific inputs, is an extremely useful skill. For this assignment, you will be analyzing the Java™ code in the linked PRG 420 Week Four Analyze Assignment Text File, and answering questions about the array that appears in the code.
  • 24. Carefully read through the code line by line, then answer the following questions in a Microsoft® Word document: 1. If an array had not been chosen to hold the data manipulated in this program, how else (i.e., with what other data types) could it have been represented? 2. Which approach, using an array or using the alternative you identified in question #1, is shorter/easier? 3. What is the output of this program? 4. What would be the result of using a println() statement to display the value of arraynum[8]? 5. How many values can arraynum contain, and why? Submit your completed Word document using the Assignment Files tab. Supporting Material: PRG 420 Week Four Analyze Assignment Text File ******************************************************* PRG 420 Week 4 Coding a Program Containing an Array(New Syllabus)
  • 25. For more classes visit www.snaptutorial.com Individual: Coding a Program Containing an Array Instructions: Resource: • PRG 420 Week Four Coding Assigment Text File (starter code for this assignment that includes placeholders) For this assignment, you will apply what you learned in analyzing a simple Java™ program by writing your own Java™ program that creates and accesses an array of integers. The Java™ program you write should do the following: • Create an array to hold 10 integers • Ask the user for an integer. Note: This code has already been written for you. • Populate the array. Note: The first element should be the integer input by the user. The second through tenth elements should each be the previous element + 100. For example, if the user inputs 10, the first array value should be 10, the second 110, the third 210, and so on.
  • 26. • Display the contents of the array on the screen in ascending index order. Complete this assignment by doing the following: 1. Download the linked PRG 420 Week Four Coding Assigment Text File. 2. Read each line of the file carefully, including the detailed instructions at the top. 3. Add comments to the code by typing your name and the date in the multi-line comment header. 4. Replace the following lines with Java™ code as directed in the file: • LINE 1 • LINE 2 • LINE 3 • LINE 4 • LINE 5 5. Comment each line of code you add to explain what you intend the code to do. 6. Test and modify your Java™ program until it runs without errors and produces the results as described above. Note: Refer to this PRG 420 Week's analyzing code assignment if you need help.
  • 27. After you complete your assignment, zip your JAVA source (.java) file and submit the ZIP file using the Assignment Files tab. Supporting Material: PRG 420 Week Four Coding Assignment Text File ******************************************************* PRG 420 Week 4 DQ 1 For more classes visit www.snaptutorial.com Assuming you want an array (named many) of seven ints what would be the easiest way to write the code if you wanted many to contain all zeros? What if you wanted many to contain a selection of seven values, that were not all zeros? What would be the subscripts of all the elements of many?code. ******************************************************* PRG 420 Week 4 DQ 2 For more classes visit
  • 28. www.snaptutorial.com What is the difference between arrays and ArrayList? What are the advantages and disadvantages of an ArrayList, and when should you use an ArrayList over a simple array? ******************************************************* PRG 420 Week 4 DQ 3 For more classes visit www.snaptutorial.com What is the difference between string and StringBuilder? What are the advantages and disadvantages of a StringBuilder, and when should you use a StringBuilder over a simple String? ******************************************************* PRG 420 Week 4 Individual Assignment Netbeans Project (annual compensation comparison)
  • 29. For more classes visit www.snaptutorial.com INDIVIDUAL ASSIGNMENT OF WEEK # 4 Modify the Week Three Java™ application using Java™ NetBeans™ IDE to meet these additionaland changed business requirements: The application will now compare the total annual compensation of at least two salespersons. It will calculate the additionalamount of sales that each salesperson must achieve to match or exceed the higher of the two earners. The application should ask for the name of each salesperson being compared. The Java™ application should also meet these technical requirements: The application should have at least one class, in addition to the application’s controlling class. The source code must demonstrate the use of Array or ArrayList. There should be proper documentation in the source code. *******************************************************
  • 30. PRG 420 Week 5 Analyzing a Program ContainingException Handling(New Syllabus) For more classes visit www.snaptutorial.com Individual: Analyzing a Program Containing Exception Handling Instructions: Resource: • PRG 420 Week Five Analyze Assignment Text File For this assignment, you will be analyzing the code in the linked PRG 420 Week Five Analyze Assignment Text File. This program contains exception handling code. You will be evaluating the code and using what you learned in this PRG 420 Week's readings to predict the results based on the program as written, as well as based on changing the value of a specific variable. Carefully read through the code line by line, then answer the following questions in a Microsoft® Word document:
  • 31. 1. What are the results of the program as written? 2. What results would the program produce if you changed the value of a from 0 to 3? Submit your completed Word document using the Assignment Files tab. Supporting Material: PRG 420 Week Five Analyze Assignment Text File ******************************************************* PRG 420 Week 5 Coding a Program ContainingException Handling(New Syllabus) For more classes visit www.snaptutorial.com Individual: Coding a Program Containing Exception Handling Instructions: Resource:
  • 32. • PRG 420 Week Five Coding Assignment Text File (starter code for this assignment that includes placeholders) For this assignment, you will apply what you learned in analyzing a simple Java™ program by writing your own Java™ program. The Java™ program you write should do the following: • Organize the code capable of throwing an exception of type ParseException as a try block. • Include a catch block to handle a ParseException error thrown by the try block. • Include a hard-coded error that results in a ParseException to prove that the code can catch and handle this type of exception. Complete this assignment by doing the following: 1. Download the linked PRG 420 Week Five Coding Assignment Text File. 2. Add comments to the code by typing your name and the date in the multi-line comment header. 3. Replace the following lines with Java™ code as directed in the file: • LINE 1 • LINE 2 4. Replace the value assigned with one of the variables so that the program throws an exception.
  • 33. 5. Comment each line of code you add to explain what you intend the code to do. Be sure to include a comment for the replacement value you added in Step 4 that causes the program to throw an exception. 6. Test and modify your Java™ program until it runs without errors and produces the results described above. Note: Refer to this PRG 420 Week's analyzing code assignment if you need help. After you complete your assignment, zip your JAVA file and submit the ZIP file using the Assignment Files tab. SupportingMaterial:PRG 420 Week Five Coding Assignment Text File ******************************************************* PRG 420 Week 5 DQ 1 For more classes visit www.snaptutorial.com
  • 34. Please explain one use for a static variable in a class. Please explain how you might use one static method ( not main() ) in a class. ******************************************************* PRG 420 Week 5 DQ 2 For more classes visit www.snaptutorial.com In your opinion,what are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcome these challenges? How would you apply these techniques to the programs in this class? ******************************************************* PRG 420 Week 5 DQ 3 For more classes visit www.snaptutorial.com
  • 35. Using an example from your work or daily life, describe an "is-a" relationship. Why is an "is-a" relationship important when designing an inheritance between classes? ******************************************************* PRG 420 Week 5 Team Assignment Resuability (2 Papers) For more classes visit www.snaptutorial.com In the real world, an entire program is rarely written from scratch. It is very likely that there are classes or methods that already exist. The key to using these existing modules successfully depends on how modularly the classes or methods are written. In this Learning Team assignment, your mission is to take a section of one team member’s Week Four program and replace a similar section of another team member’s Week Four program. Submit the following deliverables for this Learning Team assignment: A 700- to 1050-word paper describing the following:
  • 36. How the two programs were selected The process of identifying the classes or methods for replacement The changes needed to make the final Java™ application program work correctly The final Java™ application program ********************************************************************************