CS306 Computing Systems and Structures Lockwood, Spring 2002

Homework Assignment 0

Due: Monday, January 17, 2002, 5pm
25 points

The answers to this homework are to be submitted on-line via the World Wide Web (WWW). You may use any Mosaic browser (such as Netscape or Internet Explorer) to submit this assignment. No special software is needed. Your answers will be automatically graded and your score will appear immediately in the gradebook. You will have an opportunity to resubmit answers to improve your score. This page can accessed directly as
http://www.arl.wustl.edu/~lockwood/class/cs306/hw/hw0.html/

Step 1: Choose an ID

For this class, you will will need to select a secret ID. Your ID will be used to submit homework and will be used to post your grades. Your ID contains 5 letters and/or numbers, and should NOT resemble your name or social security number. Press the button below to obtain an ID.


Step 2: Submit Homework

ID Important: Enter the ID you were assigned in Step 1.
First Name Example: Tom
Last Name Example: Jones
Email
Major CS, EE, CompE, Other
Year Freshman, Sophmore, Junior, Senior, Other

Please tell us a little about yourself. Please provide the most honest and accurate answers. This section is not graded.

Homework Questions

This section is graded

  1. In what year was the floating point unit combined into the 80486 CPU? (2 pts)

  2. The cost of electronic computer components has dropped dramatically over the years due to the advances in semiconductor technology. In 1983, approximately how many dollars would you have paid for 640 KiloBytes of memory?
    (2 pts)

  3. For this class, it is critical that you read and follow the class Message Board. Visit our message board and enter the "magic number" in the box below.

    (2 pts)

  4. The grading system for this class encourages you to complete your assignments on time. There are heavy penalties for late assignments and bonus points for early submissions. From the policy stated in the Course Syallabus, determine your total score if you submitted the following:
    • 25/25 points on HW0, submitted on or before the deadline.
    • 55/75 points on HW1, submitted on or before the deadline.
    • 75/75 points on HW2, but two seconds late.
    • 40/50 points for MP1, submitted two days early.
    • 40/50 points for MP2, but three days late.
    (2 pts)


    Computers treat numbers as a sequence of binary bits.
    Represent the following decimal (base 10) and hex (base 16) numbers using 8-bit, 2's complement binary notation.

    Enter 8 binary digits (1's and 0's) for each answer, (1 pt/each)

  5. 5 (decimal) = (binary)
  6. 102 (decimal) = (binary)
  7. -2 (decimal) = (binary)
  8. -76 (decimal) = (binary)
  9. 91 (hex) = (binary)
  10. B4 (hex) = (binary)


    Determine the hex (base 16) equivalent of the following unsigned decimal (base 10) numbers. (1 pt/each)

  11. 30 (decimal) = (hex)
  12. 2049 (decimal) = (hex)


    Determine the hex (base 16) equivalent of the following signed decimal (base 10) word-sized (16-bit), 2's complement integers. (1 pt/each)

  13. -4 (decimal) = (hex)
  14. -1050 (decimal) = (hex)



    ASCII represents letters, numbers, and symbols using 8-bit values.
    What does the following message say?

    (Hint: There is an ASCII conversion table reference in the Resources Section of the web web pages . (1 pt/each)

  15. Bytes: (specified in hex) = 38 30 78 38 36
  16. Bytes: (specified in decimal) = 65 115 115 101 109 98 108 121 33


    The 80x86 represents addresses in a segment:offset format.
    What is the linear address for the following address?

    Notes: All values are specified in hex. (1 pt/each)

  17. C200:ABAB
  18. 9654:BC3E


    Suppose that your AMD Athlon XP 2000 has the following values stored in its registers:
    DS=471A, EAX =90155425, CL=AF, EDX=B4ECE291, BX=F028, CH=DE
    Determine the contents of the following registers:

    Notes: All values are specified in hex. (1 pt/each)

  19. AX =
  20. DH =
  21. CX =

Press the button below to submit this assignment