FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
CPU Algorithm
1. Prepared by-
Vaani Pathak (201707000192)
Guided by – Prof. Rohit Singh
Gandhinagar Institute of Technology
SUBJECT-CPU (2110003)
Algorithm
2. What is Algorithm?
An Algorithm tells computer how to
solve problem systematically to get
desired output.
Cox / RixnerAlgorithm2
3. Example for Algorithm
To say ‘Hello’ to user.
Step # 1 : START
Step # 2 : Read user name from Keyboard
Step # 3 : Store Input to Name
Step # 4 : Say Hello to user
Step # 5 : Exit
Cox / RixnerAlgorithm3
4. About Algorithm
An Algorithm is step by step solution
of any problem.
Cox / RixnerAlgorithm4
5. Characteristic of Algorithm
Instruction must be in an ordered form.
Instructions must to simple to understand.
There must be instruction for program to
Exit or it will run to infinity.
Cox / RixnerArrays and Pointers5
6. Advantages of Algorithm
It provides core solution to given problem.
It eases identification and removal of
logical errors.
Cox / RixnerArrays and Pointers6
7. Disadvantages of Algorithm
In large algorithm, flow of program control is
difficult to track.
Cox / RixnerAlgorithm7