subject

You will design a program that manages the inventory of an electronics store. You will need to use a number of concepts that you learned in class including: use of classes, use of dictionaries and input and output of comma delimeted csv files. Input:
a) ManufacturerList. csv -- contains items listed by row. Each row contains item ID, manufacturer name, item type, and optionally a damaged indicator
b) PriceList. csv -- contains items listed by row. Each row contains item ID and the item price.
c) ServiceDatesList. csv – contains items listed by row. Each row contains item ID and service date.
Example ManufacturerList. csv, PriceList. csv and ServiceDatesList. csv are provided for reference. Your code will be expected to work with any group input files of the appropriate format. Manufacturers can and will likely be different as will the items.
Required Output:
1) Processed Inventory Reports:
a. FullInventory. csv -- all the items listed by row with all their information . The items should be sorted alphabetically by manufacturer. Each row should contain item ID, manufacturer name, item type, price, service date, and list if it is damaged. The item attributes must appear in this order.
b. Item type Inventory list, i. e LaptopInventory. csv -- there should be a file for each item type and the item type needs to be in the file name. Each row of the file should contain item ID, manufacturer name, price, service date, and list if it is damaged. The items should be sorted by their item ID.
c. PastServiceDateInventory. csv – all the items that are past the service date on the day the program is actually executed. Each row should contain: item ID, manufacturer name, item type, price, service date, and list if it is damaged. The items must appear in the order of service date from oldest to most recent.
d. DamagedInventory. csv –all items that are damaged. Each row should contain: : item ID, manufacturer name, item type, price, and service date. The items must appear in the order of most expensive to least expensive.
2) Interactive Inventory Query Capability
a. Query the user of an item by asking for manufacturer and item type.
i. Print a message("No such item in inventory") if either the manufacturer or the item type are not in the inventory, more that one of either type is submitted or the combination is not in the inventory. Ignore any other words, so "nice Apple computer" is treated the same as "Apple computer".
ii. Print "Your item is:" with the item ID, manufacturer name, item type and price on one line. Do not provide items that are past their service date or damaged. If there is more than one item, provide the most expensive item.
iii. Also print "You may, also, consider:" and print information about the same item type from another manufacturer that closes in price to the output item. Only print this if the same item from another manufacturer is in the inventory and is not damaged nor past its service date.
iv. After output for one query, query the user again. Allow ‘q’ to quit.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, ed72018373
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
image
Computers and Technology, 22.06.2019 23:00, cchotshot
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, taytay1828
What are the 12 colors of the spectrum called?
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
You know the right answer?
You will design a program that manages the inventory of an electronics store. You will need to use a...

Questions in other subjects: