Question: I need the pseudo code for only logic 2. Workshop Overview Black boxes are widely used and referred to in the world of programming. They

I need the pseudo code for only logic 2. Workshop Overview BlackI need the pseudo code for only logic 2.

Workshop Overview Black boxes are widely used and referred to in the world of programming. They represent specific processes that are hidden from the consumer (end-user, programmer, or conceptually by management etc.). In the programming sense, this can be a large-scale process (a system or application) or be as minute as a function (such as a shared Application Program Interface (API), or a web-service). In the case of "functions", each function should be limited to a very specific task. Although not necessary, most of the time functions will require some input information and use that input to produce some meaningful output (or result). This workshop is focused on function-based black boxes that do a very specific task, and using those defined functions from a main overall process. Workshop Details A customer has several products in a shopping cart from a grocery store (perishable and non- perishable products). The customer needs to pay for the items using the "self-Checkout" option. There are three (3) main sub-processes (black boxes) that occur. 1. Add non-perishable item to the order (has a SKU barcode) 2. Add perishable item to the order (no SKU barcode) 3. Payment The entire checkout process needs to be defined. The main process should refer to the sub-processes (functions/black boxes) when and where possible. Your Tasks Using the "Computational Thinking approach to problem solving: 1. Define the main overall process required using a "self-checkout" option at a grocery store. Page 1 APS145 Applied Problem Solving 2. Define the specific functions (black box) for each of the sub-processes. Be sure to determine what inputs might be required (if any) for it to do its task: . [Logic 1] Adding item to order: Non-perishable . [Logic 2] Adding item to order:Perishable . [Logic 3] Payment in which the list of items from the non-perishable and perishable functions is received, totaled, and an itemized receipt is printed. Workshop Overview Black boxes are widely used and referred to in the world of programming. They represent specific processes that are hidden from the consumer (end-user, programmer, or conceptually by management etc.). In the programming sense, this can be a large-scale process (a system or application) or be as minute as a function (such as a shared Application Program Interface (API), or a web-service). In the case of "functions", each function should be limited to a very specific task. Although not necessary, most of the time functions will require some input information and use that input to produce some meaningful output (or result). This workshop is focused on function-based black boxes that do a very specific task, and using those defined functions from a main overall process. Workshop Details A customer has several products in a shopping cart from a grocery store (perishable and non- perishable products). The customer needs to pay for the items using the "self-Checkout" option. There are three (3) main sub-processes (black boxes) that occur. 1. Add non-perishable item to the order (has a SKU barcode) 2. Add perishable item to the order (no SKU barcode) 3. Payment The entire checkout process needs to be defined. The main process should refer to the sub-processes (functions/black boxes) when and where possible. Your Tasks Using the "Computational Thinking approach to problem solving: 1. Define the main overall process required using a "self-checkout" option at a grocery store. Page 1 APS145 Applied Problem Solving 2. Define the specific functions (black box) for each of the sub-processes. Be sure to determine what inputs might be required (if any) for it to do its task: . [Logic 1] Adding item to order: Non-perishable . [Logic 2] Adding item to order:Perishable . [Logic 3] Payment in which the list of items from the non-perishable and perishable functions is received, totaled, and an itemized receipt is printed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!