Teach: Algorithms
Algorithms
In this lesson, you will learn about “algorithms,” one of the most important fundamentals of programming. Rather than memorizing words alone, aim to explain the system and the reasons behind it in your own words.
Key Point
An algorithm is a finite, unambiguous sequence of steps from input to output, allowing correctness and efficiency to be compared.
An algorithm is a finite, unambiguous sequence of steps from input to output, allowing correctness and efficiency to be compared.
Important Points
- Check the reason, not just the conclusion
- Distinguish similar terms and exceptions
- Try applying the same way of thinking to other examples
Practice
- Explain the key point in two sentences.
- Give one common misunderstanding and explain what is different about it.
- Check your understanding by applying it to a familiar or specific example.
Previous and next lessons in this course
- Previous lesson: Information: new format quiz
- Next lesson: Fix the mistake: Basics of Programming