Encoding and Sending Formatted Text

Slides:



Advertisements
Similar presentations
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Advertisements

Binary Numbers.
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Binary Arithmetic & Data representation
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
2. 2 Presentation layer 2. 3 The presentation layer is responsible for translation, compression, and encryption.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
Section 3.1: Number Representation Practice HW (not to hand in) From Barr Text p. 185 # 1-5.
THE BINARY SYSTEM.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Understanding Computers
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
1.4 Representation of data in computer systems Character.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
IP Addressing and Subnetting
Day 6 - Encoding and Sending Formatted Text
AP CSP: Sending Numbers
Binary Representation in Text
Binary Representation in Text
Compsci 210 Tutorial Two CompSci Semester Two 2016.
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
Understanding binary Understanding Computers.
AP CSP: Encoding and Sending Formatted Text
Unit 2.6 Data Representation Lesson 2 ‒ Characters
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.
Number Systems and Codes
Lesson 1-10 AP Computer Science Principles
Lesson Objectives Aims You should be able to:
From the ASCII table… Symbol Decimal Binary A B 66
ENCODING AND SENDING FORMATTED TEXT
Binary 1 Basic conversions.
AP CSP: Encode an Experience
Day 6 - Encoding and Sending Formatted Text
BINARY CODE.
Data Transfer ASCII FILES.
Chapter 3 Data Storage.
How does a computer represent everything using just zeros and ones?
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
RFID - EN Encoding information Encoding information J.-D. Chatelain.
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.
Representing Information as bit patterns
Data Encoding Characters.
Data Representation ASCII.
Representing Characters
Representation of Data in Computer Systems
How does a computer represent everything using just zeros and ones?
Computer Data Types Basics of Computing.
Student: Ying Hong Course: Database Security Instructor: Dr. Yang
Digital Representation
Binary Data representation
Presenting information as bit patterns
COMS 161 Introduction to Computing
Lecture 9: Radix-64 Tutorial
Day 6 - Encoding and Sending Formatted Text
Homework Reading Programming Assignments Finish K&R Chapter 1
Learning Intention I will learn how computers store text.
Chapter 3 - Binary Numbering System
Digital Representation of Data
Presentation transcript:

Encoding and Sending Formatted Text Binary  Text

The Internet is powerful We send text over internet – how? We know that we only send bits over the internet… We need a way to encode text with bits If it were up to you, how would you encode text in binary? (Just an outline to the structure – not detailed)

Review We explored how to encode numbers in binary, and we also developed protocols for sending a list of numbers. Today we’re going to take that method one step further and look at how we can encode text with a binary representation. if we can figure out a way to represent information as a set of numbers, then we can encode it in bits and store that information in a computer or send it over the Internet. Your task was to attempt to come up with a protocol for translating decimal into text – we did not use the ASCII key, but rather you and your partner had to come up with you own method. The Code.org internet simulator translated binary to decimal to text (ASCII) for us, but how would we send messages with bold, italics, color, underline, etc.?

Text ASCII (“Ask-Key”) American Standard Code for Information Interchange Originally 7 bits long – so only 128 possible values 0-31 are control characters (defunct) 32 – 126 are printable characters (0-9, alphabet, punct.) 127 – delete Standard 8 bit When I mention “7 bits long” or any other number of bits, the reason we need to know this is because the number of bits determines how large a number we can express in decimal. Think of it this way: for every bit, we can roughly double the amount of numbers we can express in decimal. One bit (0 or 1) – we can express only two numbers in decimal (0 or 1) Two bits (00 – 10) we can express four numbers in decimal (0 - 3) Three bits (000 – 111) we can express eight numbers in decimal (0 – 7) Four bits (0000 – 1111) we can express sixteen numbers in decimal (0 – 15) * Remember to count zero as one of the numbers we can express… so 0-3 is actually 4 numbers. Aside from why we convert binary to decimal for representing text using ASCII – we (we will study this later but… the amount of bits is important when determining IP addresses [ again, just foreshadowing. We haven’t learned this yet])