Reasons to  Binary With Mrs

Slides:



Advertisements
Similar presentations
A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
Advertisements

Binary Representation Introduction to Computer Science and Programming I Chris Schmidt.
Data Representation Computer Organization &
CS 151 Digital Systems Design Lecture 3 More Number Systems.
Data Representation COE 205
Representations Example: Numbers –145 –CVL – –91 –
Agenda Shortcuts converting among numbering systems –Binary to Hex / Hex to Binary –Binary to Octal / Octal to Binary Signed and unsigned binary numbers.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
VIT UNIVERSITY1 ECE 103 DIGITAL LOGIC DESIGN CHAPTER I NUMBER SYSTEMS AND CODES Reference: M. Morris Mano & Michael D. Ciletti, "Digital Design", Fourth.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
Number System and Codes
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
Review Binary Basic Conversion Binary Decimal
1.6 Signed Binary Numbers.
© GCSE Computing Candidates should be able to:  convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa  add two 8-bit.
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
1 Week 3: Data Representation: Negative Numbers READING: Chapter 3.
Lecture for Week Spring.  Numbers can be represented in many ways. We are familiar with the decimal system since it is most widely used in everyday.
Computers Organization & Assembly Language
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
2-1 Chapter 2 - Data Representation Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Chapter Contents.
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
1 COMS 161 Introduction to Computing Title: Numeric Processing Date: October 29, 2004 Lecture Number: 26.
Information Representation. Digital Hardware Systems Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously.
Number systems & Binary codes MODULE 1 Digital Logic Design Ch1-2 Outline of Chapter 1  1.1 Digital Systems  1.2 Binary Numbers  1.3 Number-base Conversions.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
ECE 2110: Introduction to Digital Systems Signed Addition/Subtraction.
Operations on Bits Arithmetic Operations Logic Operations
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
1 Representation of Data within the Computer Oct., 1999(Revised 2001 Oct)
Number Systems Revision of conversations What is a register Addition Complementation.
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Ch 2. Number Systems and Codes 2.2 Octal and Hexadecimal Numbers 10 ~ 15 : Alphabet.
Computer Math CPS120 Introduction to Computer Science Lecture 4.
Data Representation in Computer Systems. 2 Signed Integer Representation The conversions we have so far presented have involved only positive numbers.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Two’s Complement. A system used to represent a negative number in binary A system used to represent a negative number in binary Positive numbers start.
Addition and Substraction
Introduction to Microprocessors Chapter 2. Decimal or Base 10 Numbers  Have ten different digits (0-9)  It is a weighted number system. Each position.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Extending Binary In today’s lesson we will look at: representing different types of numbers possible errors binary coded decimal (BCD) comparing BCD with.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
MECH1500 Chapter 3.
DIGITAL SYSTEMS Number systems & Arithmetic Rudolf Tracht and A.J. Han Vinck.
IT1004: Data Representation and Organization Negative number representation.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
In decimal we are quite familiar with placing a “-” sign in front of a number to denote that it is negative The same is true for binary numbers a computer.
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Introduction to Number Representation A451 GCSE Computing.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
ECE 3110: Introduction to Digital Systems Signed Number Conversions and operations.
{ Binary “There are 10 types of people in the world: Those who understand binary, and those who don't.”
Computer Math CPS120 Introduction to Computer Science Lecture 7.
Two’s Complement The language of machines, part II.
1 Integer Representations V1.0 (22/10/2005). 2 Integer Representations  Unsigned integer  Signed integer  Sign and magnitude  Complements  One’s.
Binary Addition The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
OCR Computing OGAT Data Types. What OCR need you to know… Data Types a) Primitive data types, integer, real/floating point, character,
Lecturer: Santokh Singh
OCR AS Level F451: Data transmission
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
Addition and Substraction
Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
Hexadecimal.
Computer Architecture CST 250
Two’s Complement & Binary Arithmetic
Presentation transcript:

Reasons to  Binary With Mrs

Reasons to  Binary Unsigned Binary Integers Conversion from Denary (base 10) to Binary (Base 2) is reasonably simple:

Reasons to  Binary Hexadecimal Conversion from Denary (base 10) to Hexadecimal (Base 16) can use binary as a conversion tool: A 11B 12C 13D 14E 15F Half a Byte is called a Nibble

Reasons to  Binary Two’s Complement Is used to represent both positive & negative numbers Positive representation of 42 (glass half full) Negative representation of 42 (glass half empty)

Reasons to  Binary Binary Addition It is important to remember that computers perform complex calculations that are based on simple addition (42 ) Rules (79 ) (121)

Reasons to  Binary Binary Subtraction It is important to remember that computers perform complex calculations that are based on simple addition (79 ) Rules (42 ) (121) (-42)

Reasons to  Binary Error Checking - Parity When data is transmitted, it is important to ensure that it arrived intact! Which binary number has been corrupted? P The parity bit is added to the number to ensure that the 1s are either all odd or all even. It is not included in the value.

Reasons to  Binary Error Checking – Gray Code When data is transmitted, it is important to ensure that it arrived intact! Gray code is a more effective version of error checking Each value is added to the next most significant digit (to the left) to calculate the ‘gray code’

Reasons to  Binary Error Checking – Hashing When data is transmitted, it is important to ensure that it arrived intact! Rather than just using 1 parity bit, hashing makes use of a number of parity bits to identify where the error has occurred.