5. Sructured Programming

 

 

- structures discussed here are useful for tasks that folloow later

 

5.1 Menu Driven Programs

[an error occurred while processing this directive]

 

- These programs allow users to simply control the computer by making a limited set of choices.

 

 

 

 

5.2 Polling Programs

[an error occurred while processing this directive]

 

- These programs are used to monitor a system for frequent updates.

 

 

 

 

5.3 Non-Blocking User Input

[an error occurred while processing this directive]

 

- The program below can check for user input without being forces to stop and wait.

 

 

 

 

 

5.4 Documenting

[an error occurred while processing this directive]

 

- comments at the top of each program including author names, descriptions, last revised, etc.

- README files

- make files

- install files

 

 

 

5.5 Other Types

[an error occurred while processing this directive]

 

- command line

- batch/configuration file

- GUI

- mixed UI and active control

- error checking and robustness

- interrupt driven (unix signals)

 

[an error occurred while processing this directive]