Comp1210 Project 1: Introduction to Java SOLVED

$30.00

Original Work ?

Download Details:

  • Name: Project-1.zip
  • Type: zip
  • Size: 59.19 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (2 votes)

The following project files must be submitted by the due date and time specified above (see the Lab
Guidelines for information on submitting project files). A portion of the lab is due on Wednesday in
lab. If the Wednesday portion is not complete, there will be a 5% deduction on your project grade.
Projects sent via e-mail past the deadline at 11:59 PM will not be accepted without a universityapproved excuse.
Files to submit to Web-CAT:
• MyLifeGoals.java
• JLetter.java
Specifications
Overview: You will write two programs this week. One will print your short-, medium-, long-term
life goals to standard output, and the other will display letter J in large block letter. Because these are
small programs, you will only need to have 1-2 sentences of description in your class and method
Javadoc comments (don’t forget the @author and @version tags in the class-level comment).
• MyLifeGoals.java
Requirements: Write the application MyLifeGoals that prints your name, your short-term,
medium-term and long-term life goals.
Design: Your program should contain a main method that prints the information listed under
“Output” (i.e., your output should replace the text in Italics).
Output:
Your first and last name (separated by a space)
(The second line should be blank)
Describe your short-term life goals.(in one line)
Describe your medium-term life goals. (in one line)
Describe your long-term life goals. (in one line)
Describe your life goals (if you have never thought about them, this is a good chance to think
about them carefully. These three questions were raised by the book “How to control your
time and your life”, which is highly recommended by former president Bill Clinton). The
actual output for each line needs to be at least 100 characters not including spaces.
Code and Test: The expected output for the program will vary from student to student, but it is
important to follow output pattern described above, formatting requirements, and minimum
character requirements. If you aren’t sure how many characters are in your output, you can copy it
into Microsoft Word and use the word count feature under the Review ribbon.
• JLetter.java
Requirements: Write the application JLetter that displays letter J in large block letter.
Design: Your program should contain a main method that prints exact the same pattern as shown
in Figure 1. This means that you should have 10 lines of output, with each line should be arranged
according to its own construction.

Figure 1
Code and Test: The expected output contains 10 lines of letters, in a specific order. Make sure
that you print the pattern exactly as it appears above.
Grading
Web-CAT Submission: You’ll have 10 tries to submit your programs, but you should try to get
your output correct on the first submission. Make sure that you submit both programs at
once, or the submission will receive zero points for correctness. Activity 1 describes how to
create a jGRASP project containing both of your files.