# Fall 2015 CSCI 255 Homework 7

This assignment is due in class on 14 October or may be uploaded in PDF format to Homework 7 on moodle by 12:30 PM on 14 October.

## Problem 1

Perform the following operations and express the result as it should be for a course in Computer Organization.

• 8G * 512
• 16G / 256
• 4k * 2M
• log2(64M)

## Problem 2

• An 2 GB memory has a 32-bit word size. How many words are contained in this memory?
• A memory has 8 G words. Each word contains 64 bits. How many bytes are contained in this memory?
• How many bits are required to address the 8 G words of this memory?

## Problem 3

Express the following base 10 numbers in 16-bit fixed-point twos-complement representation with 8 integer bits and 8 fraction bits. Some of the numbers can not be expressed exactly, so give the nearest fixed-point representaion.

• 13.5
• 100.05
• 0.3333333333333333333333333333333333333333333333333
• 14

## Problem 4

Express the following 16-bit fixed-point twos-complement numbers with 8 integer bits and 8 fraction bits as base 10 decimal numbers.

• 0000100011001100
• 1100100011001100

## Problem 5

What is the 32-bit IEEE 754 representation for 3.5?

## Problem 6

If `0x42510000` is the 32-bit IEEE 754 representation of a floating point number, what is the floating point number?