Programming 5.02 – Flashcards
Unlock all answers in this set
Unlock answersquestion
two types of debugging
answer
programmer debugging and program debugging
question
what does programmer debugging do?
answer
fixes errors
question
what does program debugging do?
answer
allows for unexpected input from a user
question
break point
answer
a tool used by a programmer to isolate a section of code and watch how the compiler steps through it
question
2 ways to add a breakpoint
answer
right click the line of code > breakpoint > insert breakpoint click in the gray vertical bar to the left of your code window
question
what does the blue square mean in the controls?
answer
stop the program and return to the IDE
question
step into?
answer
move to the next line of code in the programming block
question
step over
answer
skip the current programming block
question
step out
answer
exit the current programming block
question
what does the watch window do?
answer
allows coder to track value of variables during runtime
question
what is the try..catch function?
answer
checks for incorrect user input
question
basic format of a try..catch
answer
TRY lines of code to check for exceptions CATCH EX AS EXCEPTION what to do if an exception is found (message box) END TRY
question
what is IsNumeric?
answer
a function used with an IF statement