-------------------------------------------------------------------------------
Michael E. Locasto Introduction to Computers
Homework 1 Spring 2006
$Id: hw1.txt,v 1.1 2006/01/27 16:11:48 locasto Exp $
-------------------------------------------------------------------------------
Due: February 14, 11:59:59 PM EST (Courseworks timestamp)
0) Create a website (70 pts)
Create an HTML page that looks, as closely as you can, to the
"hw1page.pdf" PDF file. Give a short description of the steps
that you did to produce the HTML page. Notice that you are not
allowed to use HTML editors other that Notepad. Using what
you've learned about the CUNIX system, post the webpage to your
Columbia website. The CS @ CU logo is available for download off
the course website.
Extra Credit: (10 pts) Set up your own website about yourself.
Feel free to liberate existing websites. Add a link from your
main page to the result of your HW 1 Problem 0 assignment.
1) Short Answer (30 pts)
1.1 What is a CPU? What are the major parts of a CPU? List the
components of the von Neumann architecture. (10 pts)
1.2 Explain what we mean by "memory hierarchy" and diagram it. (8 pts)
1.3 Translate the following numbers from binary (base 2) to
decimal (base 10). (4 pts)
a) 10011001
b) 1010
c) 0001
d) 100010
1.4 Translate these decimal numbers to binary. (4 pts)
a) 153
b) 1293
c) 5
d) 25
1.5 Add these binary numbers. (4 pts)
a) 10010000 + 00110111
b) 0000 + 1111
c) 01 + 01
d) 1000 + 0010