Activity 3.6: Networks, and the Rules That Let Them Grow
Session 62: A New Kind of Session
The Create task is submitted, so feedback is allowed again. The first few minutes of today are your written-response homework coming back with real comments on it. Read them; they are about the exam you sit in May.
Then the course turns to the two Big Ideas it has not touched yet. Computer Systems and Networks is three sessions long, and Impact of Computing follows it. Between them they are worth about a third of the multiple-choice section.
There is no code in this session. There is a great deal of precise vocabulary, and precision is what gets tested. "The internet is fast" earns nothing. "The bandwidth of that link is 40 megabits per second" earns the mark.
Activity 3.6
Networks, and the Rules That Let Them Grow
Key Concepts
Three Words That Nest
Paths, Routing, and Bandwidth
Open Protocols and Scalability
Three Words, One Ladder
Nested definitions
A COMPUTING DEVICE runs a program
phone, laptop, router, smart sensor
A COMPUTING SYSTEM devices + programs, one purpose
a checkout till, a card reader,
and the shop's stock software
A COMPUTER NETWORK devices that can send or receive
data to each other
and a computer network IS a computing system
Each one is built from the one above it.
A Computing Device Runs a Program
That is the whole test. Not "is it electronic" and not "does data go through it."
A router runs a program. It is a computing device.
A smart sensor runs a program. So is that.
A cable does not. Data passes through it, and it is still not one.
A Network Is a Kind of System
The exam states this directly: a computer network is a type of computing system.
So every network is a system. Not every system is a network.
Your Create task program running on one laptop is a system: a device and a program with one purpose. It is not a network, because there is nothing for it to send data to.
A Path Is a Sequence
Between a sender and a receiver.
A sequence of directly connected devices, starting at the sender and ending at the receiver.
Not a wire, and not a direction. A list of devices, like A-B-D-E-G.
Routing Is the Finding
Routing is the process of finding a path from sender to receiver.
The path is the answer. Routing is the work of getting it.
People say "it routes to the server" to mean "it travels there." On the exam that sentence means nothing.
Bandwidth Is a Number
The maximum amount of data that can be sent in a fixed amount of time.
Measured in bits per second. A home connection might be 200 megabits per second.
A capacity, not a speed. Not how fast one thing arrives — how much fits.
The Analogy, and Its Limit
A wider road carries more cars per minute.
It does not make any one car faster.
Bandwidth is the width of the road.
Precision Is the Skill
Say it properly
WRONG RIGHT
"the internet is fast" bandwidth is 40 Mbps
"a good connection" the path is A-B-D-E-F-G
"it routes to the server" routing is the process of
FINDING the path
Now: Which Network?
The definition
THE INTERNET
a computer network
consisting of interconnected networks
that uses standardized, open communication protocols
Every word in that sentence is doing work. Today is about the last four.
A Network of Networks
Not one network. Interconnected networks.
Your home network. The school's. Your phone company's.
The internet is what happens when they all agree on how to talk.
A Protocol Is an Agreement
An agreed-upon set of rules that specify the behavior of a system.
Not software. Not hardware. An agreement, which software and hardware then follow.
You already follow several. Saying "hello?" when you answer a phone is one.
Standardized Means the Same
Everyone follows the same rules.
Not the best possible rules. The same ones.
A brilliant protocol nobody else uses is worth nothing, because there is nobody to talk to.
Open Means Nobody Owns It
The difference that mattered
OPEN PROPRIETARY
anyone can read the rules the rules are owned
anyone can build a device you need permission
that speaks it
-> the network can grow -> growth needs permission
Open means non-proprietary. The rules are published and free to use.
Which Buys You This
Scalability
SCALABILITY
the capacity for a system to change in size
and scale to meet new demands
The internet was DESIGNED to be scalable.
Open protocols are how.
A new kind of device can join without asking anybody's permission.
Routing Is Dynamic
Routing on the internet is usually dynamic: it is not specified in advance.
Nobody wrote down the path your data will take.
It is worked out while the data is moving, and it can be different next time.
Access Is a Chain
Getting on the internet means connecting a device to a device that is already connected.
Not to "the internet." To something already on it.
So the edges of the network are where access runs out. Session 66 is about who lives there.
Which All Sounds Fragile
Nobody in charge. No fixed routes. Rules anyone can follow.
It is the opposite of fragile, and next session is why.
Names Run Out
Scaling, in bits
HOW MANY DEVICES CAN YOU NAME?
with 8 bits 2^8 = 256 addresses
with 16 bits 2^16 = 65,536
with 32 bits 2^32 = 4,294,967,296
There are more than 8 billion people.
Every device needs an address. This is 2.14's place value, doing something.
Worth Knowing, Not Memorizing
The specific bit counts are not on your exam.
The idea is: a fixed number of bits is a fixed number of names, and running out of names is a limit on growth.
You met that limit at 2.16. In an int, it was called overflow.
Today's Objectives
Distinguishing a computing device, a computing system, and a computer network
Defining a path, routing, and bandwidth
Explaining why open, standardized protocols let the internet scale
Explaining that routing on the internet is dynamic
Finding every path between two devices on a network diagram
Key Terms
Computing device
A physical artifact that can run a program.
Computing system
A group of computing devices and programs working together for a common purpose.
Computer network
A group of interconnected computing devices capable of sending or receiving data. A type of computing system.
Path
A sequence of directly connected computing devices beginning at the sender and ending at the receiver.
Key Terms
Routing
The process of finding a path from sender to receiver.
Bandwidth
The maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second.
Protocol
An agreed-upon set of rules that specify the behavior of a system.
Open protocol
Non-proprietary. The rules are published, and anyone may use them.
Scalability
The capacity for a system to change in size and scale to meet new demands.
'F' → Fullscreen
The Network
Seven devices. Eight links. Next session uses this diagram too, so copy it into your notes now.
Seven devices
100
A --------- B
| \
50 | \ 100
| \
C ------------- D
50 |
| 40
E
/ \
25 / \ 200
/ \
G ----- F
200
Every number is the link's bandwidth in Mbps.
Today's Work
On paper. No computer is needed for any of this.
Task 1: Every Path, and How Much Fits
A to G
A path from A to G is a SEQUENCE of directly
connected devices, starting at A and ending at G.
A-B-D-E-G 4 links
...
How many are there in total? Find them all.
List every path from A to G that does not visit any device twice. Write each one as a sequence, like A-B-D-E-G. How many are there?
The diagram gives a bandwidth for each link, not for a path. Work out the bandwidth of each path you found, and explain your reasoning before you give a number.
Which path carries the most data per second? Count its links. Is it the shortest path?
That last answer is the interesting one, and it is part of why routing does not simply pick the path with the fewest links.
Task 2: The Right Word, and the Open Rule
Part A. Say whether each is a computing device, a computing system, a computer network, or none, with a one-line reason.
A smart thermostat
An ethernet cable
A single laptop running your Create task program
A school's laptops, printers, and the wireless they share
The internet
Two of these belong in more than one category. Say which, and say why that is not a contradiction.
Part B. Imagine one company owned the protocol every device on the internet uses, and charged for permission to use it.
A new kind of device is invented. What has to happen before it can join?
A second company writes a rival protocol. What happens to the network?
In the exam's vocabulary, what has the owned version lost?
Checkpoint
Without looking:
What is the one test for whether something is a computing device?
Is every computer network a computing system? Is every computing system a network?
What is the difference between a path and routing?
What are the units of bandwidth?
What does open mean, and what is the opposite word?
Is the path your data takes decided before it is sent?
Reflection
Answer these before submitting your work.
The highest-bandwidth path from A to G is not the one with the fewest links. Explain why in one sentence a non-programmer would understand.
The internet has no owner and no fixed routes. Name one thing that makes harder, and one thing it makes possible.
Access to the internet depends on connecting to a device that is already connected. What does that mean for somebody who lives a long way from anybody else?