Term 1 · Computing · Age 12
Networks and algorithms
Term 1: 10 lessons in Computing · Age 12
- Networks: PAN, LAN and WAN: A network is two or more devices connected so they can share data. Here, three computers and a phone each work alone.
- Cables and wireless: A copper cable sends bits as electrical pulses. It is cheap and easy to fit, but the signal fades over long distances.
- Checking data: echo checks: Data travels as bits. Interference on the way can flip a 0 into a 1, or a 1 into a 0. Turn up the noise and send the letter A a few times.
- Threats and protection: Hackers try to get in without permission. Malware is software made to cause harm: viruses, spyware and ransomware.
- Writing algorithms: An algorithm is a set of precise steps that completes a task. A computer follows instructions exactly; it can't guess what you meant.
- Tracing and predicting: To trace an algorithm, you follow it line by line and record every change in a trace table. This loop adds up the numbers from 1 to n.
- Decisions in algorithms: Algorithms often need to choose. In a flowchart, a diamond holds a condition: a question whose answer is TRUE or FALSE.
- Linear search: The names are face down. Flip cards to find the target, then let the computer search the same cards. Who needs fewer checks?
- AND, OR and NOT: Some decisions need two conditions at once. With AND, the result is TRUE only when both conditions are TRUE.
- Devices that talk: Two small boards can send messages by radio. A board only listens to its own group number.