Monday, February 12, 2018

Algorithm have done all the work

All the operations performed by computer consist of Algorithm. It can be said that in Computer Science, an algorithm is an unambiguous specification of how to solve a class of problems. Algorithms can perform a calculationdata processing, and automated reasoning tasks.



Every programmer knows what is the role of  Algorithm in building a good program. When a programmer needs to build a good program he needs to make the coding as good as possible to develop a good coding the programmer need to follow some step and need to build the coding in a step by step manner such that thee will not be any trouble or error in the code. So, Algorithm can be defined as the step by step representation of a program. Before writing a program in any of the programming languages we use algorithm and flowchart. The flowchart is the pictorial representation of an algorithm. 


A          L          G          O          R          I          T          H          M


Algorithm put the Science in the Computer Science.

How does Google Hangout transmit live video across the internet so quickly?
They use audio and video compression algorithm.
How does Google Maps figure out how to get from one place to another place?
They use a route finding algorithm.
How does Pixar color a 3D model of character based on the lighting in a virtual room?
They use a rendering algorithm.
How does NASA choose how to arrange the solar panels on the international space station? and when to rearrange them?
They use an optimization and a scheduling algorithm.

Example of some Algorithm that we use in our life:

The taxi algorithm:
  1. Go to the taxi stand.
  2. Get in a taxi.
  3. Give the driver my address.
The call-me algorithm:
  1. When your plane arrives, call my cell phone.
  2. Meet me outside baggage claim.
The rent-a-car algorithm:
  1. Take the shuttle to the rental car place.
  2. Rent a car.
  3. Follow the directions to get to my house.


2 comments:

  1. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  2. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete