Penn Foster CSC105 Graded Project 4 – Design a class as well as a program that creates an object and calls methods – Preview Attached – Perfect solution – Instant Delivery

Lab Price = $17
Please feel free to send us your queries at: [email protected]
Payment methods

Add to Cart

Buy Now

View Cart


Problem Statement
4.5 Design a class as well as a program that creates an
object and calls methods
CSC105 Graded Project 4
READING ASSIGNMENT
Your project must be submitted as a zipped/compressed (*.zip) file that includes
the following files:
Text files (*.txt) of the following:
Your class
Your program’s pseudocode
Screenshot(s) in JPEG format (*.jpg) of the following:
Your flowchart
The results of calling the accelerate method
The results of calling the brake method
A Rich Text Format (*.rtf) or Microsoft Word (*.doc) file that lists the
following information:
Your name
Your student ID number
The exam number
Your email address
For information on how to take and save a screenshot on your computer or to zip
files, review the instructions for CSC105 Graded Project 1. Save your
compressed file as [Your Name]_CSC105_GradedProject4. Your project will
be individually graded by your instructor and therefore may take up to five to
seven days to grade. To submit your graded project, follow these steps:
Log into your student portal.
Click Take Exam next to the lesson you’re working on.
Find the exam number for your project at the top of the Project Upload
page.
Follow the instructions provided to complete your exam.
Be sure to keep a backup copy of any files you submit to the school!
© 2020 Penn Foster Introduction to Programming (v1) : Lesson 4 : Page 21
Inc.
Introduction
You’ll apply the concepts of Lesson 4 to design a class as well as a
program that creates an object and calls methods.
Instructions
Part 1: Design a Class
You’ll design a class named Car that has the following fields:
yearModel—An Integer that holds the car’s model year
make—A String that holds the make of the car
speed—An Integer that holds the car’s current speed
The class should have the following constructor and other methods:
The constructor should accept the car’s model year and make as
arguments. These values should be assigned to the object’s
yearModel and make fields. The constructor should also assign 0
to the speed field.
Design appropriate accessor methods to get the values stored in an
object’s yearModel, make, and speed fields.
The accelerate method should add 5 to the speed field each time
it’s called.
The brake method should subtract 5 from the speed field each time
it’s called.
Create your class in a plain-text editor such as Notepad or TextEdit and
© 2020 Penn Foster Introduction to Programming (v1) : Lesson 4 : Page 22
Inc.
save as a text file (*.txt).
Part 2: Design a Program
You’ll create both pseudocode and a flowchart to design a program that
creates a Car object and then calls the accelerate method five times.
Review Appendices B and C in your textbook for guidance when
working on your project. Use free trials of any of the programs listed in
CSC105 Graded Project 1 to create the flowchart. Write your
pseudocode in a plain-text editor such as Notepad or TextEdit and save
as a text file (*.txt). Also, save a screenshot of your flowchart as a JPEG
file (*.jpg).
After each call to the accelerate method, get the current speed of the
car and display it. Take a screenshot of the results after your fifth time
calling the method, and save it as a JPEG file (*.jpg).
Then, call the brake method five times. After each call to the brake
method, get the current speed of the car and display it. Take a
screenshot of the results after your fifth time calling the method, and
save it as a JPEG file (*.jpg).
Grading Criteria
Your instructor will use the following guidelines to grade your project.
The class contains the required fields and methods. 25
points
© 2020 Penn Foster Introduction to Programming (v1) : Lesson 4 : Page 23
Inc.
The program is designed to effectively incorporate the class as well as call the
accelerate and brake methods five times each.
25
points
The pseudocode is accurate and in the correct format. 25
points
The flowchart is accurate and uses the appropriate shapes. 25
points
TOTAL 100
points

Relevant Material
Screenshots
Flowchart First Letter
Preview LucidFlowchart
Pseudocode
Preview Pseudocode
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $17
Please feel free to send us your queries at: [email protected]
Payment methods

Add to Cart

Buy Now

View Cart