Syntax errors occur when the code violates the rules of the programming language. Logic errors are present when the expected result and the actual result do not match. Errors in a program are referred to as bugs . The process of locating and correcting errors is called debugging the program. I n formalizing the solution , the programmer removes any dead code.
Documentation allows a programmer to make changes effectively and efficiently.
Maintaining a program involves correcting errors and adding enhancements. A programming language is a set of words, symbols, and codes that enables the programmer to communicate the solution algorithm to the computer. Low-Level Languages M achine language uses binary digits that correspond to the on and off electrical states of a computer. Assembly language is written as symbols and codes. Machine and assembly languages are referred to as low-level languages because they are machine dependent .