Computer and Information Technology for (HKCEE) Module A2: Part B
7.1 Type of Program Errors
Syntax errors errors in the structure of the program compiler identifies the line numbers in which the errors are located can be solved by fixing and recompiling the program several times examples undefined symbol i missing; integer mistyped as interger
Computer and Information Technology for (HKCEE) Module A2: Part B
7.2 Program Tracing
Tracing track the operation of the program watch how the variables change at different stages of the program help us understand the operation of an unknown algorithm Dry run tracing done manually using pencil and paper
Computer and Information Technology for (HKCEE) Module A2: Part B
7.2 Program Tracing
Echo checking insert output statements at strategic locations in the program get the intermediate values at each stage of calculation or logic advantage conceptually simple disadvantage inefficient with regards to effective use of throughput
Computer and Information Technology for (HKCEE) Module A2: Part B
7.3 Debugging Tools
Step into step through instructions in the program line-by-line enter each encountered function call Step over step through instructions in the program line-by-line do not enter encountered function call Watches display the expressions in the program
Computer and Information Technology for (HKCEE) Module A2: Part B
7.4 Program Testing
Program testing discover possible logic errors tested by several sets of typical data tested for abnormal data negative values out-of-range data zeros file opening error
Learn CSS in One Day and Learn It Well (Includes HTML5) - CSS For Beginners With Hands-On Project. The Only Book You Need To Start Coding in CSS ... Coding Fast With Hands-On Project) (Volume 2)