100 likes | 379 Views
Qbasic. Modular Programming. Structured Programming. Good Programming Fundamentals Reliability Understandable (read-able) Robust Flexible. Consistently produces correct output. It shouldn’t be harder to understand than to code. Bullet Proof. Easy to fix and modify. Top Down Design.
E N D
Qbasic Modular Programming
Structured Programming • Good Programming Fundamentals • Reliability • Understandable (read-able) • Robust • Flexible • Consistently produces correct output. • It shouldn’t be harder to understand than to code • Bullet Proof. • Easy to fix and modify.
Top Down Design • Phase 1 • Stepwise Refinement • Divide and conquer • Functional Decomposition • Data Definition
Top Down Design • Phase 2 • Modular development • modularization • Single functionality • Re-usability
Top Down Design • Phase 2 • Cohesion • The “internal strength” of a module • The minimal number of statements to accomplish the task. • Coupling • The separation of the workings of the module with its interface
Top Down Design • Phase 3 • Program coding • HIPO • Hierarchical Input Process Output Charts • Flowcharts
Top Down Design • Phase 3 • Testing • Program Stubs • Modules • Functions • Sub-routines • Blackbox VS Whitebox
Top Down Design • Phase 3 • Testing • Black box • Functional testing • White box • Path testing