Structured programming and subroutines (procedures and functions)

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142
Question 38
Easy

A programmer is designing a program called E-Commerce Order Dispatcher to process customer order details, calculate shipping charges, and generate dispatch labels.

Complete the decomposition of this program by stating what should be written in boxes A and B.

Hierarchical decomposition diagram of an 'E-Commerce Order Dispatcher' program

Decomposition Structure:

  • E-Commerce Order Dispatcher
    • Input Order Details
      • Enter Customer Address
      • [Box A]
    • [Box B]
      • Calculate Package Weight
      • Determine Shipping Zone
    • Generate Dispatch Documents
      • Print Shipping Label
[2]

Structured programming and subroutines (procedures and functions) Questions

  1. GCSE
  2. /Computer Science
  3. /Structured programming and subroutines (procedures and functions)