ENCODING AND SENDING FORMATTED TEXT

Slides:



Advertisements
Similar presentations
XHTML Basics.
Advertisements

How Tags are used to form your Web Page
 Caesar used to encrypt his messages using a very simple algorithm, which could be easily decrypted if you know the key.  He would take each letter.
1 Lecture-2 CSIT-120 Spring 2001 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
1 Lecture-2 CS-120 Fall 2000 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
CP Multimedia Internet Communication1 CP Multimedia Computer Communication Lecture 1 - Communication.
Computer Arithmetic: Binary, Octal and Hexadecimal Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
Internet Concept and Terminology. The Internet The Internet is the largest computer system in the world. The Internet is often called the Net, the Information.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
Chapter 2 Computer Hardware
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Just Enough HTML How to Create Basic HTML Documents.
Lesson 2: Basic HTML Code Basic HTML Code. HTML is an acronym for Hypertext Markup Language. Internet browsers translate the HTML code into texts and.
Abigail morris.  Today I'm going to be explaining why the Internet relies on a number of protocols in order to function properly.  A protocol is simply.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
Web Design. How do web pages work? Webpages are written in a code called HTML. Programs like Internet Explorer read the code, and then show it as a web.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Session and Presentation Layers Honolulu Community College Cisco Academy Training Center Semester 1 Version
Word 2007® Business and Personal Communication How can Microsoft Word 2007 help you work with others?
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
DATA REPRESENTATION - TEXT
Day 6 - Encoding and Sending Formatted Text
Binary Representation in Text
Binary Representation in Text
AP CSP: Encoding and Sending Formatted Text
JavaScript/ App Lab Programming:
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
HTTP and Abstraction on the Internet
HTTP AND ABSTRACTION ON THE INTERNET
Binary Numbers and ASCII and EDCDIC
UNIT 2 – CHAPTER 1 – LESSON 1 DIGITAL INFORMATION.
Day 6 - Encoding and Sending Formatted Text
THE NEED FOR ADDRESSING
Learning the Basics – Lesson 1
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.
Microsoft® Office FrontPage® 2003 Training
XHTML Basics.
Creating a Home Page in HTML
Information Support and Services
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.
Lesson 9 Sharing Documents
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.
Text.
Representing Information as bit patterns
Data Encoding Characters.
Sending Bits on the Internet
XHTML Basics.
XHTML Basics.
SENDING BINARY MESSAGES WITH THE INTERNET SIMULATOR
Fundamentals of Data Representation
Presenting information as bit patterns
Encoding and Sending Formatted Text
HTTP and Abstraction on the Internet / The Need for DNS
Day 6 - Encoding and Sending Formatted Text
XHTML Basics.
Intro to html5.
XHTML Basics.
C Programming Language
ASCII and Unicode.
Presentation transcript:

ENCODING AND SENDING FORMATTED TEXT UNIT 1 – LESSON 7 ENCODING AND SENDING FORMATTED TEXT

YOU WILL SEE HOW CODING LANGUAGE WORKS TO ENCODE TEXT YOU WILL SEE HOW CODING LANGUAGE WORKS TO ENCODE TEXT. LAYERS UPON LAYERS OF ENCODING ALL TRACE BACK TO BINARY AND WORK TOGETHER TO ENCODE COMPLEX INFORMATION.

YOU WILL ALSO MAKE A CONNECTION TO THE INTERNET AND PROTOCOLS YOU WILL ALSO MAKE A CONNECTION TO THE INTERNET AND PROTOCOLS. INFORMATION TRAVELING ACROSS THE INTERNET WILL OFTEN NEED TO CONTAIN BOTH THE CONTENTS OF THE MESSAGE ITSELF, AND INFORMATION THAT HELPS TO FORMAT, ROUTE, OR INTERPRET THIS DATA.

One of the most powerful uses of the internet is sending text to people. Since the internet can only send bits around we need a way to encode text with bits... If it were up to you, how would you encode text in binary? Quickly, jot down an idea for encoding text.

 How will your protocols encode punctuation, capital letters, special characters?

