Question

How to convert a decimal value to 7-bit ASCII code and ASCII with even parity? Please...

How to convert a decimal value to 7-bit ASCII code and ASCII with even parity? Please use 1234 as an example.

Homework Answers

Answer #1
There is no easy way of remembering ASCII codes
Go through ASCII table and make the conversions
I am adding parity bit on left side of the 7-bits. If you want to add on right side, you can do so.
I am providing explanations..

1 -> 49 -> 0110001
Parity bit is 1
So, 1 in 8-bit ASCII is 10110001

2 -> 50 -> 0110010
Parity bit is 1
So, 2 in 8-bit ASCII is 10110010

3 -> 51 -> 0110011
Parity bit is 0
So, 3 in 8-bit ASCII is 00110011

4 -> 52 -> 0110100
Parity bit is 1
So, 4 in 8-bit ASCII is 10110100

In binary:  10110001 10110010 00110011 10110100
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
If even parity is selected and the data to be sent is 110001001, which parity bit...
If even parity is selected and the data to be sent is 110001001, which parity bit should be included at the end? Need it typed please.
Design an even parity detection circuit. A parity bit is an error checking mechanism. Your circuit...
Design an even parity detection circuit. A parity bit is an error checking mechanism. Your circuit will count the number of 1’s in a stream of bits. If the number of 1’s is even, the circuit turns on an output called Y. Assume a single bit at each cycle – call the input X. Do not use an accumulator or counter. Design the even parity detection circuit using J-K flip-flops. Your answer must include: a. The state diagram. b. The...
A 4-bit data is transmitted using a Hamming code to ensure that the receiver can detect...
A 4-bit data is transmitted using a Hamming code to ensure that the receiver can detect and correct single bit errors. Show the bit pattern transmitted for data 1010 (left to right: from the most significant bit to the least significant bit). Assume that even parity is used in the Hamming code. How many redundant bits are needed in the Hamming code? And what is the value of each Hamming code bit? In your answer, please indicate the data bit...
Convert 1101 0001 1100 0011 binary to decimal (value is a 16-bit integer). The answer is...
Convert 1101 0001 1100 0011 binary to decimal (value is a 16-bit integer). The answer is -11837 but I would like the work to be shown, please
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question...
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question 8: What is the 2’s complement of (01001110)2? Question 9: How is – 1510 represented in eight-bit 2’s complement notation? Question 10: How is – 11210 represented in eight-bit 2’s complement notation? Question 11: Solve the binary arithmetic problem: (00010111)2 + (00101001)2 Question 12: Solve the binary arithmetic problem: (1010)2 - (0100)2 Question 13: Solve the following problem: (01110000)2 - (00011000)2 Question 14: Solve...
How do you convert a decimal like 4.9219 into binary? (assuming 32-bit IEEE 754 floating point...
How do you convert a decimal like 4.9219 into binary? (assuming 32-bit IEEE 754 floating point format)
4) Convert the following binary values from 4 bit numbers to 7 bit values a) 2s...
4) Convert the following binary values from 4 bit numbers to 7 bit values a) 2s complement value: 0101 b) 2s complement value: 1010 c) Unsigned binary value: 0101 d) Unsigned binary value: 1010 e) Sign Magnititude value: 0101 f) Sign Magnititude value: 1010
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and...
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and to hex Convert 0xD1 (hexadecimal) to binary and to decimal Convert 0b11001001 (binary) to hex and to decimal Find the 2’s complement of the following 4-bit numbers 1101 0101 Perform the following 4-bit unsigned operations. For each, indicate the 4-bit result and the carry bit, and indicate if the answer is correct or not. 5 + 8 2 + 12 13 – 7 4...
Add decimal numbers using binary additions for 170 and 493. Steps: Convert each number to binary...
Add decimal numbers using binary additions for 170 and 493. Steps: Convert each number to binary first. Then add the two binary numbers using binary addition. Make sure to keep track of the carry bit and show the carry for each step even when it is zero. Please show all work.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT