UOP PRG420 Week 1 Assignment Analyzing a Simple Java™ Program Latest

Question # 00784884 Posted By: rey_writer Updated on: 11/25/2020 09:55 AM Due on: 11/25/2020
Subject Education Topic General Education Tutorials:
Question
Dot Image

PRG420 Java Programming I

Week 1 Assignment  

Analyzing a Simple Java™ Program

 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 zip 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.

 

Dot Image
Tutorials for this Question
  1. Tutorial # 00784786 Posted By: rey_writer Posted on: 11/25/2020 09:56 AM
    Puchased By: 2
    Tutorial Preview
    The solution of UOP PRG420 Week 1 Assignment Analyzing a Simple Java™ Program Latest...
    Attachments
    UOP_PRG420_Week_1_Assignment_Analyzing_a_Simple_Java™_Program_Latest.ZIP (18.96 KB)

Great! We have found the solution of this question!

Whatsapp Lisa