VR SCHOOL ONLINE
  • Courses
  • Meta Campus
  • Log In
  • Join Free
  • Home
  • Courses
  • Artificial Intelligence All-in-One Essentials

Understanding AI Foundations

Curriculum

  • 7 Sections
  • 35 Lessons
  • 10 Weeks
Expand all sectionsCollapse all sections
  • Delving into What AI Means
    5
    • 1.1
      Defining the Term AI
      10 mins
    • 1.2
      Understanding the History of AI
      10 mins
    • 1.3
      Considering AI Uses
      10 mins
    • 1.4
      Avoiding AI Hype and Overestimation
      10 mins
    • 1.5
      Connecting AI to the Underlying Computer
      10 mins
  • Defining Data’s Role in AI
    6
    • 2.1
      Finding Data Ubiquitous in This Age
      10 mins
    • 2.2
      Using Data Successfully
      10 mins
    • 2.3
      Manicuring the Data
      10 mins
    • 2.4
      Considering the Five Mistruths in Data
      10 mins
    • 2.5
      Defining the Limits of Data Acquisition
      10 mins
    • 2.6
      Considering Data Security Issues
      10 mins
  • Considering the Use of Algorithms
    2
    • 3.1
      Understanding the Role of Algorithms
      10 mins
    • 3.2
      Discovering the Learning Machine
      10 mins
  • Pioneering Specialized Hardware
    8
    • 4.1
      Relying on Standard Hardware
      10 mins
    • 4.2
      Using GPUs
      10 mins
    • 4.3
      Working with Deep Learning Processors (DLPs)
      10 mins
    • 4.4
      Creating a Specialized Processing Environment
      10 mins
    • 4.5
      Increasing Hardware Capabilities
      10 mins
    • 4.6
      Adding Specialized Sensors
      10 mins
    • 4.7
      Integrating AI with Advanced Sensor Technology
      10 mins
    • 4.8
      Devising Methods to Interact with the Environment
      10 mins
  • Parsing Machine Learning and Deep Learning
    5
    • 5.1
      Decoding Machine and Deep Learning
      10 mins
    • 5.2
      Demystifying Natural-Language Processing
      10 mins
    • 5.3
      Understanding Transformers
      10 mins
    • 5.4
      Illuminating Generative AI Models
      10 mins
    • 5.5
      Recognizing AI’s Limitations
      10 mins
  • Upholding Responsible AI Standards in GenAI Use
    3
    • 6.1
      Achieving Originality and Excellence in GenAI-Generated Content
      10 mins
    • 6.2
      Applying Journalism Ethics to GenAI-Generated Content
      10 mins
    • 6.3
      Joining the Responsible AI Movement
      10 mins
  • Finding Job Security in an AI World
    6
    • 7.1
      Identifying Tasks That AI Can’t Replace
      10 mins
    • 7.2
      Upskilling for AI-Proof Jobs
      10 mins
    • 7.3
      Translating Your Current Skills into AI-Proof Roles
      10 mins
    • 7.4
      Navigating Career Transitions
      10 mins
    • 7.5
      Becoming an Early Adopter
      10 mins
    • 7.6
      AI Foundations: World Challenge
      30 Minutes

Understanding the Role of Algorithms

AI Foundations

Understanding the Role of Algorithms

🕐 12 min read
The Big Question

How do algorithms power both the visible and invisible intelligence in the tech we use every day?

A split image contrasting visible and invisible AI in everyday life

We often think of artificial intelligence as something futuristic or hidden inside high-tech labs. In reality, algorithms—the step-by-step procedures that solve problems—are woven into almost every digital tool we use, from voice assistants to smart thermostats. But what exactly is an algorithm, and why are they so crucial to AI?

💡 Did You Know?

The word “algorithm” comes from the name of the Persian mathematician Al-Khwarizmi, whose works introduced systematic problem-solving methods to Europe in the 9th century.

An algorithm is a procedure that consists of a sequence of operations. Usually, a computer manages these operations by either finding the correct solution to a problem in a finite time or telling you that no solution exists. Even though people have solved algorithms manually for literally thousands of years, doing so can consume huge amounts of time and require many numeric computations, depending on the complexity of the problem to be solved. Algorithms are all about finding solutions, and the speedier and easier, the better. Algorithms have become hard-coded into the intelligence of humans who devised them, and any machine operating on algorithms cannot but reflect the intelligence embedded into such algorithmic procedures. AI provides the means to simulate the human in processing and solving existing algorithms, but currently, AI can’t replace humans or mimic human creativity in devising new algorithms.

