Skip to content
Computer Science · Grade 12

Active learning ideas

Network Protocols: TCP and UDP

Active learning works for this topic because students need to visualize abstract concepts like data transmission reliability and virtual server allocation. Hands-on simulations and collaborative investigations help students connect the technical details of TCP and UDP to real-world cloud applications they use every day.

Ontario Curriculum ExpectationsCS.N.3
20–40 minPairs → Whole Class3 activities

Activity 01

Simulation Game30 min · Whole Class

Simulation Game: The Virtual Server Lab

Students act as 'Virtual Machines' (VMs) and one student acts as the 'Hypervisor.' The Hypervisor must allocate 'RAM' and 'CPU' (represented by tokens) to the VMs as their workloads change, demonstrating resource sharing.

Why is the handshake process essential for reliable data transmission in TCP?

Facilitation TipDuring the Virtual Server Lab, circulate and ask guiding questions like 'How does virtualization allow one server to run multiple operating systems?' to keep students engaged and focused on the technical details.

What to look forStudents will receive a scenario (e.g., downloading a file, watching a live sports broadcast). They must identify whether TCP or UDP is more appropriate and provide one sentence justifying their choice based on the protocol's characteristics.

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 02

Inquiry Circle40 min · Small Groups

Inquiry Circle: Cloud Service Models

Groups are given different business scenarios (e.g., a startup, a large bank, a freelance designer). They must research and present whether IaaS, PaaS, or SaaS is the best fit for their needs.

Compare the reliability and speed of TCP versus UDP.

Facilitation TipFor the Cloud Service Models investigation, assign specific roles within groups to ensure every student contributes, such as researcher, note-taker, or presenter.

What to look forPresent students with a diagram illustrating the TCP three-way handshake. Ask them to label each step (SYN, SYN-ACK, ACK) and briefly describe the purpose of the handshake in ensuring a reliable connection.

AnalyzeEvaluateCreateSelf-ManagementSelf-Awareness
Generate Complete Lesson

Activity 03

Think-Pair-Share20 min · Pairs

Think-Pair-Share: Data Sovereignty

Pairs discuss the implications of Canadian citizen data being stored on servers in the United States. They consider privacy laws and what happens if the 'host' country changes its rules.

Justify the use of UDP for real-time applications like video streaming.

Facilitation TipIn the Think-Pair-Share on data sovereignty, provide a short reading or a map of data center locations to ground the discussion in concrete evidence.

What to look forFacilitate a class discussion comparing TCP and UDP. Ask students: 'When would the overhead of TCP be a necessary cost, and when would the speed of UDP be more critical for an application?'

UnderstandApplyAnalyzeSelf-AwarenessRelationship Skills
Generate Complete Lesson

A few notes on teaching this unit

Experienced teachers approach this topic by starting with familiar examples, like streaming a video or sending an email, to introduce the need for TCP and UDP. Avoid overwhelming students with too much jargon upfront. Instead, focus on the core trade-offs between reliability and speed, using analogies like registered mail versus a postcard. Research suggests students grasp these concepts better when they build and test simple network scenarios themselves, rather than passively receiving information.

Successful learning looks like students confidently explaining the differences between TCP and UDP, identifying when each protocol is appropriate for different applications, and recognizing the physical infrastructure behind cloud services. They should also discuss the trade-offs between efficiency, reliability, and safety in cloud computing.


Watch Out for These Misconceptions

  • During the Virtual Server Lab, watch for students assuming that 'the cloud' is a single physical location.

    After the Virtual Server Lab, use a world map to plot the locations of major data centers provided in the activity. Have students mark these locations and discuss how their distribution supports the idea of the cloud as a global network rather than a single place.

  • During the Collaborative Investigation, watch for students believing that cloud storage is infallible and never requires backups.

    During the Collaborative Investigation, have groups research and present on backup strategies used by cloud providers, such as redundancy and geographic distribution. Use their findings to correct the misconception that cloud storage is 100% safe.


Methods used in this brief