HTML and Java Web Technologies Quiz

Test your knowledge of HTML fundamentals, Java web frameworks (Wicket, Servlets, Applets), and web application concepts including session management and component architecture.

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When you have a graphic that you would like to use for the backdrop of your page, what tag sequence do you use?

  1. BODY PICTURE
  2. BODY BACK
  3. BODY BACKGROUND
  4. BODY BACKDROP
Question 2 Multiple Choice (Single Answer)

How many numerical characters are in a hex color code?

  1. 5
  2. 6
  3. 4
  4. 7
Question 3 Multiple Choice (Single Answer)

What tag is used when you want to create a horizontal divider across your page?

  1. HL
  2. HD
  3. TR
  4. HR
Question 4 Multiple Choice (Single Answer)

What tag is used to center text on a page?

  1. t mid
  2. middle
  3. mid
  4. center
Question 5 Multiple Choice (Single Answer)

What tag do you use if you want text to pop up when the browser hovers his/her mouse over a graphic on your page in Internet Explorer?

  1. ctrl
  2. alt
  3. hover
  4. over
Question 6 True/False

HTML is a programming language.

  1. True
  2. False
Question 7 Multiple Choice (Single Answer)

HTML documents are structured into two parts.

  1. BODY & TAIL
  2. HEAD & TAIL
  3. HEAD & BODY
  4. FIRST & BODY
Question 8 Multiple Choice (Single Answer)

HTML documents are also called

  1. Script pages
  2. Web pages
  3. Application pages
  4. HTML pages
Question 9 Multiple Choice (Single Answer)

HTML colors are defined using a notation,

  1. colour
  2. hexadecimal
  3. decimal
  4. number
Question 10 Multiple Choice (Single Answer)

HTML we use today was developed from the prototype written by

  1. Ben lee
  2. Paul werk
  3. John versky
  4. Tim Berners-Lee
Question 11 Multiple Choice (Single Answer)

Servlets are typically used for...

  1. Create a JVM for applets
  2. Extending a web server by providing dynamic web content.
  3. Storing information in applets.
  4. Loading buttons and menus.
Question 12 Multiple Choice (Single Answer)

A program written in the Java programming language can run on any platform because

  1. Java programming is derived from C++
  2. The Java Virtual Machine(JVM) interprets the program for the native operating system
  3. The compiler is identical to a C++ compiler
  4. The APIs do all the work
Question 13 Multiple Choice (Single Answer)

When a program class implements an interface, it must provide behavior for

  1. Two methods defined in that interface
  2. Only certain methods in an interface
  3. Any methods in a class
  4. All methods defined in that interface
Question 14 Multiple Choice (Single Answer)

Which method will a web browser call first on a new applet?

  1. main method
  2. start method
  3. init method
  4. paint method
Question 15 Multiple Choice (Single Answer)

Components in wicket act as

  1. view
  2. controller
  3. Model
  4. 1 & 2
  5. 2 & 3
Question 16 Multiple Choice (Single Answer)

which object holds the data that can be shared by all users ?

  1. request
  2. page
  3. application
  4. session
  5. session store
Question 17 Multiple Choice (Single Answer)

which of the below java components has an associated mark up ?

  1. form
  2. panel
  3. webpage
  4. window
  5. fragment
Question 18 True/False

Java component and its associated markup should be in the same directory?

  1. True
  2. False
Question 19 True/False

Is the object referenced by a CompoundPropertyModel should be Serializable?

  1. True
  2. False