1. Examples
1. (10110)2 = ( ? )BCD
Solution: (10110)2 = (_______)BCD
1. Convert binary to decimal (10110)2 = (_______)10
`10110`
` = 1 × 2^4 + 0 × 2^3 + 1 × 2^2 + 1 × 2^1 + 0 × 2^0`
`= 1 × 16 + 0 × 8 + 1 × 4 + 1 × 2 + 0 × 1`
`= 22`
`:.` (10110)2 = (22)10
2. Convert decimal to BCD (22)10 = (_______)BCD
`:.` (22)10 = (00100010)BCD
`:.` (10110)2 = (00100010)BCD
2. (10011)2 = ( ? )BCD
Solution: (10011)2 = (_______)BCD
1. Convert binary to decimal (10011)2 = (_______)10
`10011`
` = 1 × 2^4 + 0 × 2^3 + 0 × 2^2 + 1 × 2^1 + 1 × 2^0`
`= 1 × 16 + 0 × 8 + 0 × 4 + 1 × 2 + 1 × 1`
`= 19`
`:.` (10011)2 = (19)10
2. Convert decimal to BCD (19)10 = (_______)BCD
`:.` (19)10 = (00011001)BCD
`:.` (10011)2 = (00011001)BCD
This material is intended as a summary. Use your textbook for detail explanation. Any bug, improvement, feedback then
|