Web Publishing Mid-term Exam for CS Students Oct. 19, 1999 10% for each problem. PRINT your name (all Caps) and a page number on each sheet you use. Make sure you answer each part. Write clearly. Consider the Internet and the Web: (a) What is a host? What is the quad notation of an IP host address? What is a domain host address? (b) Explain the client and server model for networking. (c) What is the protocol that the Web service uses? (d) What is an URL? Explain its format. Consider information dissemination on the Web: (a) What are the major steps to take to put info on the web for general access? (b) What is the purpose and function of HTML? (c) Write down the outline of a complete HTML page with HTML tags. (d) List the tags for ordered list, unordered list, and in-line image. Consider HTML tables and Style Sheets: (a) Write a HTML table for Spring, Summer, Fall, Winter in 2 rows and 2 columns. (b) What is a style sheet? What advantages do style sheets bring? (c) What is the recommended way to attach a style sheet to a page? Show code. Consider images and colors for the Web: (a) What is a vector image? a raster image? (b) What is GIF? What is JPEG? What is the maximum number of colors in a GIF or JPEG image? (c) What is indexed color? Web-safe color? Describe the RGB codes for Web-safe colors. (d) What is gamma correction ? Consider Forms and CGI: (a) List three points important for styling a form. (b) What HTTP request method is used to submit a form? How is the form input encoded before delivery to the CGI program? (c) Describe the server-CGI interface. (d) List the basic steps of a form-processing CGI program.