Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start 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.

DeleteCancel

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.

No, thanks

Modular Elements of Procedural Programming

No description
by

Edward Curran

on 25 November 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Modular Elements of Procedural Programming

What are 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
Advantages
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
Modular 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"
`
What is
Modular?
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
do
do Calculation
while user wants to continue
Ask the user for first number
Ask the user for second number
Ask the user for operation
switch operation
case add: add numbers
case subtract: subtract numbers
case multiply: multiply numbers
case divide: divide numbers
end switch
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
So the
Interfaces
are very important
ie what data is passed into modules
(
parameters
)
what data is passed out (
return values
)
Full transcript