Think about a tool or app you use daily. Can you identify an algorithm it relies on? What problem does that algorithm solve for you?

A visual representing the "AI Effect" and the shift in perception of technology

People tend to recognize AI when a tool presents a novel approach and interacts with the user in a human-like way. Examples include digital assistants such as Alexa, Cortana, Google Assistant, and Siri. However, certain other common tools, such as GPS routers and specialized planners (like those used to avoid automotive collisions, autopilot airplanes, and arrange production plans) don’t even look like AI because they’re too common and taken for granted as they act behind the scenes. In addition, it’s important to consider alternative forms of AI, such as smart thermostats that control the environment based on past usage and current environmental data, and smart garage door openers that automatically detect when you accidentally leave the door open after you leave for work.

❌ Common Misconception

Only tools that talk to us or act “human-like” are powered by AI algorithms.

✅ The Reality

Many AI algorithms operate behind the scenes in everyday technology, from GPS routing to smart home devices, even if their intelligence isn’t obvious to us.

Every time you ask your GPS app for the fastest way home, it uses algorithms to search through millions of possible routes and pick the best one for your conditions—often without you even realizing it.

AI Effect

The tendency for people to stop considering a technology “AI” once it becomes commonplace and its intelligence is taken for granted.

This is clearly the AI effect, as named and described by Pamela McCorduck, who wrote a notable history of AI, Machines Who Think, in 1979. The AI effect states that people soon forget about successful, intelligent computer programs, which become silent actors while attention shifts to AI problems that still require resolution. The importance of classic algorithms to AI gets overlooked, and people start fantasizing about AI created from esoteric technology, or they equate it with recent advances, such as machine learning and deep learning.

How does the “AI effect” shape your perception of what counts as “real” artificial intelligence?

Want to go deeper? The science behind “NP-complete” problems

NP-complete problems are a special class of computational problems for which no fast (polynomial-time) solution is known—and might not exist! These problems are so challenging that even the most powerful computers struggle to solve them quickly. Many AI challenges, like optimal planning or complex pattern recognition, fall into this category, which is why AI often uses heuristics or “good-enough” approximations rather than perfect answers.

Examining what an algorithm does

An algorithm always presents a series of steps, but it doesn’t necessarily perform all these steps to solve a problem. (Some steps are optional or performed only under specific conditions.) A group of related steps is an operation, such as the tea-making operation being composed of these steps:

  1. Pour water into the teapot.
  2. Turn on the fire to heat the water in the teapot.
  3. When water is heated, pour it into the cup.
  4. Place a teabag in the cup and steep the tea for the recommended time.
  5. Remove the teabag.
  6. (Optional) Add sugar to the tea.
  7. (Optional) Add milk to the tea.
  8. Drink the tea.
  9. (Optional) Toss the tea in the sink when it becomes undrinkable.

The scope of algorithms is incredibly large. Operations may involve storing data, exploring it, and ordering or arranging it into data structures. You can find algorithms that solve problems in science, medicine, finance, industrial production and supply, and communication.

All algorithms contain sequences of operations to find the correct solution to a problem in a reasonable time (or report back if no solution is found). A subclass of algorithms, heuristics, produce good, but not necessarily perfect, solutions when time-to-solution is more critical than finding the perfect solution. AI algorithms distinguish themselves from generic algorithms by solving problems whose resolution is considered typically (or even exclusively) the product of human intelligent behavior. AI algorithms tend to deal with complex problems, which are often part of the NP-complete class of problems (where NP is nondeterministic polynomial time) that humans routinely deal with by mixing a rational approach with intuition.

In the tech industry, AI algorithms are behind everything from supply chain optimization to pattern recognition in healthcare diagnostics. These solutions often start with classic algorithms, then use AI to handle the messy, real-world variables.

Heuristic

A rule-of-thumb or shortcut algorithm that finds a good-enough solution quickly, especially when an exact solution is too costly or slow to compute.

Here are just a few examples:

  • Scheduling problems and allocating scarce resources
  • Searching routes in complex physical or figurative spaces
  • Recognizing patterns in image vision (versus something like image restoration or image processing) or sound perception
  • Processing language (both text understanding and language translation)
  • Playing (and winning) competitive games
Tip icon
TIP

