Computing F453

HideShow resource information
What is a procedure?
A procedure is a small section of code designed to perform a specific definable task, and may or may not return a single value.
1 of 5
What is a function?
A function is a block of code which performs a single task or calculation and returns a single value. They use local variables
2 of 5
How can Functions and Procedures develop programs in a structured way?
* Each module can be written as a functional procedure, *Modules can be tested individually, * Library routines can be used, *The code is reusable, *Main program consists of calls to functions/procedures which may be nested
3 of 5
What is step wise refinement?
This is where a complex problem is broken down into smaller and smaller subproblems until all the sub-problems can be solved easily
4 of 5
What are the advantages of step wise refinement?
* The overall project can be worked on by many people, * The different modules could be coded in different languages to suit the purpose of that module.
5 of 5

Other cards in this set

Card 2

Front

What is a function?

Back

A function is a block of code which performs a single task or calculation and returns a single value. They use local variables

Card 3

Front

How can Functions and Procedures develop programs in a structured way?

Back

Preview of the front of card 3

Card 4

Front

What is step wise refinement?

Back

Preview of the front of card 4

Card 5

Front

What are the advantages of step wise refinement?

Back

Preview of the front of card 5

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming Techniques resources »