A system of rules is a set of commands or commands to be executed by the machine to set up several obligation. A programme involves codification for resolution a hang-up and also groovy corroboration which would be a line to anyone who tries to get the program.
An algorithm is a formula, a method, a recipe, a step by manoeuvre progression to be followed in establish to secure the antidote to a riddle.
Conversion of an formula to a system in a programing lexis pursuing the syntax and semantics of that argot is characterised as a standard.
Syntax is the true fashion or descriptive linguistics of lettering a enjoin or round of commands which are pre-defines by that particular programing vernacular. Semantics is the synthetic gist of a system of rules or order of commands, isolated from the grammatical construction. The machine detects sentence structure errors but does not sight sound errors.
What are the Criteria for a acceptable program?
- It should be correct i.e. production should be as per the specifications
- It should be reliable; it should manoeuvre accurately for a long-range period of time of juncture and also mathematical function correctly ended all ranges and coupling of aggregation.
- It should be robust; unwanted inputs or data should be known and puritanical inaccuracy statement should be flashed. It should never clash.
- It should be user friendly next to plenty comments, tips, on-line activity and fugitive cut options.
- It should be efficient, beside lowest internal representation and characteristic end product in above-board circumstance span.
- It should be readable i.e. it should be pure so that it can be taken to produce changes and deepen it if sought after.
- It should be portable so that programme can be executed on divergent machines and state of affairs.
- It should tail all standards and have proper confirmation.