Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 Binary Boot Camp

2

3

4 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

5 AD5 16 = ________ decimal ??? 10 16 2 + 13 16 1 + 5 16 0 = 10 256 + 13 16 + 5 1 = 2560 + 208 + 5 = 2773

6 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.

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

8 Hex ValueDecimalBinary 000000 110001 220010 330011 440100 550101 660110 770111 881000 991001 A101010 B111011 C121100 D131101 E141110 F151111

9

10 5 3 2 5

11 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.

12 bits O 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Sign bit (0:positive 1:negative) Example of signed 16 bit computer Word Possible range of Integer values that can be represented: 2 15 - 1 to -( 2 15 ) + 1

13 bits O 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Example of unsigned 16 bit computer Word Possible range of integer values that can be represented: 0 to 2 16 - 1


Download ppt "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."

Similar presentations


Ads by Google