Download presentation

Presentation is loading. Please wait.

Published byRandolf Skinner Modified about 1 year ago

1
Codes Octal Power Hexadecimal ASCII BCD Code A B C D E F

2
Code conversions Decimal to Octal Similar to Dec-to Binary: Start dividing by 8 and build Octal figures from Remainders: =

3
Code conversions Binary –to-Octal 3 bits of binary could provide weight of 8 10, that is equivalent to Octal;i.e: Bits: b2b1b0 Wts:421 Bin: 111 7 10 and Octal range 0-7 Example: = Octal Values: 4 7 2

4
Octal Conversion binary:Octal: x x x 8 0

5
Binary Addition 1110

6
Octal Addition =603 8 Justification… = and = = and =3+6x64=387 10

7
BCD Addition =

8
Byte Most computers handle and store binary data and information in groups of eight bits, so a special name is given to a string of 8 bits..Byte. A Byte therefore always consists of eight bits data. A 32 bits data has 4 Bytes of data and similarly 128 bits of data has 16 Bytes.

9
Questions 1. What is the largest decimal value that can be represented in a binary using two bytes? 2. How many bytes are needed to represent the decimal value of 846,569 in BCD?

10
Assignment 1 1. Convert binary into decimals: Convert decimal into Binary:

11
Assignment 1 3. What is the largest decimal value that can be represented by an eight-bit binary number? 4. Convert each Octal into Binary:

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google