(a) public class Dog imports Animal (b) public class Animal imports Dog
(c) public class Dog extends Animal (d) public class Animal extends Dog
9. Consider the following Java class definition.
class A extends B { }
According to this definition, which of the following statements
is (are) true? I. II.
A is a subclass of B. B is a superclass of A.
(a) I only (b) None
(c) I and II (d) II only
Exam 1 Multiple-Choice
1. A Web site can be navigated using
(a) a Web server (b) a Web browser
(c) a text editor (d) an image viewer
2. A program that allows users to search for information on the Web
is typically referred to as a
(a) router (b) search engine
(c) search client
(d) Uniform Resource Locator
3. A generally agreed upon rule as to how two computers will
communicate with one another over the Internet is called a
(a) protocol (b) server
(c) filing rule (d) Web law
4. Which of the following is (are) true about regulation of
information on the Web?
I. II.
The Advanced Research Project Agency (ARPA) ensures that the
contents of Web pages are accurate.
The Web administrator regulates all of the content on the Web to ensure it is accurate.
(a) I and II only (b) None
(c) II only (d) I only
5. Which of the following statements is (are) generally true about
commerce on the Web?
I. II.
The Web can be used to locate specific products without
human-to-human contact.
The list of products in a Web-based catalog can be quickly updated.
(a) I only (b) I and II
(c) None (d) II only
6. Which of the following is a communication protocol used to access the Web page whose URL is
http://www.carnegietech.org/courses.html?
(a) HTML (b) ORG
(c) HTTP (d) WWW
7. In HTML, an ordered list begins with the tag _____, and each item in the list begins with the tag _____.
(a) ,
(b) (c)
, (d)
,
8. HTML heading tags include which of the following?
I. II. III.
(a) II only (b) I only
(c) I, II, and III (d) II and III only
9. In HTML, the tag pair _____can be used to display text in a
fixed-width font.
(a)
(b)
(c)
10. Which of the following is a valid HTML segment that directs Web
browsers to display green text?
(a) (b) (d) 11. Consider the following table. Which of the following HTML sequences can be used to lay out the preceding table? (a) + 01 0 (b) 0 1 1 1 0 + 0 1 0 01 1 10
(c)
(d)
12. Which of the following is an advantage (are advantages) of