Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

New Anna University (UG / PG) Nov/Dec 2016 and Jan 2017 Theory , Practical Exam Timetable
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University November/December 2015 Examination Question Papers
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

What is ALGORITHM in Programing Language ?


An algorithm is sequence of steps required to solve a problem.It is a well defined instructions to solve a problem. According to D.E. Knuth, a pioneer in the field of computer science, algorithm has the following characteristics.
  • An algorithm ends after a fixed number of steps.

  • Each step in an algorithm clearly specifies an action be performed.

  • The steps in an algorithm basic operations.The operations include calculations, input/output and comparisons

  • An algorithm accepts the input data before it can be processed.
  • An algorithm should possess the keyword "STEP"
Consider  an example,where you want to withdraw a required amount from ATM.

Step 1:  Start the algorithm.
Step 2:  Insert your ATM card.
Step 3:  The ATM machine checks your card details.
Step 4:  Enter the PIN number.
Step 5:  The ATM machine validates the PIN number.
Step 6:  Select the amount you want to withdraw.
Step 7:  Collect your ATM card.
Step 8:  The ATM machine counts your cash.
Step 9:  Collect your amount from the ATM machine.
Step 10: Collect the statement from the ATM machine.
Step 11: Stop the algorithm.

An algorithm follows I-P-O cycle to solve the problem.Here the inputs are ATM card,PIN number, and amount number.
These inputs are accepted and the process of withdrawing takes place.Then, the amount, which is the output is generated.

Write an algorithm to troubleshoot "NO SOUND" problem.

One who post the nice algorithm with proper explanation such as what are all the inputs and outputs will get a repute.

Fear is a reaction,but courage is a destination



Recommend on Google