Exam 17: Applets, Images, and Sound
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
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)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)