Assignment 1, due Aug 31

Part of the homework for 22C:60, Fall 2007
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

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 (usually a Friday). The only exceptions to this rule will be by advance arrangement unless there is what insurance companies call "an act of God" - something outside your control. Homework must be turned in on paper and in class! Late work may be turned in to the teaching assistant's mailbox, but see the late work policy. Never push late work under someone's door!

  1. What is your E-mail address? (If you have more than one, give the address you'd prefer used for class purposes.)

    Real Homework!

  2. Background: The ILLIAC I character code shown in Chapter 2 of the notes was punched on 5-level tape. That is, each character on the tape was recorded using 5 punching positions, representing 5 bits of data. There was a 6th punching position, but this did not record data, it only provided holes for the sprocket that pulled the tape through the tape reader.

    Question: ILLIAC I binary data was sometimes printed in base 16, using the digits 0123456789KSNJFL instead of the more modern 0123456789ABCDEF. Make a table of the binary codes for the 16 ILLIAC I base 16 digits, in order, so that the least significant 4 bits of each digit line up in a clean column. (1/2 point)

  3. Show what "22C:60, 10:30 MWF, 118 MH" would look like as a punched paper tape in the ILLIAC I character encoding. Don't include the quotes. (1/2 point)

  4. Give the 7-bit ASCII representation of the text "22C:60, 10:30 MWF, 118 MH" Don't include the quotes

    a) give your result as a column of binary numbers. (1 point)

    Convert all of the binary numbers to their decimal equivalents. Give your answer as a column of decimal numbers to the right of the column of binary numbers. (1 point)