CS 3740: Computer Organization

Spring 2017 - Homework 1

Due Monday, February 20, 2017, at the beginning of class

You may email a plain text, MS Word or PDF document to the instructor with subject line "cs3740,hwk1", or turn in a hardcopy. (If handwritten, please write neatly.)

This is an individual assignment. All work must be your own. You should not look at any other student's work (in whole or in part, on paper or on screen), nor allow anyone else to look at yours, during the course of this assignment.

Unless specified otherwise, all questions are from "The Essentials of Computer Organization and Architecture, 4th Ed." by Null and Lobur. They are exercises, not review questions.

Remember to Show Your Work.

  1. Chapter 2, Exercise #45.

  2. Chapter 2, Exercise #47.

  3. Using the 14-bit floating point representation described in the textbook, show how the computer would represent the following numbers. Five significant (binary) digits is sufficient precision for the significand, in your answers.

    1. 286.010
    2. 0.92310
    3. 198.05210
    4. -83.47010
    5. 165.46410
    6. -21.20610
    7. 3.85310

  4. Assume a computer is using the 14-bit floating point representation described in the textbook, translate the following numbers into base-2 scientific notation. Five significant (binary) digits is sufficient precision for the significand, in your answers.

    1. 10 0011 1101 0000
    2. 00 1011 1011 0000
    3. 01 1111 1010 0000
    4. 11 0000 1110 0000
    ( Final blocks of 0000s added on 2/19.)

  5. Chapter 2, Exercise #59.

  6. Chapter 2, Exercise #60.

  7. Chapter 2, Exercise #63.

  8. Chapter 2, Exercise #66.

  9. Chapter 2, Exercise #67.

  10. Look up the first (lowest Unicode value) letter in the alphabet of the following languages and write down that letter's hexadecimal value in Unicode. List the web site, book, or other source of information you used.