Starting from:
$30

$24

Assignment 3 Solution

Preparation




Read text chapter 3



Watch the VideoNotes for chapter 3 in MyProgrammingLab



For Credit




Assignment 3.1 [20 points]




Complete all of the MyProgrammingLab exercises for chapter 3.




Assignment 3.2 [50 points]




Do Exercise 3.11 from the text (page 100). You must create 2 GradeBook objects in the GradeBookTest application. The first GradeBook object will be created with data entered by the user. The other GradeBook object will be created using the data from this course. Output the information for each GradeBook object by calling the displayMessage method. To be clear, you will create and submit two files, Gradebook.java and GradeBookTest.java.




In order to read the information from the user you will need String variables that you will read using the nextLine() function. The nextLine() function is covered in chapter 3 of the text.




Submit Your Work




Execute each program and copy/paste the output into the bottom of the corresponding source code file, making it into a comment. Send an email to ta.sanmateo@gmail.com with the subject "CIS 254 a3". Attach your source code file(s) to the email. In the body of the email let me know whether the programs work as required.




Keep in mind that if your code does not compile you will receive a 0.




Note that the gmail email account is for homework submission only. The account is not monitored for any other purpose.




Assignment 3.3 [5 points]




Participate in the lesson 3 discussion. This could involve asking a question, answering another student's question, giving an example of something that you struggled with and then overcame (or didn't!), giving an example of something you found particularly cool, or any other constructive way you can think of to participate.

More products