Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.)What will happen if you use </CENTER> instead of </center> in an HTML documen

ID: 3593136 • Letter: 1

Question

1.)What will happen if you use </CENTER> instead of </center> in an HTML document?

A.)The text inside the tag will be centered and appear in all uppercase letters.

B.)The tag will be ignored.

C.)An exception will be thrown.

D.)The text inside the tag will be centered just the same.

2.)The ________ object is responsible for drawing the entire applet window.

A.)SuperClass

B.)JFrame

C.)Applet

D.)Graphics

3.)In an applet, events are handled:

A.)With special applet event listeners

B.)With event listeners, exactly as they are in GUI applications

C.)Differently, depending on which computer is running the applet

D.)By always terminating the applet

4.)When you extend an interface, you must implement all the methods defined in the interface. If you are interested in only one or two mouse events, you can extend the ________ class which implements the MouseListener interface, but does not require you to write all the functions in the interface.

A.)MouseExtender

B.)MouseMotionAdapter

C.)MouseAdapter

D.)MouseMotionExtender

Explanation / Answer

1.)What will happen if you use </CENTER> instead of </center> in an HTML document?

Answer: D.)The text inside the tag will be centered just the same.

2.)The ________ object is responsible for drawing the entire applet window.

Answer: D.)Graphics

3.)In an applet, events are handled:

Answer: B.)With event listeners, exactly as they are in GUI applications

4.)When you extend an interface, you must implement all the methods defined in the interface. If you are interested in only one or two mouse events, you can extend the ________ class which implements the MouseListener interface, but does not require you to write all the functions in the interface.

Answer: C.)MouseAdapter