Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TCSS142 Introduction to Object-Oriented Programming Programming Project 1 During this week's discussion, we will learn how to reduce redundancy by utilizing static methods and identifying

image text in transcribedimage text in transcribed

image text in transcribed

image text in transcribed

TCSS142 Introduction to Object-Oriented Programming Programming Project 1 During this week's discussion, we will learn how to reduce redundancy by utilizing static methods and identifying the structure of the shapes to be drawn and also the redundancy within the shapes. We will use this same strategy to complete the following programming assignment. However, with the new tools we have learned this week, we will also implement the use of print statements, for loops, and a class wide named constant (Java's "final") that will be used to determine the displayed size of the image drawn. Save your program as Project1.java (..this implies the name of your Class. Don't forget!), ZIP it into a zip file names Project1.zip, and submit Project1.zip to Canvas in the Project 1 link by the posted due date and time. Details are as follows: The image to be produced is that of the world famous Seattle Space Needle (just up the road a piece!). Your program should produce this image in varying sizes base upon your class constant value (Remember, each time you want to adjust the size, you will need to edit your program file to update the value that is assigned to the class constant, save this change by clicking the Save button, re-compile, and then run the program. See pages 2 - 4 of this assignment (programming description) for illustrations of varying sized Space Needles. The majority of your output will be produced (one character at a time) through the use of for loops. This is an expectation that will be a major portion of your grade Your final program should include a brief javadoc statement to clarify each method such as: I needleRoof method outputs the roof over the restaurant This method can also be used to display the Space Needle base. / public static void needleRoof ()\{ etc. Because loops can be confusing, you should document each loop with 1 or 2 lines of non-javadoc just above the loop. You should also include multiline non-javadoc documentation at the top of the file to identify the course, file name, programming assignment number, the due date, and the instructor. This is followed by a line of space and then just before the class header, use javadoc to give a brief description of what the program does, an author tag for your name and the current date as a javadoc version tag, such as: r * Course: TCSS142 - Introduction to Object-Oriented Programming * File Name: Project1.java * Assignment: 1 * Due Date: Use due date posted on Canvas * Instructor: Mr. Schuessler */ /** This program draws an image of the Space Needle... *@author your name *@version 2019/10/04 */ Your main method should not have any print or println statements, only calls to the various methods which produce the portions of the Space Needle. Don't forget to look for repeated patterns! Save your program as Project1.java (...this implies the name of your Class. Don't forget!), zIP it into a zip file names Project1.zip, and submit Project1.zip to Canvas in the Project 1 link by the posted due date and time. Details are as follows: Grading: Program Compiles: Correct Output: Documentation (text and proper/consistent indentation): 20% Proper use of methods to reduce redundancy, use of a class constant for sizing the image, and frequent use of for loops to print out repeated characters: 100%30% Good Luck and Start Early! public static final int SIZE = 3 ; SIZEof2: SIZE of 4 : continued-->

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+2. Explain the interactions in the newspaper and magazine market!

Answered: 1 week ago