Friday Morning Review Questions
Let us see how much you have learned by going over these review
questions.
- Which HTML tag is used inside the <SELECT> tag to specify the start
of a new menu item in the selection list?
- <INPUT>
- <OPTION>
- <TEXT>
- <VALUE>
- <VAR>
- ACTION and METHOD are attributes of which HTML element?
- <FORM>
- <GET>
- <INPUT>
- <SUBMIT>
- <VAR>
- COLS and ROWS are attributes of which HTML elements?
- <FORM> and <INPUT>
- <FRAME> and <TEXTAREA>
- <FRAMESET> and <TEXTAREA>
- <GET> and <POST>
- <INPUT> and <TEXTAREA>
- Which is not an INPUT TYPE?
- PASSWORD
- RADI
- RESET
- SUBMIT
- TEXT
- Which is not an environment variable?
- CONTENT_LENGTH
- GATEWAY_INTERFACE
- REMOTE_ADDR
- SERVER_PORT
- TEXT/HTML
- What does the environment variable HTTP_USER_AGENT indicate?
- The name of the httpd process, or agent,
being invoked by the user.
- The name of the user.
- The port number the browser, or user
agent, is using.
- The type and version of the browser.
- The version of the HTTP protocol.
- CGI environment variables can be classified into two major categories.
What are they?
- ACTION and METHOD
- GET and POST
- Nonrequest specific and request specific
- Perl and C++
- Trick question, there are no major
categories.
- Which <IMG> attribute denotes a client-side imagemap?
- ALT
- IMG
- ISMAP
- MAP
- USEMAP
- Which is an attribute of the <SCRIPT> tag?
- ALIGN
- LANGUAGE
- NAME
- PARAM
- VALIGN
- Which is the default HTTP METHOD?
- GET
- HEAD
- INPUT
- POST
- PUT
- Which INPUT TYPE is used for a mutually exclusive choice?
- BUTTON
- CHECKBOX
- OPTION (without the "multiple" attribute invoked)
- PASSWORD
- RADIO
- Which statement is true?
- All images in HTML are rectangular.
- SIZE is an attribute of the "IMG" tag.
- STYLE is an attribute of the "IMG"
tag.
- STYLE is an attribute of the "LINK"
tag.
- STYLE is an attribute of the "META"
tag.
- Which cannot be nested?
- Forms
- Framesets
- Ordered lists
- Tables
- Unordered lists
- CGI and Active Server Pages are:
- A Web browser and a Web server, respectively.
- Programs that request and display information from Web
servers.
- Run only on Microsoft Internet Information
Server.
- Two different ways of accomplishing
server-side processing.
- Two ways of using the same programming
language for server-side processing.
- In which programming language can CGI scripts be written in?
- C
- C++
- Pascal
- VBScript
- All of the above
- What is the main difference between GET and POST?
- How they interpret environment variables.
- One uses a domain name, the other an
IP address.
- POST appends to the URL while GET does
not.
- The way data is passed back to the
Web server.
- Trick question, they are virtually
identical.
- 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
- Authorization information.
- First line of the HTTP request.
- Status code from the server.
- Version of the server software.
- Visitor's IP address.
- 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
- Authorization information.
- Number of bytes being sent.
- Status code from the server.
- Version of the server software.
- Visitor's IP address.
- Which is true about Site Server Express?
- It is a commercially available tool
for analyzing log files.
- It is a Microsoft product that comes
with IIS.
- It has three main components: report
writer, content analyzer, usage import.
- All of the above.
- It is an "express" Web server software
package.
- Which is true about BGCOLOR?
- It is an attribute of the <BODY>
tag that describes the document background color.
- It is an attribute of the <FONT>
tag that describes the text background color.
- It is an attribute of
the <TD> tag that describes the table data cell background color.
- It is an attribute of the <IMG>
tag that specifies the tiled background image.
- It is an HTML element describing background
color.
- None of the above.
Feel free to keep answering questions until you get them all correct.