Answered step by step
Verified Expert Solution
Question
1 Approved Answer
TEC 3150, Homework #1 - Intermediate Programming Review Coding standards The coding standards are in a document in a D2L module titled Coding Standards. See
TEC 3150, Homework #1 - Intermediate Programming Review Coding standards The coding standards are in a document in a D2L module titled Coding Standards. See Grading Criteria for points lost if not followed. Competencies being graded 1. Ability to read from a text file 2. Ability to use inheritance to create a set of subclasses all inheriting from a common parent class. 3. Using polymorphism to create and maintain a single list of the subclasses 4. Use System.out.printlo and Scanner to create a user friendly interface into your program 5. Ability to read an English language problem description and design a multi class solution in Java 6. Ability to follow given coding standards-in D2L content under Coding Standards. Description Create an app to manage a listing of inventories for a small shop. 10 The items in the shop fall into two categories: Packaged or Bulk. All items should have a unique ID (integer code), name, category (either Packaged or Bulk), and expiration date. Packaged items have two additional attributes: o weight o price Bulk items have one additional attribute: o price per pound The user should be able to view a list of all items, search for a particular item by name, delete an item by name, add an item by providing all necessary information for that item, and, for extra credits, view a list of items that will expire by a certain date. The addition and deletion should be visible the next time the program is run. Grading Criteria Compiles and has minimum of 4 separate Java classes and files: Correctly uses inheritance for different items Correctly lists all items Correctly finds (or doesn't find) items ) Correctly deletes items Correctly adds items Correctly lists items that will expire by a certain date Correctly reads text file Correctly writes text file (upon exiting) Meets coding standards 10 15 10 10 10 10 (extra credits) The information for the inventory should always be read from a text file each time the program is run. The format of the text file is your choice and you MUST turn in a text file with a minimum of six items. 10 10 15 There should be a menu for user to choose an operation and exit the program. User interface must be minimally user-friendly. To receive full credit for the program, it must use inheritance for the different categories of items. In order to receive credit for deleting or adding an item, the program must also rewrite the file upon exiting. Submission . All Java files - should be a minimum of 4 (four) separate java files. More is fine. Text file containing your minimum 6 items. TEC 3150, Homework #1 - Intermediate Programming Review Coding standards The coding standards are in a document in a D2L module titled Coding Standards. See Grading Criteria for points lost if not followed. Competencies being graded 1. Ability to read from a text file 2. Ability to use inheritance to create a set of subclasses all inheriting from a common parent class. 3. Using polymorphism to create and maintain a single list of the subclasses 4. Use System.out.printlo and Scanner to create a user friendly interface into your program 5. Ability to read an English language problem description and design a multi class solution in Java 6. Ability to follow given coding standards-in D2L content under Coding Standards. Description Create an app to manage a listing of inventories for a small shop. 10 The items in the shop fall into two categories: Packaged or Bulk. All items should have a unique ID (integer code), name, category (either Packaged or Bulk), and expiration date. Packaged items have two additional attributes: o weight o price Bulk items have one additional attribute: o price per pound The user should be able to view a list of all items, search for a particular item by name, delete an item by name, add an item by providing all necessary information for that item, and, for extra credits, view a list of items that will expire by a certain date. The addition and deletion should be visible the next time the program is run. Grading Criteria Compiles and has minimum of 4 separate Java classes and files: Correctly uses inheritance for different items Correctly lists all items Correctly finds (or doesn't find) items ) Correctly deletes items Correctly adds items Correctly lists items that will expire by a certain date Correctly reads text file Correctly writes text file (upon exiting) Meets coding standards 10 15 10 10 10 10 (extra credits) The information for the inventory should always be read from a text file each time the program is run. The format of the text file is your choice and you MUST turn in a text file with a minimum of six items. 10 10 15 There should be a menu for user to choose an operation and exit the program. User interface must be minimally user-friendly. To receive full credit for the program, it must use inheritance for the different categories of items. In order to receive credit for deleting or adding an item, the program must also rewrite the file upon exiting. Submission . All Java files - should be a minimum of 4 (four) separate java files. More is fine. Text file containing your minimum 6 items
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