This is the third of three lessons that make the connection between programming and algorithms. In this lesson students continue to work with the "Human Machine Language" to get creative designing more algorithms for playing cards. One command is added to the language from the previous lesson (SWAP) that allows positions of cards to change. With the addition of swap the challenge is to design an algorithm that will move the minimum card to the front of the list while keeping the relative order of all the other cards the same. If that is achieved some other Human Machine Language challenges are available.
- Subject:
- Applied Science
- Computer Science
- Material Type:
- Lesson Plan
- Provider:
- Code.org
- Provider Set:
- CS Principles 2019-2020
- Date Added:
- 09/10/2019