- [05m] 🏆 Objectives
- [20m] 👋 Welcome to Class
- [30m] 📖 Overview: Network Protocols
- [10m] 🌴 BREAK
- [05m] 💻 Prep: Simulator Activities on Code.org
- [30m] 💻 Internet Simulator: Broadcast
- [35m] 💻 Internet Simulator: Routers
- [35m] 💻 Internet Simulator: Packets
- 📚 Resources & Credits
- Present an overview of the course and syllabus.
- Define the term
protocol
and describe when and where they are used. - List common protocols used by developers.
- Create a diagram of data flowing through a protocol.
Instructor will walk through the syllabus and answer questions about the course.
Students, remember to join the course Slack channel, #bew2-4-dapps
!
Protocol: Standard set of rules that allow devices to communicate with one other.
Protocols are a fundamental aspect of digital communication, and are the digital equivalent to spoken language! If two people share the same language, they can communicate effectively; similarly, if two hardware devices support the same protocol, they can communicate with each other --- regardless of the manufacturer or type of device.
The rules of each protocol must describe...
- What type of data can be transmitted.
- What commands are used to send and receive the data.
- How transfers of the data are verified.
📲IMPORTANT: In Objective-C and Swift, a protocol
is a syntactic structure that defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. The above definition is most common.
Task | Protocol |
---|---|
Sending an email | SMTP |
Visiting a website | HTTP |
Establish communication between devices at a hardware level.
The hardware on each device must support the same link layer protocol to transmit data to one another.
Initiate data transfers and route them over the internet.
Define how packets are sent, received, and confirmed.
Contain commands for specific applications.
- Example 1: Browser uses HTTPS to securely download the contents of a webpage from a web server.
- Example 2: Email client uses SMTP to send email messages through a mail server.
- Students: Join Code.org Section.
- Make sure you complete the activities! What you learn through your experiments with the Internet Simulator will be utilized throughout this course. Make sure you complete the reflection questions when asked.
- This activity earns you participation credit in the course. The instructor will check your progress on the Code.org dashboard and randomly visit your breakout rooms to verify your participation.
- Questions from each module's check for understanding may appear on Quiz 1: Protocols.
In groups of 5 to 6, complete the The Need for Addressing module.
When you reach the activity, use this Activity Guide to get started.
Make sure you also grab a copy of the Game Board! You'll need it to complete the exercise.
In groups of 3 to 4, complete the Routers and Redundancy module.
When you reach the activity, use this Activity Guide to get started.
In groups of 2 to 4, complete the Packets and Making a Reliable Internet module.
When you reach the activity, use this Activity Guide to get started.