< Unit 2 - The Internet ('23-'24)

Lesson 2: Building a Network

45 minutes

Overview

In this lesson, students are formed into groups of 5-7 and given string so they can connect themselves together to form a computer network. Students are given several specific networks to form, along with several guidelines for how to best form computer networks. Students are also forced to wrestle with conflicting guidelines in determining the ‘best’ way to connect together to form a network, and will need to justify why they chose the networks that they did.

CSP Conceptual Framework
      • CSN-1.A.1 - A computing device is a physical artifact that can run a program. Some examples include computers, tablets, servers, routers, and smart sensors.
      • CSN-1.A.2 - A computing system is a group of computing devices and programs working together for a common purpose.
      • CSN-1.A.3 - A computer network is a group of interconnected computing devices capable of sending or receiving data.
      • CSN-1.A.4 - A computer network is a type of a computing system.
      • CSN-1.A.5 - A path between two computing devices on a computer network (a sender and a receiver) is a sequence of directly connected computing devices that begins at the sender and ends at the receiver.
      • CSN-1.A.6 - Routing is the process of finding a path from sender to receiver.
      • CSN-1.A.7 - The bandwidth of a computer network is the maximum amount of data that can be sent in a fixed amount of time.
      • CSN-1.A.8 - Bandwidth is usually measured in bits per second.
CSTA K-12 Computer Science Standards (2017)
    • 2-NI-04 - Model the role of protocols in transmitting data across networks and the Internet.
    • 3A-NI-04 - Evaluate the scalability and reliability of networks, by describing the relationship between routers, switches, servers, topology, and addressing.
    • 3B-NI-03 - Describe the issues that impact network functionality (e.g., bandwidth, load, delay, topology).

Agenda

Objectives

Students will be able to:
  • Explain how computing devices can be connected to form a network
  • Identify the path(s) connecting two devices in a simulated network

Preparation

  • Cut strings between 1.5 and 3 feet long. Each student will need 2 of these strings. A ball of yarn can work really well here.
  • Decide how you would like students to physically form their networks - standing, in seats, etc.
  • Check the "Teacher's Lounge" forum for verified teachers to find additional strategies or resources shared by fellow teachers
  • If you are teaching virtually, consider checking our Virtual Lesson Modifications

Links

Heads Up! Please make a copy of any documents you plan to share with students.

For the teachers

Vocabulary

  • Bandwidth - the maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second
  • Computing Device - a machine that can run a program, including computers, tablets, servers, routers, and smart sensors
  • Computing Network - a group of interconnected computing devices capable of sending or receiving data.
  • Computing System - a group of computing devices and programs working together for a common purpose
  • Path - the series of connections between computing devices on a network starting with a sender and ending with a receiver

Teaching Guide

Warm Up (5 minutes)

Discuss: In the previous lesson, we explored the Internet Simulator, where each of you were connected to one other person by a single wire. What are the potential problems with this setup?

Discussion Goal: Direct the conversation towards the need to be able to talk to multiple people and the need to have a backup if that wire is damaged or unable to transmit information.

Remarks

Today we are going to build a physical representation of a computer network to address some of these very concerns!

Activity (35 minutes)

Group: Place students in groups of 5-7. Give each group string according to the following chart:

  • Groups of 5: 10 strings
  • Groups of 6: 15 strings
  • Groups of 7: 21 strings
Teaching Tip

Strings Per Group: The number of strings per group is calculated by adding up all of the numbers less than the group size. For example, a group of 5 needs 4+3+2+1 = 10 strings. A group of 8 would need 7+6+5+4+3+2+1 = 28 strings.

Remarks

We are going to build a computer network that will let us communicate with multiple people. We will be using strings to represent our connections - if two people are connected with a string, then they are allowed to speak to each other. Only two people can be connected by a single string, but you can be connected to multiple people at the same time via multiple strings.

Do This: The next activity is guided by the lesson slides. Display the challenge for students and give them a few minutes to form their network using the provided strings. Each new challenge introduces a new guideline they need to follow. These challenges progress in a specific way, with each guideline helping to motivate the next challenge.

  • As a class, read through the rules for all challenges.

  • Challenge #1 (3 mins): Students work in groups to create a network where everyone can speak directly to everyone else.

  • Challenge #2 (3 mins): As a class, read through Guideline A before having students work through the challenge.

  • Challenge #3 (8 mins): As a class, read through Guideline B before having students start work on the challenge.

  • Challenge #4 (10 mins): As a class, read through Guideline C before having students start work on the challenge. Let students know there are many possible answers to this as long as they have a reason for why they created the network that they did.

