The program is a set of instructions or commands that the computer must implement to perform some tasks. The program includes code to solve a problem as well as good documentation which will serve as a guide for anyone trying to understand the program.

The algorithm is a formula, method, recipe, and step-by-step procedure that must be followed to obtain a solution to the problem.

Convert an algorithm to a program in a programming language after syntax And Semantics From that language it is defined as a symbol.

Syntax is the correct method or grammar for writing a command or series of commands that are predefined by this specific programming language. Semantics is the logical meaning of a program or series of commands, separate from the grammatical structure. The computer detects syntax errors, but it does not detect logic errors.

what is it Criteria for a good program ?


Leave a Reply