Question
Option #1: Your Portfolio Project for CSC320 will consist of three components: Program corrections: Make the appropriate corrections to all the programming assignments submitted as
Option #1:
Your Portfolio Project for CSC320 will consist of three components:
- Program corrections: Make the appropriate corrections to all the programming assignments submitted as Critical Thinking assignments from Modules 1-6. You will need to submit the programs along with the carefully outlined corrections needed in order for the programs to run correctly.
- Lessons learned reflection: Create a 2-3-page summary that outlines the lessons learned in this Programming I course.
- Final program: Create a final program that meets the requirements outlined below.
Final Program Requirements
Create an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be present in your automobile class:
- private string make
- private string model
- private string color
- private int year
- private int mileage
Your program should have appropriate methods such as:
- default constructor
- parameterized constructor
- add a new vehicle method
- list vehicle information (return string array)
- remove a vehicle method
- update vehicle attributes method.
All methods should include try..catch constructs. Except as noted all methods should return a success or failure message (failure message defined in "catch").
- Create an additional class to call your automobile class (e.g., Main or AutomobileInventory). Include a try..catch construct and print it to the console.
- Call automobile class with parameterized constructor (e.g., "make, model, color, year, mileage").
- Then call the method to list the values. Loop through the array and print to the screen.
- Call the remove vehicle method to clear the variables.
- Print the return value.
- Add a new vehicle.
- Print the return value.
- Call the list method and print the new vehicle information to the screen.
- Update the vehicle.
- Print the return value.
- Call the listing method and print the information to the screen.
- Display a message asking if the user wants to print the information to a file (Y or N).
- Use a scanner to capture the response. If "Y", print the file to a predefined location (e.g., C:\Temp\Autos.txt). Note: you may want to create a method to print the information in the main class.
- If "N", indicate that a file will not be printed.
Your final program submission materials must include your source code and screenshots of the application executing the application and the results.
Compile your Module 1-6 programs with corrections, lessons learned reflection, and final program course code and application screenshots into a single document. Submit your completed Portfolio Project by the posted due date.
Option #2:
Your Portfolio Project for CSC320 will consist of three components:
- Program corrections: Make the appropriate corrections to all the programming assignments submitted as Critical Thinking assignments from Modules 1-6. You will need to submit the programs along with the carefully outlined corrections needed in order for programs to run correctly.
- Lessons learned reflection: Create a 2-3-page summary that outlines the lessons learned in this Programming I course.
- Final program: Create a final program that meets the requirements outlined below.
Final Program Requirements
Create a home inventory class that will be used by a national builder to maintain inventory of available houses in the country. The following attributes should be present in your home class:
- private int square_feet
- private string address
- private string city
- private string state
- private int zip_code
- private string Model_name
- private string sale_status (sold, available, or under contract)
Your program should have appropriate methods such as:
- constructor
- add a new home
- remove a home
- update home attributes.
All methods should include try..catch constructs. Except as noted, all methods should return a success or failure message (failure message defined in "catch").
- Create an additional class to call your home class (e.g., Main or HomeInventory). Include a try..catch construct and print it to the console.
- Call home class with parameterized constructor (e.g., "square_feet, address, city, state, zip_code, Model_name, sale_status").
- Then, call the method to list the values. Loop through the array and print to the screen
- Call the remove home method to clear the variables:
- Print the return value.
- Add a new home.
- Print the return value.
- Call the list method and print the new home information to the screen.
- Update the home (change the sale status).
- Print the return value.
- Call the listing method and print the information to the screen.
- Display a message asking if the user wants to print the information to a file (Y or N).
- Use a scanner to capture the response. If "Y", print the file to a predefined location (e.g., C:\Temp\Home.txt). Note: you may want to create a method to print the information in the main class.
- If "N", indicate that a file will not be printed.
Your final program submission materials must include your source code and screenshots of the application executing the application and the results.
Compile your Module 1-6 programs with corrections, lessons learned reflection, and final program course code and application screenshots.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started