What is a computer algorithm?

0
(0)

Hi Viewer,

*Please scroll down for your Story, Meanwhile as a MCB user please be noted: We do not allow typical good-bad-foul comment culture in this platform, rather if you want, you may post a counter-constructive story to this story by copy/paste this post link in your next Publish screen. Moreover MCB is an open platform where anybody can moderate anybody's post.

You may add your Story ;

Visit & Add: SocialStory

Add your News,
Views,
Consciences,
Etc.
as mcbStory

How to Post on MCB ?
No SignUp,
Just LogIn with our open credentials:

Publish News, Views, Consciences, Etc. 

Pick any one to Publish:

#1 mcb

#2 MyCtgBangla

#3 mcbStory

#4 MyStory

#5 PEOPLEPRESS

#6 WerMCBzen

WerMCBzen

Power to Edit/Add/Improve any Post ! 

Visit  MCB Policy

🙂 Citizen Journalism :)

mcb post icon


MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Story starts  hereThis image has an empty alt attribute; its file name is mcb-mversion-logo.png

mcb post icon

Your Story here :

8 views

What is a computer algorithm?

computercomputer

The algorithm is the basic technique used to get the job done. Laflor / Getty Images

To make a computer do anything, you have to write a computer program. To write a computer program, you have to tell the computer, step by step, exactly what you want it to do. The computer then “executes” the program, following each step mechanically, to accomplish the end goal.

When you are telling the computer what to do, you also get to choose how it’s going to do it. That’s where computer algorithms come in. The algorithm is the basic technique used to get the job done. Let’s follow an example to help get an understanding of the algorithm concept.

Let’s say that you have a friend arriving at the airport, and your friend needs to get from the airport to your house. Here are four different algorithms that you might give your friend for getting to your home:

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.

The bus algorithm:

  1. Outside baggage claim, catch bus number 70.
  2. Transfer to bus 14 on Main Street.
  3. Get off on Elm street.
  4. Walk two blocks north to my house.

All four of these algorithms accomplish exactly the same goal, but each algorithm does it in completely different way. Each algorithm also has a different cost and a different travel time. Taking a taxi, for example, is probably the fastest way, but also the most expensive. Taking the bus is definitely less expensive, but a whole lot slower. You choose the algorithm based on the circumstances.

In computer programming, there are often many different ways — algorithms — to accomplish any given task. Each algorithm has advantages and disadvantages in different situations. Sorting is one place where a lot of research has been done, because computers spend a lot of time sorting lists. Here are five different algorithms that are used in sorting:

  • Bin sort
  • Merge sort
  • Bubble sort
  • Shell sort
  • Quicksort

If you have a million integer values between 1 and 10 and you need to sort them, the bin sort is the right algorithm to use. If you have a million book titles, the quicksort might be the best algorithm. By knowing the strengths and weaknesses of the different algorithms, you pick the best one for the task at hand.

Here are some interesting links:

 


MCB Love to Mention : )

Content Courtesy →

What is a computer algorithm?

Have A Views ?

Pay A Visit :

MCB-Rhythm Of Algorithm


*related video(s) to your this interest, tap the image to retrieve the video. some times you wont see any related video(s) for youtube API & Quota issue, or some times you see video(s) unrelatedly. please excuse the drawback while such stuff happens.

No Video(s) Found,

Follow us on Facebook.com/MyCtgBanglaMCB

How useful was this post?

Click on a star to rate it!


© MCB | the OnenOnly Open Publishing Platform
| ✐ Publish NOW



You may add your Story ;

Visit & Add: SocialStory

Add your News,
Views,
Consciences,
Etc.
as mcbStory

+

How to Post on MCB ?
No SignUp,
Just LogIn with our open credentials:

Publish News, Views, Consciences, Etc. 

Pick any one to Publish:

#1 mcb

#2 MyCtgBangla

#3 mcbStory

#4 MyStory

#5 PEOPLEPRESS

#6 WerMCBzen

WerMCBzen

Power to Edit/Add/Improve any Post ! 

Visit  MCB Policy

:) Citizen Journalism :)

mcb post icon

*please keep in mind your post/page is always editable by the open online profile: WerMCBzen.

MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Edit: You're Empowered for Excellence !