Debugging
Material Type: Notes;
Professor: Sawicki;
Class: Computer Methods in Biomedical Engineering;
Subject: Biomedical Engineering;
University: North Carolina State University;
Term: Spring 2011;
Download Debugging in Computer Methods in Biomedical Engineering | BME 201 and more Study notes Biology in PDF only on Docsity!
Pur Sauipe Peru” DEBUGGING 101 ... My program isn’t working Bok 3 - Good Programming Practices ie eece Be Reeuie-lee- eR ou maleeel ke ou son keg- Reet eee CUR eR co ees trie ti Reel ule Roe Roce ule) Pete a euch matrices enim urinate nena ath S ts 1) Identify givens, variables, and equations 2) Determine what parts of the problem are KE Ne ) P p 3) Write out how you are going to solve the 4) Turn this into comments 5) Fiilin the program beneath the dependent upon other steps problem— jn a flow : comments | | | name * Give variables and functions unique and meaningful names — Variables and functions CANNOT share the same ¢ Break the program into[small parts | — Make your functions very specific (i.e., do nottry and do everything with one function) _ Make sure each of these small parts work ~*~ b retore . — Test simple cases before moving to complex ones known ases- Djotgesulls as ached -