Question: Question 2 [Total: 20 Marks] (a) Consider the software development to compute the monthly electric bills of the Electric supply company of Oman for its
Question 2 [Total: 20 Marks] (a) Consider the software development to compute the monthly electric bills of the Electric supply company of Oman for its customers. The software is based on the following specifications: A customers monthly bill includes number of units consumed at a rate of 0.200 Omani Rials per unit. Units consumption is figured from the latest meter readings. Final bill is adjusted by considering the balance from the previous months paid bill. An extra 5 OMR is added to the bill if the unpaid previous balance is greater than zero. UFMFN7-15-1 (C Programming) Page 3 of 6 Design a structure chart for the electric bill software according to the above description. The structure chart should show information passing between the modules. [10 Marks] (b) In relation with the software design, discuss the concepts of modular decomposition. [4 Marks] (c) What are the advantages of modular decomposition when developing a software using C programming? [6 Marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
