Explain why modular elements are important for procedural programming
Extracts from this document...
Introduction
Transfer-Encoding: chunked Explain why modular elements are important for procedural programming I am working as a junior for an electronic games maker. My manager has asked me to write a short guide to the basics of procedural programming and to demonstrate some of the techniques. I will explain why modular elements are important for procedural programming. Modular programming is a software design technique that highlights separating the functionality of a program into independent, interchangeable modules, that each contain everything necessary to execute only one aspect of the desired functions. There are different elements of procedural programming. It?s a programming design style in which a program is split up into small chunks that complete each part of the task. Example: Procedural programs give the computer a series of instructions for example for a calculator program. ...read more.
Middle
So if there were not any modular elements you would have to code the same number of code multiple times in order to have the same mathematical operation in the same sum. Furthermore, programs written without modules are likely to be large and hard to understand, modular programs are easier to understand. And it is easier to test small modules rather than a whole program. In conclusion, modular programming is very useful and can turn complex programming projects to small easy tasks. Without, programming would be confusing and hard to understand and therefore is very important. With a specific end goal to make the procedural application for the games page, I've needed to make utilisation of a couple of various tools and techniques; the principal instrument that I utilised is a procedure. ...read more.
Conclusion
A local variable is a value that is obscure to the fundamental system and different functions as these lone exist inside the specific function that makes them. Likewise I made utilisation of a conditional commands which are sequences of guideline that may just be performed when certain conditions are reached and this comes set up if the client picks more than 3 games; the function will then subtract £10 from the aggregate cost that has been included and provide the client with a rebate. Another conditional command that I have utilised is the point at which the total expense of the games that have been added to the basket are more than £50, the program will then take away the delivery costs and provide the client with free shipping. Assignment 1 M1 ...read more.
This student written piece of work is one of many that can be found in our AS and A Level Information Systems and Communication section.
Found what you're looking for?
- Start learning 29% faster today
- 150,000+ documents available
- Just £6.99 a month