Binary and other number bases. Base Ten This is what we are accustomed to. Digits go from 0 – 9 Headings are represented by powers of ten ThousandsHundredsTensOnes=

Slides:



Advertisements
Similar presentations
Abdullah Said Alkalbani University of Buraimi
Advertisements

Date of Birth Design Problem
Looking Inside the Black Box
1 X-10 Beyond the Basics EH-Expo, S20, Cell #A Good Afternoon!!! Good Afternoon!!! Welcome to the class. EH-Expo Way X-10 & Intro to Extended Code!
CSE 370 Sample Final Exam Questions. 1) Logic Minimization CD AB F = Σm(0,6,7,8,9,11,15) + d(1,13)
- 1 - Using an SMT Solver and Craig Interpolation to Detect and Remove Redundant Linear Constraints in Representations of Non-Convex Polyhedra Christoph.
Binary Negative Integers.
Fill in missing numbers or operations
Processador 8 bits de dados e 16 bits de endereço ROM RAM I/O master slave constant mem : mem_type := ( -- load increment LDCi, 1, -- store it at 0x4000.
Principles & Applications
Principles & Applications Seven-Segment Displays
Fast Algorithms for Finding Nearest Common Ancestors Dov Harel and Robert Endre Tarjan Fast Algorithms for Finding Nearest Common Ancestors SIAM J. COMPUT.
Binary Numbers.
8 October 2013Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
15 October 2013Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
1 Floating Point Representation and Arithmetic (see Patterson Chapter 4)
A Simple ALU Binary Logic.
B261 Systems Architecture
Multiplikation H. Malz. Multiplikation H. Malz Operanden laden.
Grade D Number - Decimals – x x x x x – (3.6 1x 5) 9.
CS 105 Tour of the Black Holes of Computing
Monika Gope Lecturer IICT, KUET
1 Interconnect and Packaging Lecture 3: Skin Effect Chung-Kuan Cheng UC San Diego.
Logic Gates. Transistors as Switches ¡V BB voltage controls whether the transistor conducts in a common base configuration. ¡Logic circuits can be built.
Binary Values Chapter 2. Why Binary? Electrical devices are most reliable when they are built with 2 states that are hard to confuse: gate open / gate.
Number Systems (1)  Positional Notation N = (a n-1 a n-2... a 1 a 0. a -1 a a -m ) r (1.1) where. = radix point r = radix or base n = number of.
Arithmetic circuits  Binary addition  Binary Subtraction  Unsigned binary numbers  Sign-magnitude numbers  2 ’ S Complement representation  2 ’
Rekenen en rekenschakelingen Ben Bruidegom AMSTEL Instituut FNWI UvA.
B AB CD C A D m0m1m3m2 m4 m5m7m6 m12 m8m9m11 m10 m13 m15m14 Input combo mintermExpressio n 0000m0A’B’C’D’ 0001m1A’B’C’D 0010m2A’B’CD’
Number Systems  binary, octal, and hexadecimal numbers  why used  conversions, including to/from decimal  negative binary numbers  floating point.
Chapter 13 Numerical Issues
Lecture no 6. Two's Complement Given a negative number (N), represented using the Two's Complement representation (N*), the magnitude of the number (P)
Binary Number Systems.
Number Systems Digital Logic By: Safwan Mawlood
Nat 4/5 Computing Science Lesson 1: Binary
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
Digital Logic & Design Lecture No. 3. Number System Conversion Conversion between binary and octal can be carried out by inspection.  Each octal digit.
ELECTRONICS TECHNOLOGY Digital Devices I Karnaugh Maps
20 September How Computers Have Affected Society.
Data Storage and manipulation. Data Storage Computers store and manipulate data in the form of electronic pulses (high and Low voltages). This digitised.
and M-ary Quadrature Amplitude Modulation (M-QAM)
1/15/2015 Slide # 1 Binary, Octal and Hex Numbers Copyright Thaddeus Konar Introduction to Binary, Octal and Hexadecimal Numbers Thaddeus Konar.
Number Systems Decimal Binary Denary Octal Hexadecimal Click the mouse or Press the space bar to Continue.
GCSE Computing Theory © gcsecomputing.net 1 GCSE Computing 2.14 Data Representation Binary Arithmetic.
Internet Engineering Czesław Smutnicki Discrete Mathematics – Combinatorics.
A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
Decimal Addition What is going on? (carry) (subtract the base)
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Number Systems.
Number Systems Ron Christensen CIS 121.
Number systems, Operations, and Codes
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Programming Logic Controllers Number Systems and Codes - Chapter 3.
1 Computer Science LESSON 1 on Number Bases. 2 Objective In this lesson you’ll learn about different Number Bases, specifically about those used by the.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
Computer Science LESSON 2 ON Number Bases.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Decimal Numbers.
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
Binary Quiz UIN: ____________________
Chapter 4 Number Systems.
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Presentation transcript:

Binary and other number bases

Base Ten This is what we are accustomed to. Digits go from 0 – 9 Headings are represented by powers of ten ThousandsHundredsTensOnes= ,079

Other number bases Bases two- Binary Base five- Quinary Base eight- Octal Base sixteen - Hexadecimal Bases are named for their “headings.”

Base Two Uses only 1’s and 0’s Headings are in powers of two Headings Binary number

Base Two – converting to decimal Headings Binary number = = 76 Question: Convert to a decimal (base ten) number Answer:

Base Eight Uses digits from 1 to 7 Headings are in powers of eights Headings Binary number

Base Eight – converting to decimal Headings Binary number = = 94 Question: Convert to a decimal (base ten) number Answer:

Base Sixteen Uses digits from 1 to 9, and letters from A to F (10 to 15) Headings are in powers of 16’s 161 2B Headings Binary number

Base Eight – converting to decimal 161 2B Headings Binary number = = 43 Question: Convert 2B 16 to a decimal (base ten) number Answer:

Review: Binary to Decimal WEUs WEUs New: Converting a decimal to binary 2ZQM 2ZQM

Binary addition Basic rules = and carry 1 1 and carry 1

Binary addition example =11101 Carry’s Answer

Binary addition video w_E4 w_E4

Other binary BCD – Binary Coded Decimal Every digit of a number is represented using its 4-bit binary equivalent The number is not “converted,” instead each digit is given a “code”

0=0000 1=0001 2=0010 3=0011 4=0100 5=0101 6=0110 7=0111 8=1000 9=1001 A negative sign is represented by 1011

BCD exampl Convert 473 to binary coded decimal Answer: = We can separate the answer by spaces

BCD example 2 Convert -93 to SIGNED BCD Answer: =

Try this! What number does BCD represent? Answer: = Answer: 591