COMP 202 Lecture Notes - Lecture 19: Bracket, Compile Time, Semicolon

53 views2 pages
hwpark22 and 40159 others unlocked
COMP 202 Full Course Notes
100
COMP 202 Full Course Notes
Verified Note
100 documents

Document Summary

Comp 202 lecture 19 debugging and scanner. Errors: there are 4 main kinds of errors, stylistic errors, compile time errors, run time errors, logical errors, stylistic errors. These errors do not effect functionality of the code but rather make it hard for a person to read/follow the process. Generally are syntax problems (missing semi-colon, extra curly bracket: compile time errors, run time errors. Caught at run time and depend on input/the values of the variables. Array index out of bound, dividing by zero: logical errors. But when you run the code it will simply not work": finding logical errors (debugging) The print statement or lazy man"s debugger: use print statement to discover the value of certain variables at given locations. Step over clicking this will execute the current line of code and step to the next line in the current method.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents