Access over 20 million homework & study documents

PROGRAMMING WITH PASCAL

Content type
User Generated
Rating
Showing Page:
1/5

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/5

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/5

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 5 pages?
Access Now
Unformatted Attachment Preview
www.arena.co.ke 0713779527 PROGRAMMING WITH PASCAL STRUCTURED PROGRAMMING Introduction: The first programs that were written consisted of individual instructions that were executed one after the other. This resulted in one long program consisting of several thousands of lines of code that were not grouped in any logical way. √ The programs were long & complicated, making them too difficult to understand & impossible to maintain. √ Maintaining such programs was time-consuming & expensive, since changing even one line of code could affect the entire program. √ Any conditional branching could force the program control to jump back & forth (sometimes from end to the beginning of the program), creating tangled loops usually referred to as ‘Spagheti’ loops. Structured programming is a systematic technique of program design that uses the 3 basic control structures (sequence, selection/branching & looping), and the top-down concepts to decompose main functions into lower-level components for modular coding purposes. Importance of structuring programs: 1). Structured programming improves the programming process through better organization of programs. 2). It produces programs of high quality, which are easy to test, debug and modify. 3). Structuring of programs made them easy to understand & also to maintain. 4). Structuring a program helps to break it down into smaller understandable portions usually referred to as modules. This means that, the programmer has to deal wit ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Super useful! Studypool never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4