Teaching Tip

The first 3 challenges have very direct solutions with most networks in the class looking nearly identical:

Discuss: Thinking about our 3 guidelines, what is a strength of the network your group created? What is a weakness for the network your group created?

Teaching Tip

Use the Retrieve-Pair-Share strategy to facilitate this discussion by directing students to write down their thoughts and ideas first, then pair up students to compare their answers and expand their notes. This allows time for individual processing and idea generation before sharing thoughts with others. Ask students to share the ideas they discussed with their partners as a class.

For more ideas on how to adapt this strategy to fit the needs of your class, check out the CSP Guide to Classroom Discussions

Discussion Goal: There are many possible answers to Challenge 4 so its important for students to think critically about why they made the choices that they did. They can think of Challenge 1 and Challenge 2 as the two extremes - too well connected and not connected enough - and their network finds a balance somewhere in the middle.

You may choose to have groups draw their networks on a sheet of paper and write their responses along with their network drawing. This can help students process their thinking, and can act as an artifact for reference throughout the unit.

Teaching Tip

In the final challenge for this lesson, it is important to let students wrestle with how to best balance the 3 network guidelines and refine their reasoning & explanation for decisions they made when creating their network. This is important in setting up later lessons in this unit - in this lesson, the guidelines are based on the physical impacts of creating a network but towards the end of the unit students will examine the societal and economical impacts for creating computer networks and will again think critically about how to balance several factors from a societal and economic lens.

Remarks

You've built some interesting networks today. Let's talk a little more about how data moves in these networks.

Routing is the process of finding a path from the sender to the receiver. As we have seen, there are many different paths a message might take.

How fast that message arrives is determined by bandwidth. In a computing network, the bandwidth is the maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second. If a message arrives quickly, that may be because of high bandwidth - many bits can be sent per second. If the message arrives slowly, it could be due to low bandwidth.

Wrap Up (5 minutes)

Display: Vocabulary words for students to add to their Vocabulary Canvas.

  • Computing Device
  • Computing System
  • Computing Network
  • Path
  • Bandwidth
Teaching Tip

Vocabulary Canvas: You may choose to add your own examples to the slides. The image below shows an example of a Vocabulary Canvas. Also, you can find definitions and graphics for the vocabulary words in the hidden slides at the end of the lesson slides if you'd like to use those with your students.

Do This: Play the music clip to cue the Give One, Get One activity and direct students to participate in a Give One, Get One.

Teaching Tip

Using music to cue transitions helps create routines in the classroom. When students hear cues, they know it is time to transition to a specific activity. Emphasize to students what the music clip means, and be consistent with the use of the music clip to cue the activity.

Click the blue play icon on the slide to play the music cue.

Give One, Get One encourages students to seek and share ideas and information. Students circulate the classroom and pair up with a partner when prompted by the teacher. Each student "gives" or shares one of their ideas as the other student "gets" or listens and writes it down. The teacher then prompts students to find new partners and repeat the process.

Discuss: How would you use these words to describe today’s activity?

Discussion Goal: Students should discuss in pairs how to describe today's activity using the new vocabulary from this unit. They should make the following connections between these words and this activity:

  • Each individual person was acting as a computing device
  • The strings were the paths between devices. If two people aren’t directly connected, then a path may require multiple strings to communicate
  • The entire system - devices and paths - make up a computer network
  • A computing network is a type of a computing system.

Remarks

These are the same components that make up our modern Internet! In fact, the challenges we worked with today are the same challenges that the founders of the Internet faced. In the following lessons, we will take a closer look at how the Internet was created.

Journal: Record the following words and definitions in your journal: Computing Device, Computing System, Computing Network, Path, Bandwidth.


Assessment: Check For Understanding

Check For Understanding Question(s) and solutions can be found in each lesson on Code Studio. These questions can be used for an exit ticket.

Question: Describe two different paths that a message could take from Person A to Person D:

Creative Commons License (CC BY-NC-SA 4.0).

This work is available under a Creative Commons License (CC BY-NC-SA 4.0).

If you are interested in licensing Code.org materials for commercial purposes contact us.