A LOT OF YOU HAVE TAKEN WEB DESIGN, AND YOU USED THIS LANGUAGE: HyperText Markup Language, or HTML This is the language of the web, where the content and formatting of a web page are written. Look at the background of a web page for the code.

Protocol called: HTTP HyperText Transfer Protocol this is the foundation for communication on the web – it was designed to send and receive web page data over the internet.

ASCII makes it all happen ASCII makes it all happen. ASCII – American Standard Code for Information Interchange This is the universally recognized raw text format that any computer can recognize

Look on my website – 2 links HTML coding standards and ASCII language

ASCII encoding is the standard number-to-text encoding scheme used in computers and on the Internet. This protocol is 7 bits long and so can encode 128 different symbols, each corresponding to one of the binary numbers between 0 and 127. Originally the encoding was designed for older printers and so the codes associated with the numbers 0-31 were designated as "control codes" which instruct the printer to perform certain actions. 

ASCII Codes 32-126, however, contain many of the most commonly used symbols you use on the internet, including the lowercase and capital letters, the numbers 0-9, and most commonly-used punctuation marks. 

This printable character set is also used to represent all of the text formatting we use to add variety and emphasis to "plain-text" documents. The ability to represent formatting using only ASCII symbols is the result of cleverly designed protocols.

ASCII codes were originally 7 bits long and so there are 128 possible values. 0-31 are “control characters” that are largely defunct and go unused; they were formerly used to control various aspects of machines and printers.

127 is the symbol for delete.

Over time, 8 bits became a standard “chunk-size” for encoding information. ASCII made the transition to this 8-bit encoding by just adding an extra 0 to the front of the old 7-bit codes.

Using the ASCII table, translate your first name from letters to numbers using the ASCII table. Write your name as: *Name!" (capital first letter, exclamation point at the end) Take a minute to do this

Having a standardized protocol like ASCII to encode text enables us to send and receive textual information. This is very useful, but there are still instances when we will want even greater expressive power in our digital communications.

ACTIVITY GUIDE: SENDING FORMATTED TEXT What if you wanted to send formatted text that included things like the ability to underline, bold, or italicize words....specify a different font size, or color?

Things like this:          

Today your challenge is to: Invent a protocol for sending formatted text Use the Internet Simulator to test out your protocol. You will also notice that the Internet Simulator has been updated so that you can now type ASCII text characters to send.

Test your protocols by having one member of the team make a secret formatted message to send to the other members of the team using the Internet Simulator. The receiver of the message can write it down. Compare with the original message – how close was it?!

If your protocols were tight, then your messages should match.

What you likely did in the activity was invent a text-based code What you likely did in the activity was invent a text-based code. Whether you are formatting languages like HTML, or Markdown or programming languages like Java, C++, or Python, all of these languages have one thing in common: they use ASCII text to encode other text or information.

Congrats. You just invented a coding language Congrats! You just invented a coding language. At this point in the course a code and a protocol are very similar. Even though it's probably something no one else will use, the process you just went through gives a taste of inventing any kind of formal language or protocol that ultimately needs to be interpreted and processed by a computer.

Look at Websites and HTML again – you can see the code behind the website in Chrome if you choose: the three vertical dots More Tools Developer tools and you will see what goes into making a web page

LESSON TAKE AWAY: sequences of binary states can be used to represent numbers numbers can be assigned to letters of the alphabet to encode text with plain text you can make a code you can use to apply other meanings (or formats) to text you can invent a "formatting language" (like HTML) to represent different ways you want text messages to appear.

Fill out your rubric Do your assessment and finish out the lesson in Code Studio Test tomorrow – if you are a Groves student, do your test during 3rd hour in the Media Center at Groves tomorrow. You can use your notes.

ASSESSMENT QUESTION/ANSWER: The word “Apple” translated into its ASCII number equivalent is: 097 112 112 108 101 097 108 108 111 119 065 112 112 108 101 065 110 110 105 101 065 108 108 111 119