Save your program as Project1.java (...this implies the name of your Class. Don't forget!), ZIP it...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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: 30% 20% 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: 30% 100% Good Luck and Start Early! public static final int SIZE = 3; \/\/\/\/\ SIZE of 2: | ४४ || १४ | | ४४ || १४ | | ४४ || १४ | 1881 1881 1881 1881 1881 1881 | ४४ || १४ | 1881 1881 18811881 | ४४ || १४ | 1881 1881 1881 1881 /II\ | ४४|| ४४ | | ४४|| १४ | 1881 1881 | ४४|| ४४ | 1881 1881 1881 1881 | ४४|| १४ | | ४४|| ४४ | /II\ SIZE of 1: //Look at that little feller. He thinks he's so big! wwwww \_/\/\_ | ४४|| १४ | | ४४ || १४ | | ४४ || ४४ | 1881 1881 _/IT\_ wwwwww ו"' continued---> continued---> _/II\ 18811881 18811881 18811881 18811881 | १४ || १४ | 1881 1881 18811881 | ४४ || १४ | 18811881 18811881 18811881 18811881 1881 1881 1881 1881 1881 1881 | 88|| 88 | SIZE of 4: 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: needle Roof method outputs the roof over the restaurant * This method can also be used to display the Space Needle base. *1 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: 1* * Course: * File Name: * Assignment: * Due Date: Instructor: TCSS142 - Introduction to Object-Oriented Programming Project1.java 1 Use due date posted on Canvas Mr. Schuessler *1 1** * 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 printin 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: 30% 20% 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: 30% 100% Good Luck and Start Early! public static final int SIZE = 3; \/\/\/\/\ SIZE of 2: | ४४ || १४ | | ४४ || १४ | | ४४ || १४ | 1881 1881 1881 1881 1881 1881 | ४४ || १४ | 1881 1881 18811881 | ४४ || १४ | 1881 1881 1881 1881 /II\ | ४४|| ४४ | | ४४|| १४ | 1881 1881 | ४४|| ४४ | 1881 1881 1881 1881 | ४४|| १४ | | ४४|| ४४ | /II\ SIZE of 1: //Look at that little feller. He thinks he's so big! wwwww \_/\/\_ | ४४|| १४ | | ४४ || १४ | | ४४ || ४४ | 1881 1881 _/IT\_ wwwwww ו"' continued---> continued---> _/II\ 18811881 18811881 18811881 18811881 | १४ || १४ | 1881 1881 18811881 | ४४ || १४ | 18811881 18811881 18811881 18811881 1881 1881 1881 1881 1881 1881 | 88|| 88 | SIZE of 4: 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: needle Roof method outputs the roof over the restaurant * This method can also be used to display the Space Needle base. *1 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: 1* * Course: * File Name: * Assignment: * Due Date: Instructor: TCSS142 - Introduction to Object-Oriented Programming Project1.java 1 Use due date posted on Canvas Mr. Schuessler *1 1** * 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 printin statements, only calls to the various methods which produce the portions of the Space Needle. Don't forget to look for repeated patterns!
Expert Answer:
Answer rating: 100% (QA)
Source code The program is saved with the name Project1java as specified public class Project1 publi... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
ABC Insurance Company has issued a commercial package policy to the Henderson Company. ABC recently discovered that company executives misrepresented important information about the business to...
-
Assets and liabilities are critical elements of financial statements. Assets are defined as a resource that will provide future economic benefits. Three examples include: 1. Land owned by Shoppers...
-
Solve the equation. Find all real solutions. 1+8=0
-
An investment is guaranteed to have a unique value of IRR if which of the following is true? a. Alternating positive and negative cash flows b. An initial negative cash flow followed by all positive...
-
Tiger Corporation purchases 1,200,000 units per year of one component. The fixed cost per order is $25. The annual carrying cost of the item is 27% of its $2 cost. a. Determine the EOQ under each of...
-
Company EJ plans to build a new plant to manufacture bicycles. EJ sells its bicycles in the world market for $400 per bike. It could locate the plant in Province P, which levies a 20 percent tax on...
-
Elaborate this statement? Inferential stats are useful for just describing data.
-
1. Industrial Industries' bonds mature 1 5 years from today and have par value of $ 1 , 0 0 0 . The bonds have a YTM of 7 . 9 5 % and a coupon rate of 8 . 8 5 % . Assuming the bonds pay interest...
-
For the year ended December 31, 2017, Transformers Inc. reported the following: Net income $300,000 Preferred dividends declared 50,000 Common dividend declared 10,000 Unrealized holding loss, net of...
-
2. (24 pts.) The data path is given for a 4-bit multiplier. It consists of a 4-bit adder, a 4-bit register, and a 9-bit shift register. The latter shifts right when its Sh input is asserted (assume...
-
What are the mechanisms through which social institutions perpetuate systems of gender, racial, and class inequality, and how do these intersect with institutionalized forms of discrimination and...
-
The financial statements of Simon Co. include the following items (amounts in thousands): Income Statement For the Year Ended December 31, 2017 Net income $ 432 Depreciation and amortization expense...
-
We would like to conduct a hypothesis test to determine if there is a difference in mean right- hand and left-hand gripping strengths in the population. Gripping strengths with the right hand and the...
-
Steve Jackson (age 51) is a single taxpayer living at 3215 Pacific Dr., Del Mar, CA 92014. His Social Security number is 465-88-9415. In 2012, Steve's earnings and income tax withholding as the...
-
In 2012, Michael has net short-term capital losses of $2,000, a net long-term capital loss of $45,000, and other ordinary taxable income of $45,000. a. Calculate the amount of Michael's deduction for...
-
If Charles, a 16-year-old child model, earns $50,000 a year and is completely self supporting even though he lives with his parents, can his parents claim him as a dependent? Why or why not?...
-
As the Internet continues to grow in its business influence, it is increasingly being used for applications that were formerly client/server based applications. What are some of the similarities in...
-
Fill in the blanks for the following statements: a. Source documents should be portioned into different zones for data, data, and depending upon the system inputs and reviewing form, for data that...
-
Why does the free-rider problem occur in the debt market?
Study smarter with the SolutionInn App