McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Non-Chapter Glossary Terms
Non-Chapter Flashcards
Frequently Asked Questions
Student Message Board
Learning Objectives
Chapter Outline
Key Terms
Flashcards
Interactive Activities
Exercises
Multiple Choice Quiz
Feedback
Help Center


Inline Online
Inline/Online: Fundamentals of the Internet and the World Wide Web, 2/e
Raymond Greenlaw, Armstrong Atlantic State University
Ellen Hepp, The University of New Hampshire

Web Programming Material

Web Programming Material - Self-Assessment Quiz

The purpose of this quiz is to provide the student with a large number of supplemental exercises for Chapter 12. This quiz can be used to perform a self-evaluation. This quiz consists of twenty five multiple choice questions. Each multiple choice question has four possible answers.



1

Which of the following statements is false?
A)Java is a subset of Javascript.
B)Java is an object-oriented programming language.
C)Javascript can be used to make Web pages dynamic.
D)Java applets are small Java programs.
2

Which of the following statements is true?
A)Javascript is a subset of Java.
B)Javascript code is usually embedded within an HTML comment.
C)The SCRIPT tag can be used to include Java in a JPG file.
D)Java is a scripting language.
3

Which of the following would not be considered an "event"?
A)A mouse click.
B)Depressing the enter key.
C)Thinking about moving the cursor.
D)Repositioning the cursor.
4

Which of the following is not a Javascript event handler?
A)onClick
B)onDemand
C)onMouseOver
D)onMouseOut
5

In some Javascript event handlers, a value is assigned to the variable "status." Where is this information displayed?
A)In an alert box.
B)In the browser status line.
C)In a pop-up menu.
D)Beneath the cursor.
6

In order to run Javascript which of the following is required?
A)The browser needs to be Javascript enabled.
B)The browser must be from Microsoft.
C)The browser must be less than two years old.
D)The underlying computer must have at least 64M of RAM.
7

The word applet stands for which of the following?
A)Apple Transformation
B)Another Program Putting Little Engines Together
C)Little Application
D)Application Letters
8

Java executable code is stored in which type of file?
A)java
B)class
C)exe
D)html
9

Which of the following is not an attribute of the APPLET tag?
A)CODE
B)HEIGHT
C)APPLE
D)WIDTH
10

Which of the following is not an attribute of the APPLET tag?
A)ALT
B)CODEBASE
C)NAME
D)RADIO
11

Which of the following is not an attribute of the APPLET tag?
A)ALIGN
B)HSPACE
C)CODE
D)JAVA
12

Which tag is used to pass parameters to applets?
A)PARAM
B)VARS
C)PARAMETERS
D)VAR
13

The Java programming language was developed by which company?
A)Microsoft
B)Netscape
C)Sun
D)Apple
14

The Java Virtual Machine allows you to do which of the following?
A)Run Java applications on any type of computer.
B)Run Web browsers over the network.
C)Run Javascript and Java simultaneously.
D)Include your Web pages on a multitude of platforms.
15

Which of the following is not a typical guest book field?
A)Name.
B)URL
C)Email address.
D)Telephone number
16

Guest books are typically implemented using which of the following?
A)Frames.
B)JAVA.
C)Forms.
D)Perl.
17

A Web page counter does which of the following?
A)Displays how many times the owner of the page has revised the page.
B)Displays an advertisement.
C)Indicates how many times the page has been hit.
D)Shows how many levels deep the page is nested with the Web.
18

Which of the following is true?
A)The most popular way of displaying a Web page counter is via a server-side include.
B)A Web page counter can be displayed through the ALIGN attribute of the IMG tag.
C)A Web pabe counter can be displayed through SRC attribute of the IMG tag.
D)A Web page counter can be displayed through the TARGET attribute of the IMG tag.
19

Which of the following statements is false?
A)Many sites offer free Web counters.
B)Counters often display advertisements.
C)There is no way to have a large counter value without having the page displaying the counter being loaded a large number of times.
D)Counters are not usually displayed as images.
20

For whom would a counter likely be most important?
A)A student at a University.
B)A Web master at a University.
C)A programmer at Microsoft.
D)A Web master at a marketing firm.
21

Which of the following is the best definition of a server side include?
A)A way to embed counters in Web pages.
B)A way to send a command to a Web server from inside an HTML document.
C)A technique for loading Java onto a PC.
D)A method for halting a server for a specified number of seconds.
22

For which of the following would one not be able to use a server side include?
A)Time stamping a page.
B)Including a random quote.
C)Displaying a counter.
D)Processing a guest book entry.
23

A file extension of shtml usually denotes which of the following?
A)A secure Web document.
B)A file incorporating a server side include.
C)A file requiring a server side include.
D)A MIME type of standard HTML.
24

The syntax for a server side include to run the program /cgibin/script.cgi is which of the following?
A)<!--exec cgi = "/cgibin/script.cgi"-->
B)<exec cgu = "/cgibin/script.cgi">
C)<!--#exec cgi = "/cgibin/script.cgi"-->
D)run /cgibin/script.cgi
25

The syntax for a server side include to include the file insert.html is which of the following?
A)<-#include virtual = "insert.html"-->
B)<--virtual = "insert.html"-->
C)<--#include virtual = "insert.html"-->
D)place insert.html