Assignment 1, due Aug 29
Part of
the homework for 22C:60, Fall 2005
|
Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list! All assignments will be due at the start of class on the day indicated, and unless there is what insurance companies call "an act of God" - something outside your control; the only exceptions to this rule will be by advance arrangement.
Question: The ILLIAC I code actually requires 6-bits per character because it allows representation of over 50 distinct codes. The least significant five bits of each character are encoded as punches in the paper tape. How is the sixth bit represented? (1/2 point)
a)
The Roman capital S, Unicode character 005316.
b)
The Greek capital Sigma, Unicode character 03A316.
c)
The Cyrillic capital Es, Unicode character 042116.
d)
The Hebrew letter Shin, Unicode character 05E916.
e)
The Arabic letter Seen, Unicode character 063016.
Hint: Consider doing a decimal to binary conversion on each of the successive values and then looking them up in the ASCII character set table.
Hint: Consider converting the binary numbers you computed above into octal.
a) Signed magnitude. (1/10 point)
b) One's complement. (1/10 point)
b) Two's complement. (1/10 point)
b) Biased (with the natural bias for an 8-bit number). (1/5 point)