| 1. |
Define algorithm. What are the key features of algorithms with an example. |
|
Answer» The word Algorithm means “a process or set of rules to be followed in calculations or other problem-solving operations”. Therefore Algorithm refers to a set of rules/instructions that step-by-step define how a work is to be executed upon in order to get the expected results. In other words, Algorithm is a step by step procedure, which defines a set of instructions to be executed in certain order to get the desired output. Key features of algorithm From data structure point of view, following are some important categories of algorithms −
|
|