4 Algorithms and flowcharts (3)

Resources | Revision Questions | Information Technology IT

Login to see all questions

Click on a question to view the answer

1.

You are given the following flowchart (see below). Describe, in plain English, what the flowchart represents. Identify any potential problems or inefficiencies in the process depicted. Suggest at least two improvements to the flowchart to make it more efficient or robust.

2.

A shop is offering a discount on items. If a customer spends over £50, they receive a 10% discount. If a customer spends between £20 and £50 (inclusive), they receive a 5% discount. If a customer spends less than £20, they receive no discount. Write an algorithm to calculate the final price a customer pays, given their original spending amount.

3.

A company is designing a system for processing customer orders. Outline a flowchart, using standard flowchart symbols, to illustrate the process of a customer placing an order, the system validating the order details, and the system fulfilling the order. Your flowchart should clearly show decision points and potential error handling. Assume the system requires a valid credit card number and sufficient stock.