Starting from:

$25

CSE174– Program 2 Solved

Outcomes:   

•       Use a contemporary programming language and programming environment

•       Write, compile, edit, and debug simple Java programs 

•       Format and comment source code that adheres to a given set of formatting guidelines

•       Use a zip compression tool to combine multiple files

 

Scoring:

At a bare minimum, the program you submit must have the assigned source code, and your source code must compile and run without crashing.

•     If you do not submit your source code (.java files), your score will be zero.

•     If you submit source code that does not compile, your score will be zero.

•     If you submit source code that roughly resembles the requirements and it compiles, but it crashes under normal operating conditions (nice input from the user), your score will be reduced by 75%.

 

 
Full credit
No credit or Partial credit
Write solutions to the three given problems (15 points)
The programs you submitted solved the specified problems.
The programs you submitted do not solve or only partially solve the specified problems.
Format and comment source code (5 points)
You followed all formatting guidelines (indentation, comments, upper/lowercase, etc.).
You did not follow some or all of the formatting guidelines.
Follow technical specifications

(5 points)
Your class names, filenames, and zip folder meet all specifications
You did not meet one or more of the required specifications
 
Getting started:

●      Google has posted an excellent collection of style guidelines, for a variety of languages.  Visit the page https://google.github.io/styleguide/javaguide.html and review section 4, "Formatting".  In this and future assignments, you are expected to follow the guidelines in that document.

●      For this assignment, you will be submitting a "zip" file containing all of your work.  If you are unfamiliar with creating zip files, you should find a tutorial online for creating zip files for your platform (Mac, Windows, Linux, etc.)

 

Requirements: You will write three separate Java programs

Create a folder on your computer named program2.  All three of your source code files should be created in this folder.
(5 points) In a Java class named Art, solve problem P1.8 from the end of chapter 1 in your textbook.  
(5 points) In a Java class named House, solve problem P1.9 from the end of chapter 1 in your textbook.  Make your house to exactly match the house that is shown.
(5 points) In a Java class named Translate, solve problem P1.20 from the end of chapter 1 in your textbook.  Format your output using the format shown below, with phrases in each language arranged in a column. You may choose a language other than French.  French is just an example.  You should translate all 4 phrases.
 

            English                        French

     ---------------------------------------------

     Good morning                   Bonjour

     It is a pleasure to meet you 

     Please call me tomorrow

     Have a nice day

 

More products