2
Program Development
Process
Problem or Task
make list check it
Requirements List
design algorithm verify
Algorithm
code program verify
Program
١. Syntax Errors
•
Syntax refers to the structure of a
program and the rules about that
structure.
•
The compiler will detect the error and
the program won't even compile. At
this point, the programmer is unable to
form an executable program that a
user can run until the error is fixed.
3 Kinds of Errors
١. Runtime Errors
٢. - appear when we run the program
٣. These errors are also called
exceptions because they usually
indicate that something exceptional
(and bad) has happened.
3 Kinds of Errors
١. Semantic Errors
• - also called logic errors
• The program will run successfully in
the sense that the computer will not
generate any error messages, but it
will not do the right thing.
Semantic Errors