A **algorithm** can be described as a method that is used to solve a problem or performing computation. They are a precise sequence of instructions that execute specific actions step-by-step whether in hardware and software programs .

Algorithms are used extensively in every aspect of IT. In computer science and mathematics algorithms are typically referred to a tiny procedure that is used to solve a problem. Algorithms can also serve as specifications to perform data processing, and play a significant part when it comes to automated technology.

The algorithm could be employed to sort numbers, or for more complex tasks like suggesting users posts on social networks. The algorithms typically begin with an basic input and instructions to describe a particular algorithmic process. Once the algorithm is run by the algorithm, it results in an output.

**How do algorithms function?**

Algorithms can be described as natural language or programming languages pseudocode flowcharts, flowcharts and control tables. The expressions of natural languages are not common because they can be more confusing. Programming languages are utilized to describe algorithms being that are executed by computers.

Algorithms make use of an initial input and an array of instructions. This input comprises the primary data required to make decisions and may be expressed by either words or numbers. The input data goes through a sequence of instructions or computations that can comprise math and decision-making processes. This is usually the final stage of an algorithm and is usually presented as more information.

For instance, a search algorithm accepts a query as input, and then goes through a set of directions to search the data base for items that are relevant in response to the search query. Automated software can be considered an illustration of algorithms, in that automation is based on a set guidelines to accomplish the tasks. A variety of algorithms comprise the automation program, and each work to automatize the procedure.

**What are the various types of algorithm?**

There are many kinds of algorithms, each developed to fulfill different functions. For instance, algorithms can accomplish the following tasks:

- The algorithm for searching engines. This algorithm uses keywords and operator strings as inputs, and searches the database it’s associated with for websites that are relevant and returns the results.
**encryption algorithm.**This computing algorithm alters data in accordance with specified actions to safeguard it from being accessed by. An so-called symmetric key algorithm like that of the Data Encryption Standard for instance utilizes the same key to secure as well as decrypt information. If the algorithm is sophisticated enough and secure, nobody without the key will be able to decrypt data.**Greedy algorithm.**This algorithm solves optimization problems by identifying the most optimal local solution, hoping that it is the most optimal solution on a global scale. But, it cannot ensure the most efficient solution.**Recursive algorithm.**This algorithm calls itself over and over until it has solved the problem. Recursive algorithms make themselves available with an increment of the value each time the function is called.**A backtrack algorithm.**This algorithm finds the solution to a particular problem by using incremental approaches. It tackles the problem one step at one time.**Divide and conquer algorithm.**This common algorithm is divided into two components. The first part splits the problem in smaller parts. The second component solves these problems , and then brings them to form an answer.**The dynamic algorithm for programming.**This algorithm solves problems by breaking them down into subproblems. The results are stored to be used for the next similar problems.**Brute force algorithm.**This algorithm iterates every possible solution to a given problem in search of one or more possible solutions to a particular function.**Sorting algorithm.**Sorting algorithms are employed to rearrange data structures using a comparison operator which can be used to determine the new order of data.**Hashing algorithm.**This algorithm takes data and transforms it into a single message using a issuing**Randomized algorithm.**This algorithm reduces running times and time-based complexity. It makes use of random elements in its algorithm.

11 different kinds of algorithms, such as hashing, search and brute force.

**What are some examples of algorithmic processes?**

machine learning is a great illustration of an algorithm since it utilizes different algorithms to predict the outcome without being specifically programmed to do it. **Machine learning** is a form of an approach called supervised and the unsupervised method of the process of learning. In the case of supervised training, scientists from data provide sophisticated algorithms using labeled training data. They specify the variables they would like the algorithm to analyze for correlations. Both the input as well as the results of the algorithms are defined.

Unsupervised machine-learning is the process of using algorithms that are trained using unlabeled information. Machine learning programs that are unsupervised search through data that is not labeled to look for patterns that could be used to classify data elements into subsets. A majority of the types of deep learning such as neural networks comprise unsupervised algorithm.

The machine learning technique utilized for AI is also based on algorithms. However, systems based on machine learning could have inherent biases in the data feeds to algorithms for machine learning. This can lead to systems that are not trustworthy and even dangerous.

**Engineering Algorithms**

**Preparation to teachers**

- Make copies and previews of
**handout for the project: “Engineering Algorithms”** - Decide the amount of out-of-class and in-class time that students should devote to the task and the way they will communicate their work to the class and/or in their own community.

**Steps to perform an activity:**

1. Hand out handouts of the “Engineering Algorithms” project handout and go through the instructions in a group.

2. Use the project planner found on Page 2 in the book to come up with ideas for ideas for visual or written work prior to creating.

3. Students should discuss their work with the class or on any other platform you consider suitable.

**How Much Does Social Media Algorithms Over You?**

**Preparation for teachers:**

*Activity time estimate 25 minutes*- Watch this video
**What is the extent to which Social Media Algorithms Have Control Over Your Life?** - Take a look at the
**Check out the****teacher’s edition of the “Algorithms and Me” handout**in which you’ll get guidance for facilitation and questions for discussion. - Print copies of
**“Algorithms and Me” student handout**(or download Google Docs for the Google Docs version from the handout).

**Steps to perform an activity:**

1. Before you show the video, you should ask yourself: Have you heard about algorithms for social media or the internet? Do you know what you believe an algorithm could mean?

In the event that your pupils are familiar with the algorithms of social media and their functions then you can continue with them by asking: *Do you ever believe that algorithms determine the content you view on the internet?*

2. Play you the film **What Do the Social Media Algorithms Influence you?** and have students complete the graphic organizer from the “Algorithms and Me” student handout while watching. Check out the teacher’s copy of the guideline while you guide the discussion.

Playing this YouTube clip will create third-party cookies that are controlled by Google when you’re registered to Chrome. Check out Google’s cookies information for more information.

3. After having a discussion about the video, students should take the time to complete the questions for reflection in Part II of the “Algorithms and Me” student handout, and then distribute it whenever time allows.