Binary Boot Camp. 101101 2 = ________ decimal ??? 1 2 5 + 0 2 4 + 1 2 3 + 1 2 2 + 0 2 1 + 1 2 0 = 32 + 0 + 8 + 4 + 0 + 1 = 45.

Slides:



Advertisements
Similar presentations
How to Convert Decimal Numbers to Binary EXAMPLES.
Advertisements

Intro to CS – Honors I Representing Numbers GEORGIOS PORTOKALIDIS
ICS312 Set 2 Representation of Numbers and Characters.
Representing Numbers: Integers
COE 202: Digital Logic Design Signed Numbers
©Brooks/Cole, 2003 Chapter 3 Number Representation.
1 Lecture 8: Binary Multiplication & Division Today’s topics:  Addition/Subtraction  Multiplication  Division Reminder: get started early on assignment.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Number Systems Computer Science 210 Computer Organization.
NEGATIVE BINARY NUMBER – Digital Circuit 1 Choopan Rattanapoka.
Chapter 16 Binary and Hexadecimal Numbers. §16.2 thru 16.3 – Addition and Subtraction of Binary Numbers Binary = Base 2 Addition and subtraction are similar.
Computer Organization & Programming Chapter2 Number Representation and Logic Operations.
Fixed point binary numbers. Objectives  Draw a distinction between integers and numbers with a fractional part in a computer context.  Describe how.
Click to edit Master title style Click to edit Master text styles –Second level Third level –Fourth level »Fifth level 1 Today’s Topics How information.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
ICS312 Set 1 Representation of Numbers and Characters.
Number Representation. 10/12/2015CDA31002 Conversion between Representations Now we can represent a quantity in different number representations How can.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
Data Representation Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Lecture 4 Last Lecture –Positional Numbering Systems –Converting Between Bases Today’s Topics –Signed Integer Representation Signed magnitude One’s complement.
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
Computer Arithmetic and the Arithmetic Unit Lesson 2 - Ioan Despi.
CPU Internal memory I/O interface circuit System bus
Cosc 2150: Computer Organization Chapter 2 Part 1 Integers addition and subtraction.
Number Representation
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
Computer Math CPS120 Introduction to Computer Science Lecture 4.
Data Representation Bits, Bytes, Binary, Hexadecimal.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
 Lecture 2 Processor Organization  Control needs to have the  Ability to fetch instructions from memory  Logic and means to control instruction sequencing.
Chapter 2 Number Systems Consists of a set of symbols called digits and a set of relations such as +, -, x, /.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Division. Just as multiplication can be expressed as a series of additions, division can be seen as a series of subtractions. 21 ÷ 7 asks how many times.
Number Representation Lecture Topics How are numeric data items actually stored in computer memory? How much space (memory locations) is.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
Chapter 1 Representing Data in a Computer. 1.1 Binary and Hexadecimal Numbers.
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr.
Software Design and Development Storing Data Computing Science.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Binary Addition The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
Cosc 2150: Computer Organization
Binary & Hex Review.
Lecturer: Santokh Singh
Digital Logic & Design Dr. Waseem Ikram Lecture 02.
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Convert Decimal to Binary
Number Systems and Binary Arithmetic
Chapter 11 © 2011, The McGraw-Hill Companies, Inc.
Digital Logic & Design Lecture 02.
Digital Electronics and Microprocessors
CS 101 – Sept. 4 Number representation Integer Unsigned √ Signed √
Number Representation
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Binary & Hex Review.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Logical and Arithmetic Shifts.
OBJECTIVES After reading this chapter, the reader should be able to :
Networks & I/O Devices.
Two’s Complement & Binary Arithmetic
Presentation transcript:

Binary Boot Camp

= ________ decimal ??? = = 45

AD5 16 = ________ decimal ??? = = = 2773

Convert from Decimal value to non-Decimal value Divide the decimal number by the non-Decimal Base 1.Record the integer remainder 2.Divide the quotient by the Base Repeat steps one and two until the quotient is less than the Base Record the last quotient Read the value in reverse from the last quotient to the first remainder.

Quot.Rem 47/2=231 23/2=111 11/2=51 5/2=21 2/2= = base 10 = ______________ binary ?????

Hex ValueDecimalBinary A B C D E F151111

The Computer Word The word size is the computer’s preferred size for moving units of information around; technically it’s the width of your processor’s registers, which are the holding areas your processor uses to do arithmetic and logical calculations. When people write about computers having bit sizes (calling them, say, “32-bit” or “64-bit” computers), this is what they mean. Given the same clock rate, the larger the word then the faster the computer calculates and compares. However, the speed increase depends on the size of the data being calculated. Adding a 16-bit number will not be faster in a computer with 32-bit registers than one with 16 bits, but a 24-bit number will be faster. The 16-bit computer requires additional steps to deal with the 24 bits (16 bits first, then the remaining 8), whereas all 24 bits of the number can fit in the 32-bit register Also, the larger the word size, then the larger the value that the computer can store in memory.

bits O Sign bit (0:positive 1:negative) Example of signed 16 bit computer Word Possible range of Integer values that can be represented: to -( 2 15 ) + 1

bits O Example of unsigned 16 bit computer Word Possible range of integer values that can be represented: 0 to