© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Constructing Network Addresses Understanding Binary Basics
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Outline Overview Decimal and Binary Systems Powers of 2 Decimal-to-Binary Conversion Binary-to-Decimal Conversion Summary Lab Exercise 5-1: Converting Decimal to Binary and Binary to Decimal
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Decimal numbers are represented by the numbers 0 though 9. Binary numbers are represented by a series of 1s and 0s. Decimal vs. Binary Numbers
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Decimal and Binary Numbers Chart
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Powers of 2
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Decimal-to-Binary Conversion 35= = (32 * 1) + (2 * 1) + (1 * 1) 35 = =
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Binary-to-Decimal Conversion = ( 128 * 1 ) + ( 64 * 0 ) + ( 32 * 1 ) + ( 16 * 1 ) + ( 8 * 1 ) + ( 4 * 0 ) + ( 2 * 0 ) + ( 1 * 1 ) = = 185
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Summary All computers operate using a binary system. Binary systems (base 2) use only the numerals 0 and 1. Decimal systems (base 10) use the numerals 0 through 9. Using the powers of 2, a binary number can be converted into a decimal number. Using the powers of 2, a decimal number can be converted into a binary number.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v2.15-9