Owl Trail Academy
Every Lesson. A New Adventure.

Computer Education

K–12 digital literacy and computer science foundations

Four guided lessons · 8 original practice items · printable activities

Scout the owl guides this learning pathway
Course homeLessonsFlashcardsPracticeReview ZoneWorksheetsLearning Trail
Lesson 2 of 4

Learn

An algorithm is a clear sequence of steps that transforms inputs into a result. Good instructions use an order, a decision rule, and a stopping condition; tracing helps detect errors.

Worked example

To find the largest of three numbers: store the first as largest, compare the second, compare the third, then report largest.

Your turn

Write an algorithm for sorting three numbers from least to greatest. Test it with two different input orders.

Explain your thinking in your own words. Ask a teacher or trusted adult when you need help or an accommodation.

Official references

Use these primary resources to check current requirements and explore the subject standards. This reconstruction does not claim a benchmark-by-benchmark certification.