[Solved] CSE174-program2-Format and comment source code that adheres to a given set of formatting guideline

$25

File Name: CSE174-program2-Format_and_comment_source_code_that_adheres_to_a_given_set_of_formatting_guideline.zip
File Size: 923.16 KB

SKU: [Solved] CSE174-program2-Format and comment source code that adheres to a given set of formatting guideline Category: Tag:
5/5 - (1 vote)

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

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

  1. Create a folder on your computer named program2. All three of your source code files should be created in this folder.
  2. (5 points) In a Java class named Art, solve problem P1.8 from the end of chapter 1 in your textbook.
  3. (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.
  4. (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

  1. (5 points) Verify that your source code meets appropriate style guidelines, including comments (include name, date, section of CSE 174, and description) as well as any other guidelines described in the style guidelines document referenced earlier in this assignment.
  2. (5 points) Follow these steps to submit your work:
  1. Make sure the program2 folder contains the source code files (.java) for all three of your programs. It is OK if the folder also contains other files.
  2. Compress the folder to create a zip file. Name the zip file zip (Canvas might rename the file when you upload itthats OK.)
  3. Submit only the zip file to the Canvas website.

Note: If you submit your work and decide to modify one of your programs, you need to resubmit a new zip file containing all three source code files (even if you only modified one of them). Do not rename your source code files. Do not rename the zip file. Canvas may add a number to the name of your zip file. That is fine. But you should keep all source code filenames the same as described above.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE174-program2-Format and comment source code that adheres to a given set of formatting guideline
$25