CS Principles U 1 L 7 Sending Text

  • Slides: 10
Download presentation
CS Principles U 1 L 7: Sending Text

CS Principles U 1 L 7: Sending Text

U 1 L 7: Sending Text U 1 L 7 Objectives SWBAT: Determine the

U 1 L 7: Sending Text U 1 L 7 Objectives SWBAT: Determine the number of bits per symbol needed for a representation system based on the total number of symbols it is necessary to represent. Use the decimal number system when designing ways to represent other information in binary. Explain how bits are grouped to represent abstractions like numbers and text.

U 1 L 7 Content • Representing more numbers means you need more bits

U 1 L 7 Content • Representing more numbers means you need more bits for each number and representing more symbols (in this case characters), similarly necessitates using more bits. • A well-defined shared protocols is also necessary for communicating successfully with bits. The only reason a pattern of bits represents the letter "A" for example, is that everyone agreed to that system. • Representation systems are somewhat arbitrarily created to solve a shared problem, and they work not because there was "one right answer" but because many people agreed to use them. • While we know everything on a computer is represented with patterns of binary electric symbols, we create abstractions (in this case decimal numbers) to allow us more easily reason about what those patterns mean.

U 1 L 7 Vocabulary Abstraction - a simplified representation of something more complex.

U 1 L 7 Vocabulary Abstraction - a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level. ASCII - American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand Protocol - A set of rules governing the exchange or transmission of data between devices.

U 1 L 7 Prompt Maryland, New York, Virginia … Prompt: Imagine we wanted

U 1 L 7 Prompt Maryland, New York, Virginia … Prompt: Imagine we wanted to create a system that would allow you to represent each of the 50 states. What's the smallest number of bits you would need to ensure you'd have unique patterns for each state? Write down how you would represent these 3 different states in your system. Then add two more of your own.

Code Studio (Code. org) Go to Code Studio, U 1 L 7 Stage 2

Code Studio (Code. org) Go to Code Studio, U 1 L 7 Stage 2 Group: This activity should be completed in pairs Internet Simulator: Log into the Internet Simulator and pair with your partner. Once you’re logged in briefly use it to get familiar with the current set up. "hey" "ttyl" "morning" When we communicate on the Internet we're not usually sending numbers back and forth, we're sending text! The version of the Internet Simulator you're using only lets you send numbers, but that doesn't mean we can't figure out our own way to send text. We'll be doing a series of challenges. Before each one I will give you a chance to talk to your partner. Then I'll give one member of each group a short text message like the ones on the board. Your job will be to create an encoding system that will allow you to send that message. As always this will need to be done silently, with no communication except through the Internet Simulator.

U 1 L 7 Activity Challenge 1 - Spaces and Capitals: One member in

U 1 L 7 Activity Challenge 1 - Spaces and Capitals: One member in your group has been given a message. Silently start communicating using only the simulator. Once you’re done check whether you’ve successfully communicated it.

U 1 L 7 Activity Challenge 2 - Punctuation: One member in your group

U 1 L 7 Activity Challenge 2 - Punctuation: One member in your group has been given a message. Silently start communicating using only the simulator. Once you’re done check whether you’ve successfully communicated it.

U 1 L 7 Activity Challenge 3 - Numbers: One member in your group

U 1 L 7 Activity Challenge 3 - Numbers: One member in your group has been given a message. Silently start communicating using only the simulator. Once you’re done check whether you’ve successfully communicated it.

U 1 L 7 Activity Challenge 4 - Review: One member in your group

U 1 L 7 Activity Challenge 4 - Review: One member in your group has been given a message. Silently start communicating using only the simulator. Once you’re done check whether you’ve successfully communicated it. Once you’ve completed the activity go to code studio and complete the Check Your Understanding problems (U 1 L 7 Stage 3, 4, 5, 6, 7)