Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.
Modular Elements of Procedural Programming
Transcript of Modular Elements of Procedural Programming
A programming design style in which a program is split up into small chunks that each do one part of the task
Modular Design and Procedural Programming
You can work on each module independently - as you are working on a small part, it becomes easier
Why modular elements are important for procedural programming
M1 in Unit 16 is
To get M1
You need to explain why modular elements are important for procedural programming in your own words
"why modular elements are important for procedural programming"
an approach that subdivides a system into smaller parts (modules) that can be independently created and then used in different systems
In C#, these are known as methods
Modules can be used many times
It should be easier to test a small module than a whole program
In the case of teams, different modules can be given to different team members - thus the program should be written faster
Programs writtten without using modules are likely to be very large and hard to understand - modular programs should be easier to understand
Procedural programs give the computer a series of instructions eg for calculator Progam
Carry out the calculations the user specifies
while user wants to continue
Ask the user for first number
Ask the user for second number
Ask the user for operation
case add: add numbers
case subtract: subtract numbers
case multiply: multiply numbers
case divide: divide numbers
Modular Design breaks down complex procedures into simple steps.
The simple steps can be turned into computer code more easily
Use examples to show you understand what you are talking about
You can fit modules together like Lego to build a program
are very important
ie what data is passed into modules
what data is passed out (