NP-complete problems distinguish themselves from other algorithmic problems because finding a solution for them in a reasonable time frame isn’t yet possible. NP-complete isn’t the kind of problem you solve by trying all possible combinations or possibilities. Even if you had computers more powerful than those that exist today, a search for the solution would last almost forever. In a similar fashion, in AI, this kind of problem is called AI-complete.

Why do you think AI relies on heuristics for certain problems instead of always searching for the perfect solution?

  • You can define what an algorithm is and describe its key role in AI.
  • You can give examples of algorithms operating both visibly and behind the scenes.
  • You understand why some AI problems are so challenging that perfect solutions are nearly impossible to compute.

Planning and branching: Trees and nodes

Planning helps you determine the sequence of actions to perform to achieve a certain goal. Deciding on the plan is a classic AI problem, and you can find examples of planning in industrial production, resource allocation, and robot motion. Starting from the present state, an AI first determines all possible actions from that state. Technically, it expands the current state into a number of future states. Then it expands all future states into their own future states, and so on. When you can no longer expand the states and the AI stops the expansion, the AI has created a state space, which is composed of whatever could happen in the future. An AI can take advantage of a state space not just as a prediction (actually, it predicts everything, though some future states are more likely than others) but also because AI can use that state space to explore decisions it can make to reach its goal in the best way. This process is known as the state-space search.

Working with a state space requires the use of both particular data structures and algorithms. The core data structures commonly used are trees and graphs. The favored algorithms used to efficiently explore graphs include breadth-first search and depth-first search.

Building a tree works in much the same way that a tree grows in the physical world. Each item you add to the tree is a node. Nodes connect to each other using links. The combination of nodes and links forms a structure that looks like a tree.

Remember icon
REMEMBER

Trees have a single root node, just like a physical tree. The root node is the starting point for the processing you perform. Connected to the root are either branches or leaves. A leaf node is an ending point for the tree. Branch nodes support either other branches or leaves. The type of tree shown is a binary tree because each node has, at most, two connections (but trees remain useful even when the structure varies).

⏱ 5 minutes
Activity: Map a Simple Algorithm

Write out the steps you follow to prepare a cup of tea, coffee, or any simple task. Then, identify which steps are always required and which are optional. (Hint: Try matching your list with the tea-making algorithm above!)

  1. List out each step in your chosen process.
  2. Highlight the steps that are optional.
  3. Circle any steps where a decision or condition is involved.
  4. Share your sequence with a peer and compare your algorithms.

Describe a situation in your life or field where using a heuristic (quick solution) is more practical than searching for a perfect answer. Why is “good enough” sometimes better than “perfect”?

0 words Take your time — depth matters more than length

Algorithms are all about finding solutions, and the speedier and easier, the better.

Flashcard

What is an algorithm?

Tap to reveal
Answer

A procedure consisting of a sequence of operations designed to solve a specific problem or complete a task.

Flashcard

What is a heuristic?

Tap to reveal
Answer

A rule-of-thumb algorithm that produces a good-enough solution quickly, especially when perfect solutions are impractical.

Flashcard

What is the AI effect?

Tap to reveal
Answer

The phenomenon where once an AI successfully solves a problem, people stop considering it “real” AI because it has become routine.

+50 XP

Which of the following best describes an NP-complete problem?

Review the “Heuristics and NP-complete problems” section above to find the answer.
Key Takeaway

Algorithms are the foundation of both traditional and artificial intelligence, powering solutions to problems in ways that reflect both human ingenuity and the limits of computational power.

Key Takeaway

Heuristics enable AI to tackle complex or unsolvable problems by delivering practical, good-enough solutions when perfect answers are impossible or impractical to find.

How do you think the “AI effect” influences public understanding of what AI can—and cannot—do?

0 words
SHIFT

The Shift

  • Algorithms are sequences of operations that underlie both visible and invisible intelligence in technology.
  • AI relies on heuristics and state-space searches to solve complex or impossible problems efficiently.
  • The “AI effect” leads us to overlook the sophisticated intelligence behind everyday tools as they become routine.
End of lesson Ready for the next lesson?
Continue to next lesson  →

Leave a Reply Cancel reply

Considering Data Security Issues
Prev
Discovering the Learning Machine
Next

© 2026 VR School Online | Content by Wiley | Powered by Sejal Learning Systems.

Privacy Policy · Terms of Service

YOUR DIGITAL ASSISTANT

Modal title

Main Content