Exam 17: Applets, Images, and Sound

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ command is part of the Java Development Kit (JDK), which provides a convenient environment in which to test your applets.

(Multiple Choice)
4.8/5
(34)

To run an applet from an HTML document, you add an <object> and ___________________ tag pair.

(Short Answer)
4.8/5
(34)

To compile an applet into bytecode, use the ____ command.

(Multiple Choice)
4.9/5
(37)

Match each term with the correct statement below. -Retrieves and plays the sound as soon as possible after it is called

(Multiple Choice)
4.8/5
(39)

How is an applet like a Java application?

(Essay)
4.8/5
(41)

The ___________________ method is always called after the init() and start() methods execute.

(Short Answer)
4.8/5
(40)

In the JApplet life cycle, a paint() method would always be called before the init() and start() methods.

(True/False)
4.8/5
(33)

If you want to place an image on a button, it is simplest to use the ____ class.

(Multiple Choice)
4.8/5
(45)

You can use an overloaded version of the Image class method drawImage() to output a scaled image.

(True/False)
4.8/5
(46)

When you write your own ____ method, you must include any actions you want your JApplet to take when a user revisits the JApplet.

(Multiple Choice)
4.7/5
(37)

___________________ is a Swing class from which you can inherit to create your own applet.

(Short Answer)
5.0/5
(33)

The name of a called applet must be a compiled Java applet with a .class file extension.

(True/False)
4.8/5
(45)

Invoking the ____ method after adding one or more JComponents to an applet ensures that the Components draw themselves on the screen.

(Multiple Choice)
4.8/5
(37)

How is an applet different from a Java application?

(Essay)
4.8/5
(31)

Applet code runs in a constrained area called a(n) ____.

(Multiple Choice)
4.9/5
(35)

You do not use the java command to execute an applet.

(True/False)
4.7/5
(43)

Briefly describe the image formats that Java supports.

(Essay)
4.8/5
(36)

Which of the following lines of code are used when creating a JApplet using only the init() method?

(Multiple Choice)
4.8/5
(36)

Which of the following statements will properly code the init() method header?

(Multiple Choice)
4.8/5
(34)

The GIF image format is more flexible than other formats and uses lossless data compression.

(True/False)
4.8/5
(38)
Showing 21 - 40 of 72
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)