Friday Morning Review Questions


Let us see how much you have learned by going over these review questions.

  1. Which HTML tag is used inside the <SELECT> tag to specify the start of a new menu item in the selection list?
    1. <INPUT>
    2. <OPTION>
    3. <TEXT>
    4. <VALUE>
    5. <VAR>

  2. ACTION and METHOD are attributes of which HTML element?
    1. <FORM>
    2. <GET>
    3. <INPUT>
    4. <SUBMIT>
    5. <VAR>

  3. COLS and ROWS are attributes of which HTML elements?
    1. <FORM> and <INPUT>
    2. <FRAME> and <TEXTAREA>
    3. <FRAMESET> and <TEXTAREA>
    4. <GET> and <POST>
    5. <INPUT> and <TEXTAREA>

  4. Which is not an INPUT TYPE?
    1. PASSWORD
    2. RADI
    3. RESET
    4. SUBMIT
    5. TEXT

  5. Which is not an environment variable?
    1. CONTENT_LENGTH
    2. GATEWAY_INTERFACE
    3. REMOTE_ADDR
    4. SERVER_PORT
    5. TEXT/HTML

  6. What does the environment variable HTTP_USER_AGENT indicate?
    1. The name of the httpd process, or agent, being invoked by the user.
    2. The name of the user.
    3. The port number the browser, or user agent, is using.
    4. The type and version of the browser.
    5. The version of the HTTP protocol.

  7. CGI environment variables can be classified into two major categories. What are they?
    1. ACTION and METHOD
    2. GET and POST
    3. Nonrequest specific and request specific
    4. Perl and C++
    5. Trick question, there are no major categories.

  8. Which <IMG> attribute denotes a client-side imagemap?
    1. ALT
    2. IMG
    3. ISMAP
    4. MAP
    5. USEMAP

  9. Which is an attribute of the <SCRIPT> tag?
    1. ALIGN
    2. LANGUAGE
    3. NAME
    4. PARAM
    5. VALIGN

  10. Which is the default HTTP METHOD?
    1. GET
    2. HEAD
    3. INPUT
    4. POST
    5. PUT

  11. Which INPUT TYPE is used for a mutually exclusive choice?
    1. BUTTON
    2. CHECKBOX
    3. OPTION (without the "multiple" attribute invoked)
    4. PASSWORD
    5. RADIO

  12. Which statement is true?
    1. All images in HTML are rectangular.
    2. SIZE is an attribute of the "IMG" tag.
    3. STYLE is an attribute of the "IMG" tag.
    4. STYLE is an attribute of the "LINK" tag.
    5. STYLE is an attribute of the "META" tag.

  13. Which cannot be nested?
    1. Forms
    2. Framesets
    3. Ordered lists
    4. Tables
    5. Unordered lists

  14. CGI and Active Server Pages are:
    1. A Web browser and a Web server, respectively.
    2. Programs that request and display information from Web servers.
    3. Run only on Microsoft Internet Information Server.
    4. Two different ways of accomplishing server-side processing.
    5. Two ways of using the same programming language for server-side processing.

  15. In which programming language can CGI scripts be written in?
    1. C
    2. C++
    3. Pascal
    4. VBScript
    5. All of the above

  16. What is the main difference between GET and POST?
    1. How they interpret environment variables.
    2. One uses a domain name, the other an IP address.
    3. POST appends to the URL while GET does not.
    4. The way data is passed back to the Web server.
    5. Trick question, they are virtually identical.

  17. In the log entry below, what does "GET age.html HTTP/1.1" indicate?
    www.me.com - - [1/Mar/1999:11:11:11 -0500] "GET age.html HTTP/1.1" 200 332
    1. Authorization information.
    2. First line of the HTTP request.
    3. Status code from the server.
    4. Version of the server software.
    5. Visitor's IP address.

  18. In the log entry below, what does "332" indicate?
    www.me.com - - [1/Mar/1999:11:11:11 -0500] "GET age.html HTTP/1.1" 200 332
    1. Authorization information.
    2. Number of bytes being sent.
    3. Status code from the server.
    4. Version of the server software.
    5. Visitor's IP address.

  19. Which is true about Site Server Express?
    1. It is a commercially available tool for analyzing log files.
    2. It is a Microsoft product that comes with IIS.
    3. It has three main components: report writer, content analyzer, usage import.
    4. All of the above.
    5. It is an "express" Web server software package.

  20. Which is true about BGCOLOR?
    1. It is an attribute of the <BODY> tag that describes the document background color.
    2. It is an attribute of the <FONT> tag that describes the text background color.
    3. It is an attribute of the <TD> tag that describes the table data cell background color.
    4. It is an attribute of the <IMG> tag that specifies the tiled background image.
    5. It is an HTML element describing background color.
    6. None of the above.

Feel free to keep answering questions until you get them all correct.