Week 7
Learning objectives
Upon finishing this learning module, you should be able to:
- Describe the goals of higher level programming languages and how they relate to machine code
- Trace how the Little Computer uses branches to make decisions
- Use logical operators to express complex conditions
- Identify pattern recognition algorithms and predict the behavior of simple decision trees and neural networks
Class Schedule
First Class Meeting
- Little Computer Assembly and Branching
- Programming Ch 24
Independent:
- Little Computer Assembly and Branching Worksheets
- Work on Programming
Second Class Meeting
- Algorithm of the Week - Pattern Recognition & Machine Learning
- Programming Ch 25
Independent:
- Pattern Recognition Worksheet
- Work on the Impacts of Computing assignment
- Work on Programming
Programming
Do Chapter 24 and 25 from the Programming chapters in [Welcome To CS].
Assembly & The Little Computer
- Read about what an assembly language is and how to write assembly for the Little Computer: Ch 7.4-7.5 in Welcome To CS. This reading is part of the Computing Week 7 assignment.
- Do Little Computer Assembly Worksheet from this module
- You will need to make use of this Little Computer Assembler
Little Computer Branching
Last week, we saw how a simple computer would process information and use its memory. This week, we will look at how it could use branch instructions to allow us to say things like "if the number is positive, do this, otherwise do that" and "go back to instruction 4"
- Read Ch 7.3 on the Little Computer in Welcome To CS to learn about the branch instructions. This reading is part of the Computing Week 7 assignment.
- Do Little Computer Branching Worksheet from this module
- You will need to make use of this Little Computer simulator
Higher Level Programming Languages
Read the rest of Ch 7 in Welcome to CS. It describes how the higher level programming languages (like the Python you are learning) relate to assembly and machine language. This reading is part of the Computing Week 7 assignment.
Algorithm of the Week - Pattern Recognition and Machine Learning
Read Ch 6 of The Nine Algorithms book. This video gives an overview of the highlights and talks about how these algorithms relate to machine learning:
Read this Pattern Recognition supplement
Do the PatternRecognitionPractice practice worksheet
Impacts of Computing
We are going to explore the topic of Automatic Vehicle Recognition (like Flock cameras) in a week 6 discussion. As preparation for that discussion, you need to do some research and thinking this week.
See the Canvas assignment in this week's module for specific instructions on what to do for this week.