### CS 10 Homework 4

Due by the beginning of class Tuesday, February 18

You should finish working through Tutorials 5 and 6 from class this week if you haven't already done so. You do not need to turn these in, but the more practice you get with HTML, the better.

All of the files required for the problems below are available in the CS 10 class folder under Homework/HW4. Just ignore the steps in the book's instructions that refer to "your Data Disk". If you can't access the class folder easily, the files are also available on the CD-ROM that came with your book, or on the Web.

1. Do Case Problem 2 (Browyer Realty) on pages 5.41-42. Put all of the files for this problem into a single subfolder named Browyer.

2. Do Case Problem 4 (Warner Peripherals, Inc.) on page 5.45. Put all of the files for this problem into a single subfolder named Warner. A sample page layout is shown here, although you may create a different design if you prefer.

3. Do Case Problem 2 (DeLong Enterprises, Inc.) on pages 6.55-56. Put all of the files for this problem into a single subfolder named DeLong.

4. Convert the following binary numbers (base 2) to decimal (base 10). Show all of the steps involved.

• 111111
• 101101
• 11000110

Convert the following decimal numbers to binary. Show all of the steps involved.
• 47
• 395
• 1023

If b is a binary number, what value is represented by b0 — that is, what value do you get when you place an extra zero at the end of a binary number? What happens if you place two zeros at the end? Generalize your answer to any number of zeros.