## CSci 1001 Problem set 1. Due Thursday, February 12.

### Written problems (12 points, due in class at 10am on Feb. 12 or by e-mail by 11:55pm on Feb. 12)

• Exercises 11, 16, 17 p. 17
• Consider the following 3 files:
1. A paper in Microsoft Word format, 100KB
2. A JPEG image, 800KB
3. A music file, 10MB
1. How many files of this type can be stored in 4GB RAM?
2. How many files of this type can be stored on a 512MB flash drive?
3. How many packets will be used to transmit each of the files over a network with a maximal packet size of 1,500 bytes?

### XHTML (12 points, due by e-mail by 11:55pm on Feb. 12)

Construct a web page about yourself or anything that interests you. Do not set any fonts, colors, etc. - you will format your page using CSS. Write your source code in a plain-text editor, such as NotePad or (better) jEdit. You can download jEdit from a link on the resources page. Upload your file to the XHTML validator, your page must be XHTML-compliant.
Your page must have the following:

• A meaningful title
• At least two different-sized headers
• At least one list (of any kind)
• At least one image
• At least one table

### CSS (12 points, due by e-mail by 11:55pm on Feb. 12)

• Use an external CSS file, do not use the style attributes or embedded CSS
• Set a background color or an image for your page
• Set the text properties (font, color) for the page
• Set at least one property of a header
• Set the border property of an image or a table
• Make links show up differently when the have been visited or when the mouse moves over them.
• Set a property for at least one group of tags (separated by commas)
• Set a property for at least one tag that appears nested within another tag.

Your web page will be graded based on correctness of XHTML and CSS, based on the contents (it has to be well-written and clear), and based on the appearance: colors and fonts should go well together and with the images, make sure that the text is easy to read, i.e. it's not too small and has enough contrast with the background, links should go well with the rest of the page and it should be clear which portions of the page are clickable.

### How to submit

#### Web pages:

Send me all the files (including images) by e-mail.

#### Word problems:

Either submit them at the beginning of the class (printed or hand-written) or send them by e-mail. Please send only one e-mail with your entire problem set.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.