In this channel, I provide the knowledge about, Computer & Mobile, Technology and education Tips, Blogging, SEO, Internet, Make Money, Computer, internet, Tech information, and Computer Tips & Tricks, etc.

Friday, 17 May 2019

What is the algorithm of IT? Definitions and examples

What is the algorithm? Definitions and examples

What-is-Algorithm

What is the algorithm? Definitions and examples

What-is-Algorithm


What is the Algorithm?

What are algorithms and why should you take care? We will start with an overview of algorithms

An algorithm derived from the name of mathematician Muhammad ibn-Musa al-Khwarijmi is a solution to a problem that meets the following criteria.

A list of instructions, procedures, or formulas that solves a problem.

It can be proven.

Something that always ends and works.



What is an Algorithm

The algorithm can be defined in this way:

"The sequence of steps to be made for the required output from a given input"

There are three main features of the algorithm with its definition:

The essential purpose of the algorithm is to obtain a specific output,

An algorithm consists of several continuous steps,

The output comes after the algorithm is a complete process.

So basically, all the algorithms perform logically, while moving the steps to get output for the input given.



Applications of Algorithm

As previously mentioned, algorithms can be used in many areas, and they are often shown in the flowchart form to understand the scene. In other words, a flowchart is a diagram that represents an algorithm, indicates the steps in different boxes and displays the process by adding the box together. Here are some examples of algorithm applications in flowcharts.

1) Algorithm application for Math

Math-Algorithm
Math-Algorithm

Determine and get the output whether the number N is even or odd


2) Algorithm applications for computer programming

What-is-programming-Algorithm
programming-Algorithm

Draw a flowchart for computing factorial N (N!)




3) Algorithm applications for daily life

What-is-Algorithm
What-is-Algorithm

Determine if the student has passed the exam or not


The examples given above give a clear demonstration of the application of algorithms in mathematics, computer programming, and daily life.





What is a Computer Algorithm

You use the code to use the computer. You need an algorithm before writing code.

The algorithm is a list to follow the rules to solve a problem.

To do anything on the computer, you have to write a computer program. To write a computer program, you must tell the computer step-by-step what exactly you want to do.

The computer then "executes" the program, following each step mechanically, to complete the final goal.

When you are telling the computer what to do, you also have to choose how to do it. This is where the computer algorithms come in.

The algorithm is a basic technique used to work. Let's follow an example to help get an understanding of the algorithmic concept.

How do we use algorithms in our everyday lives?

Let's say that one of your friends is coming to the airport, and your friend has to reach your home from the airport. Here are four different algorithms that you can give to your friend at your home:


Taxi algorithm:

Get on the taxi stand.

Get into the taxi.

Give the driver my address.

 
Call-me algorithm:

Call your cell phone when your plane arrives.

Meet me outside the baggage claim



Car Algorithm on Rent:

Visit the rental car at the place.

rent a car.

Follow the instructions to come to my house.



Just algorithm:

The baggage came out of the claim, just hold the number 70.

Gandhi Nagar landed on road number 14.

Let's move ten steps in the left for my house.



All four of these algorithms meet exactly the same goal, but each algorithm does it completely differently.

Each algorithm has a different cost and a different travel time. For example, taking a taxi is probably the fastest way, but the most expensive too. Taking the bus is certainly less expensive, but completely slow down You select the algorithm based on the circumstances.

In computer programming, there are often many different ways - algorithms - to complete any task.

Each algorithm has advantages and disadvantages in different situations. Sorting is a place where a lot of research has been done because computers spend a lot of time listing sorting. There are five different algorithms 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, then there is the right algorithm for using bin sort. If you have a million book titles, quicksort can be the best algorithm. After knowing the strengths and weaknesses of different algorithms, you choose the best for work.

 
Examples of how algorithms are used today

Today, algorithms use different functions every day and are done for billions every day. The following algorithms are used so many different methods are used here below.

The algorithm helps control the traffic light.

Computers use algorithms to convert data (i.e., changing decimal to binary).

Google Search uses the PageRank algorithm to sort search results.

Encryption, information is an algorithm for decrypting encryption and keeping data safe.

GPS uses algorithms to find the best route for a destination.

There are dozens of types of algorithms that are used to sort the data.

Uses algorithms to use a smartphone, Wi-Fi and wireless communication.

E-mail spam detection uses algorithms to filter out bad e-mails.

Use data compression (e.g., YouTube video) algorithms to get information.



What is the future of algorithms?

Instead of thinking about the future of algorithms, some people will claim that the future is theirs.

The algorithm is, in fact, at the heart of potentially powerful technologies like artificial intelligence. Algorithms are already the basis of automated learning techniques or "machine learning", thus we are surprised every day with new features.

Today, algorithms are behind virtual assistants or autonomous vehicles. But what about tomorrow ...?

No comments:

Post a Comment