Coursework_coding_final_guidelines_06c0f00b-e99a-4c82-943a-4e981ec08bb4_95481_

Coursework_coding_final_guidelines_06c0f00b-e99a-4c82-943a-4e981ec08bb4_95481_

IMPORTANT

FOLLOWING THINGS MUST BE DONE IN YOUR CODING PART OF YOUR COURSEWORK

โ€ข code MUST BE divided into 4 different .py(python) files (read, write, main and operations)

โ€ข code MUST BE broken down to different functions for different logical tasks โ€ข code MUST HAVE implementation of TRY EXCEPT BLOCK (at least one TRY EXCEPT BLOCK is required)

FOLLOWING THINGS ARE NOT TO BE DONE IN YOUR CODING PART OF YOUR COURSEWORK

โ€ข code MUST NOT contain the naming (naming of VARIABLES, FUNCTIONS AND FILES) like, “abc”, “1234”, “ccc”, “zzz” etc. PROPER naming convention is required โ€ข code MUST NOT contain the ROMAN NEPALI naming like, “quantity_validation_gareko”, “ID_check_gareko”, “user_ko_id”,”user_ko_quantity” etc.PROPER naming convention is required

โ€ข your are NOT ALLOWED to CREATE a function inside of a function, you are ONLY ALLOWED to CALL a function inside of a function

FOLLOWING THINGS CAN BE DONE IN YOUR COURSEWORK

โ€ข you CAN name your own product details

โ€ข you CAN use 2D list or Dictionary approach to do the coursework

โ€ข you CAN use your own format for printing the bill, displaying the bill, user messages, products details, user options

โ€ข you CAN use OOP concept to complete your coursework as well

โ€ข you CAN add any additional option than Purchase Sell and Exit for user โ€ข you CAN write logic for purchasing non existing product rather than purchasing the products that are only available in the text file

FOLLOWING THINGS MUST BE DONE BY YOUR PROGRAM

โ€ข your program SHOULD display the available products

โ€ข your program SHOULD give user the option to PURCHASE, SELL and EXIT from the system

โ€ข your program SHOULD increase the STOCK to the main text file when PURCHASED โ€ข your program SHOULD decrease the STOCK to the main text file when SOLD โ€ข your program SHOULD be able to purchase one or more product at a same time and print all the purchased product(s) to one singular bill

โ€ข your program SHOULD be able to sale one or more product at a same time and print all the sold product(s) to one singular bill

โ€ข your program SHOULD generate bill for both PURCHASE and SALE โ€ข your program SHOULD have selling price 200% of the initial product price while selling to a customer.

โ€ข IF you sell 3 products, customer should get one product free.(If you have 10 items in your stock, and you sell 3 items user will get 1 item for free so total quantity to be โ€ข deducted will be 4 but the price should be of 3 items only)

โ€ข your program SHOULD generate each bill uniquely

โ€ข your program SHOULD NOT crash in any way because of some invalid input or any other cause.

Leave a Reply

Your email address will not be published. Required fields are marked *