Wednesday, 28 September 2016
Character Coding Exam questions
Question 1.
a) How many characters can be represented using ASCII? 128
b) How would the character E be represented using 7 bits? 1000101
c) Characters are transmitted using an e-bit code that includes a parity bit in the most significant bit?
D- 01000100
E- 11000101
H- 01001000
d) Parity works by either using odd or even parity. If there is an odd number of 1s in the end binary parity bit will be a 0. There are 1 bit and 3 bit parity. 1 bit is most common because it requires less data to be sent and is therefore cheaper to implement. At the receiving end, the code can be checked to see whether the number is still odd or even.
Question 2.
a) 53- 0110101
b)0110110
c) 9=57 0=48 difference is 9
d)1
e)3
f)The advantages of majority vote over parity bits is that the majority vote can repair the errors because the data is being sent multiple times where a parity bit can only detect that there is an error.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment