Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

Review of HTML Ch. 1.
A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Binary Representation
CS 151 Digital Systems Design Lecture 4 Number Codes and Registers.
Processing Data.
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
Data Representation in Computers
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Lesson 2 0x Coding ASCII Code.
Binary Numbers.
Bits and Bytes.
COMPUTER FUNDAMENTALS David Samuel Bhatti
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.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Lecture 6 Topics Character codes Error Detection and Correction
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Chapter 2 Computer Hardware
Binary Arithmetic & Data representation
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CS151 Introduction to Digital Design
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
MECH1500 Chapter 3.
M204 - Data Representation
AGBell – EECT by Andrew G. Bell (260) Lecture 2.
ASCII AND EBCDIC CODES By : madam aisha.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
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.
Some basic concepts underlying computer archi­tecture
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Chapter 8 & 11: Representing Information Digitally
Number Systems and Codes
Binary Numbers and ASCII and EDCDIC
INFS 211: Introduction to Information Technology
Unit 18: Computational Thinking
3.1 Denary, Binary and Hexadecimal Number Systems
Bits & Bytes How Computers Represent Data
Phnom Penh International University (PPIU)
Data Encoding Characters.
2 Number Systems and Codes Edited by Jerry Bernardini.
Coding Schemes and Number Systems
Ch2: Data Representation
COMS 161 Introduction to Computing
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
How Computers Store Data
Learning Intention I will learn how computers store text.
C Programming Language
Chapter 3 - Binary Numbering System
Presentation transcript:

Binary Numbers and ASCII and EDCDIC Mrs. Cueni

Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength and quality  Computers are digital – recognize two states ones and zeros, on of off  0 and 1 is called a bit Binary Digit  Smallest unit of information

Data representation  8 bits grouped together called a byte  Represent 256 individual characters  Numbers, uppercase, lowercase letters, punctuation marks  Based 2 numbering system

Coding Scheme  Two popular coding schemes ASCII – American Standard Code for Information Interchange ASCII – American Standard Code for Information Interchange EBCDIC – Extended Binary Coded Decimal Interchange Code EBCDIC – Extended Binary Coded Decimal Interchange Code Sufficient for English and Western Europe languages Sufficient for English and Western Europe languages Not large enough for Asian and other languages Not large enough for Asian and other languages

Coding Sheet ASCII numbers  is the number zero  The first four bits 0011 – identify as a number  The last four digits 0000 determines the number

Binary numbering system  Base 10  = 7  Base = = ,680,345

What are these numbers? –

What are these numbers? –

What are these numbers? –

What are these numbers? –

What are these numbers? –

What are these numbers? 

Coding Sheet ASCII letters  is the letter A  The first two bits 01 – identify as a letter  The last six digits determines the letter as the first letter in the alphabet A

How did you do that?  is the letter Z  The first two bits 01 – identify as a letter  The last digits = =26  26 th letter Z =26

Letter order  1 st – A  2 nd – B  3 rd – C  4 th – D  5 th – E  6 th – F  7 th - G  8 th – H  9 th - I  10 th – J  11 th – K  12 th – L  13 th - M  14 th – N  15 th - O  16 th - P  17 th – Q  18 th – R  19 th – S  20 th – T  21 st – U  22 nd - V  23 rd – W  24 th – X  25 th – Y  26 th  26 th - Z

What are these letters?    

Coding Schemes  Make it possible to interact with computers  Does this very quickly without you realizing it  Type a character, the computer converts it and processes the data to something it understands  The software converts it back to something we understand

Unicode  Many languages use symbols called ideograms to represent multiple words or ideas  Unicode is a 16-bit code that has the capacity of representing more than 65,000 characters and symbols

Parity bit  Used by computers for error checking  Extremely rare  Computers are either odd- or even- parity  Total number of bits on must be even on even-parity computers or odd on odd- parity bit computers  9 bit pattern

Transferring data  When computers transfer data from one location to another it checks the sending data and the receiving data to make sure the parity bit is the same  An error is displayed if the parity doesn’t match

Hexadecimal  Used for communicating with programmers when a problem exists  0’s and 1’s can be difficult to read  Pass out Hexadecimal chart

Hexadecimal  Uses 16 symbols to represent values  Hex means six, deci means ten  Conversion between binary and hexadecimal is very efficient  The letter M is in binary  In Hexadecimal 4D  Divide binary number into two sections 0100 and 1101  Convert each section to the hex equivalent 0100 is a 4 and 1101 is letter D  A=10, B=11, C=12, D=13, E=14, F=16

Data Storage video  Progressive Insurance video on data storage

Binary Conversion Sheet  Complete in class the binary conversion sheet  Worth 26 points  Sources