Study Guide for Test 1

1) Explain the terms circuit switching and packet switching. Discuss the advantages and disadvantages of both.

2) How is an Ethernet network different from a token ring network? What is the role of a repeater, bridge, and switch in an Ethernet network?

3) How is the Simple Mail Transfer Protocol (SMTP) different from either IMAP or POP mail client access protocols.

4) Draw a diagram representing the 5-layer model of the Internet. Give one or two sentence description of the functionality of each of the layers.

5) What is the role of the Domain Name Server? With the present IPv4 how many unique addresses do we have? Show how you get that number. By moving to IPv6 how many unique addresses do we get?

6) What is the difference between the GET and POST transactions? When would you use one over the other?

7) What are some steps (mention at least 3) you can take to make your HTML document compliant with an XHTML parser?

8) Write XHTML code for the following situations:

  1. Use the image letterBox.gif as an e-mail link. Use the alt attribute to provide a description of the image and link.
  2. The image myPict.jpg is 200 pixels wide and 150 pixels high. Insert this image in your document with a width-to-height ratio of 2:1, keeping the same width as the original.
  3. Write two different versions of the meta element for the Amazon site.
  4. Construct the Pascal's Triangle using a borderless table. This triangle has 5 rows.
                                  1
                          1       2      1
                      1       3      3      1
                 1        4       6      4      1
             1        5       10     10     5       1

9) Write the HTML code for an application form. Use a table to align all the fields properly. The user will enter

10) Writing for the web is different from writing for print. Point out the similarities and differences between writing for the web and writing for print.

11) Based on the discussion posted on the web of the home page argue what you think are the three most important characteristics of the home page. How should the home page be different from the interior pages? In what ways should it similar?

12)

  1. What is the syntax for a CSS rule?
  2. Write a CSS rule for a paragraph that uses Verdana (a sans-serif font), is indented by 5 characters, has a background color of white and has black as its foreground color.
  3. How would you integrate this rule inline in your xhtml document?
  4. If you had to refer to this as an external CSS document what would you do?
  5. Define the following length units: pt, pc, px, and em.
  6. What is the difference between div and span? When would you use one over the other?

13) Why is usability an important attribute of a web site? How would you define it and what steps would you take to improve the usability of the project that you are working on?

14) The class website gives a discussion on page, content and site design. Reduce that into three principles of good web design. Defend why you think these principles are more important above others.

15) Implement a style sheet which has the following properties: The layout shows three parts: header, left navigation column and the main text column. The header contains the site name. The navigation column contains a list with links and the main column contains only text.