Skip to Main Content
Computer Science
book

Computer Science

by Ian Sinclair
May 2014
Beginner content levelBeginner
186 pages
9h
English
Newnes
Content preview from Computer Science
Computer Science
3 If a module has to make use of other modules, these should be of lesser
importance, never of greater importance. In some case, a module may
need to call itself (recursion) as, for example, in a data entry module in
which data is tested and the module is called again to get the correct data
after an incorrect entry.
4 Each module should use local variables as far as possible, and should
affect variables in the main program only if this is an essential part of the
action of the module.
These requirements are very difficult to meet if programming is to be
carried out using early versions of BASIC but, by contrast, it would b ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Science

Computer Science

Robert Sedgewick

Publisher Resources

ISBN: 9781483104256