Sending Bits on the Internet

Slides:



Advertisements
Similar presentations
BBC MICRO:BIT Lesson 6 Networking. Digital devices can be networked together to exchange data. You are going to create a very simple network using two.
Advertisements

AP CSP: Sending Binary Messages
AP CSP: Pixelation – B&W/Color Images
AP CSP: Sending Numbers
Encryption with Keys and Passwords
AP CSP: Making Visualizations & Discovering a Data Story
Routers and Redundancy
AP CSP: Creating Functions & Top-Down Design
AP CSP: The Need for Addressing
AP CSP: Encoding and Sending Formatted Text
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Day 5- Sending Numbers Code.org- Unit 1, Lesson 6.
Sending Binary Messages
Vocabulary byte - The technical term for 8 bits of data.
Lesson 2-18 AP Computer Science Principles
Sending Binary Messages
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Lesson 1-10 AP Computer Science Principles
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
AP CSP: Sending Binary Messages with the Internet Simulator
HTTP and Abstraction on the Internet
ENCODING AND SENDING FORMATTED TEXT
HTTP AND ABSTRACTION ON THE INTERNET
Lesson 1-15 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
UNIT 2 – LESSON 3 Encoding B&W Images.
Lesson 2-3 AP Computer Science Principles
THE NEED FOR DNS DOMAIN NAME SYSTEM
AP CSP: Encode an Experience
Lesson 2-2 AP Computer Science Principles
HTTP and Abstraction on the Internet
Routers and Redundancy
THE NEED FOR ADDRESSING
Lesson 2-9 AP Computer Science Principles
Sending Binary Messages- Internet
Take the Survey.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
UNIT 2 – LESSON 4 Encoding Color Images.
Functions and Top-Down Design
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
UNIT 2 – LESSON 6 ENCODE AN EXPERIENCE.
UNIT 2 – LESSON 2 TEXT COMPRESSION.
Packets and Making a Reliable Internet
SENDING BINARY MESSAGES
Lesson 5-15 AP Computer Science Principles
UNIT 3 – LESSON 5 Creating Functions.
UNIT 1 – LESSON 6 SENDING NUMBERS.
U2L4 Encoding Color Images
Sending Bits in the Real World
CS Principles U2L3 Encoding B&W Images.
The Need for Programming Languages
Lesson 1-13 AP Computer Science Principles
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Looping and Random Numbers
AP CSP: Bytes, File Sizes, and Text Compression
The Need for Addressing
Lesson 4-5 AP Computer Science Principles
AP CSP: Making a reliable Internet & DNS
Sending Binary Messages- Internet
SENDING BINARY MESSAGES WITH THE INTERNET SIMULATOR
Day 5- Sending Numbers Code.org- Unit 1, Lesson 6.
Encryption with Keys and Passwords
Sending Binary Messages
Encoding and Sending Formatted Text
HTTP and Abstraction on the Internet / The Need for DNS
Encryption with Keys and Passwords
Rapid Research - Format Showdown
Day 5- Sending Numbers Code.org- Unit 1, Lesson 6.
Presentation transcript:

Sending Bits on the Internet Lesson 1-3 AP Computer Science Principles

Objectives Students will be able to: Explain how synchronization and coordination enable the transmission of binary messages. Develop a protocol for exchanging binary messages in two directions. Calculate the bit rate for a binary message exchange. Provide a definition of "bit" and relate it to the binary messages they have seen so far.

Previously on AP CSP You all made your own binary message devices. We learned that we could compose any number of messages by sending a sequence of states. In order to interpret the message we needed to know which signal meant A and which meant B and some kind of mapping between sequences of signals and a possible message.

What’s Next? What we were really doing was beginning to develop a communication protocol Today you’re going to develop a protocol to solve a problem.

Case Study: A binary message has been encoded as a single long colored line. State A was encoded by making the colored line red, and state B was encoded by making the colored line blue.

Case Study: Use the protocol to decode this message into a sequence of A’s and B’s: Red = A, Blue = B

Case Study: Your friend realizes they actually made a mistake in encoding the message from before and sends this updated version of the message to you. Decode this new version of the message. Red = A, Blue = B

Case Study: Does this new information change your solution to the first question? Original message: New message: Red = A, Blue = B

Vocabulary We need to get some terminology down so that we can speak about our problems and solutions more efficiently. Protocol - For our purposes today a “protocol” is simply a set of rules about sending, receiving and interpreting binary messages. Bit - We will call each element of a binary message a bit. “Bit” is short for binary digit. So for example if you have a binary message A B B A, we would say that is a 4-bit message.

Internet Simulator Today we will be using the Internet Simulator to explore some of the challenges of sending bits on the Internet.

Internet Simulator This tool simulates a single wire connecting two people who cannot otherwise see or speak to each other. The Internet Simulator helps to enforce “the binary rule” for sending messages

Explore the Tool Your job is to explore this tool with a partner - click all the buttons, type in the text areas what you can. You cannot break it so don’t worry. There is a bit of a mystery in what the tool does…and doesn’t do. Can you figure it out? You and your partner have 5 minutes to poke around and see what you can find.

Internet Simulator Video

Activity Guide… Pair up. Download the Activity Guide from the website. Follow the activity guide. Complete it and turn it in at the end of the lesson.

Wrap up… Go to code studio. Complete all steps through the end of Stage 3