{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

06ProgramCorrectness

06ProgramCorrectness - CMSC 132 Object-Oriented Programming...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
CMSC 132: Object-Oriented Programming II Program Correctness, Exceptions Department of Computer Science University of Maryland, College Park
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Overview Program correctness is determined by the presence / absence of program defects (errors) Issues Types of errors Testing Debugging Exceptions
Background image of page 2
Program Errors Compile Time Compile-time (syntax) errors Errors in code construction Lexical (typographical), grammatical, types Detected during compilation Usually easy to correct quickly Examples Misspelled keyword Missing or misplaced symbol Incorrect operator for variable type
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon