CMPT 120 Study Guide - Final Guide: Eaves, Pseudocode
meghan78 and 39786 others unlocked
29
CMPT 120 Full Course Notes
Verified Note
29 documents
Document Summary
What are good debugging styles? changes to be made) development, may have requests for change in requirements at any stage. Indent style: indent blocks of code to convey logical structure of code. Kiss: avoid making things complex, only employ what is required. Methodical process of finding and reducing number of bugs or defects in a program, making it behave as expected, requires iterating back and forth in design process stages. Minimizing inter-modular dependency, reproducing bug first before debugging, simplify input to better understand and isolate bug using triple quotes. Checking for flow of program, creation of variables, data being stored in each variable, proper calculations, able to enter / leave functions, proper if / if-else statements, looping code .