# CSCI 255 Homework 1

This assignment is due in class or to my office assistant in RH 215 by 1:45 pm on 26 August.

## Problem 0

If we were able to change the lecture time to Wednesday-Friday from 1:10 to 2:35, would you be able to attend at that time?

What about Monday-Friday 1:45 to 3:00?

## Problem 1

Convert the following unsigned binary numbers into decimal numbers.

1. 10101111
2. 10000101
3. 10101000

## Problem 2

Convert the following decimal numbers into binary numbers.

1. 10
2. 255
3. 2000

## Problem 3

Convert the following signed decimal numbers into 10-bit twos-complement representation.

1. -1
2. 255
3. 0
4. -13

## Problem 4

Convert the following 7-bit twos-complement numbers into signed decimal numbers.

1. 0000000
2. 0101010
3. 1010101
4. 0011000
5. 1110000
6. 1101010

## Problem 5

For numbers are stored in 10-bit words,

1. what is the smallest unsigned number that can be stored?
2. what is the largest unsigned number that can be stored?
3. what is the smallest twos-complement number that can be stored?
4. what is the largest twos-complement number that can be stored?