1) Convert decimal 6,514 to both BCD and ASCII codes. For ASCII, an even parity bit is to be appended at the left. (10 point) 2) Decode the following ASCII code: 1010011 1110100 1100101 1110110 1100101 0100000 1001010 1101111 1100010 1110011 (10 point) 3) The following is a string of ASCII characters whose bit patterns have been converted into hexadecimal for compactness: 73 F4 E5 76 E5 4A EF 62 73 16. Of the eight bits in each pair of digits, the leftmost is a parity bit. The remaining bits are the ASCII code. (a) Convert the string to bit form and decode the ASCII. (b) Determine the parity used: odd or even? (12 point) 4) Convert 0110 0001 0101 1001 BCD to Gray code (10 point)
Added by Salvador S.
Close
Step 1
Convert decimal 6,514 to BCD: To convert decimal to BCD, we divide the decimal number by 10 repeatedly until the quotient becomes 0. The remainders at each step will give us the BCD representation. 6,514 ÷ 10 = 651 remainder 4 651 ÷ 10 = 65 remainder 1 65 ÷ 10 = Show more…
Show all steps
Your feedback will help us improve your experience
Adi S and 80 other Physics 102 Electricity and Magnetism educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Akash M.
1. Convert the following binary numbers to decimal: (a) 11012 (b) 10110112 (c) 11112 (d) 1101,01012 (e) 11010,010002 (f) 0000,01012 2. Convert the following decimal numbers to binary (4 decimal places): (a) 50210 (b) 101,21110 (c) 999,37510 (d) 281,00110 (e) 1610 (f) 15,12510 3. Perform the following binary multiplications (Show calculations): (a) 101 x 11012 (b) 11010,01 x 101,102 (c) 110 x 1101,012 (d) 11110 x 10100,0102 4. 110011.112 x 110,1012= ? a) 100110010,011112 b) 101101101,11012 c) 101010110,110112 d) 111100010,1112 5. 11011,10 ÷ 101 (To 4 decimal places). 6. Convert 10011011,00102 to decimal, octal and hexadecimal. 7. Express each of these decimal numbers in 2's complement form (Use 8 Bits): a) 13 b) -13 c) 64.25 d) -64.25
Adi S.
1. Convert the following numbers to decimal: a. (101110.11)2 b. (24.28)8 2. Convert the following number to octal and hexadecimal numbers. a. (1101110.11)2 3. Convert the hexadecimal number (68BF)16 to binary and then from binary convert it to octal. 4. Obtain the 1's and 2's complements of the following binary numbers: a. (01111110)2 b. (01111111)2 c. (10000001)2 5. Perform subtraction on the following unsigned binary number using 2's complement of the subtrahend. 111000 - 101010 6. Represent (1091) in BCD. 7. a. Convert the following decimal numbers 60 and 32 to binary using the signed 2's complement representation and enough digits to accommodate numbers. b. Then perform (+60) + (-32)
Samriddhi S.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD