← Back to CoursesComputer Science: Beginner

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Algorithms: Clear Step-by-Step Problem Solving

Manual: General · Subject: Computer Science

Learn what algorithms are, how to describe them, and how to evaluate whether they work.

Algorithms in everyday life

What makes an algorithm?

An algorithm is a precise sequence of steps designed to solve a problem. A good algorithm should be clear, finite, and correct.

Example: brushing teeth

  1. 1

    Step 1: Put toothpaste on the toothbrush.

  2. 2

    Step 2: Brush all tooth surfaces for about two minutes.

  3. 3

    Step 3: Spit, rinse, and put away the brush.

🔑

Algorithms are not just for computers

Any reliable recipe, set of instructions, or procedure can be thought of as an algorithm.

Which property is most important for an algorithm?

What does it mean for an algorithm to be finite?

Good vs poor algorithms

Good algorithm

  • Clear steps
  • Produces the correct result
  • Eventually ends

Poor algorithm

  • Ambiguous instructions
  • May never finish
  • May give wrong results

A recipe for making a sandwich is best described as a(n):

Give one example of a task that could be turned into an algorithm.