Exam 1: Creating Java Programs
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
Write a line comment and block comment for the following line of code identifying the author, date, and purpose of the method.
System.out.println("Hello Students");
(Essay)
4.8/5
(36)
Match each term with the correct statement below.
-Series of characters that will appear in output exactly as entered
(Multiple Choice)
4.9/5
(48)
You must use the Java interpreter to translate the bytecode into executable statements before running a Java application.
(True/False)
4.9/5
(44)
Identify why a class named first would be different from a class named FIRST. Explain why it is important to be aware of uppercase and lowercase values when writing Java programs?
(Essay)
4.8/5
(40)
JOption.Pane.showMessageDialog(null, "Show my message");
The showMessageDialog() method above requires two arguments. What are the two arguments and what is the purpose of each argument?
(Essay)
4.9/5
(39)
____________________ comments are a special case of block comments that are used to generate documentation.
(Short Answer)
5.0/5
(31)
Match each term with the correct statement below.
-The rules for the programming language
(Multiple Choice)
4.9/5
(41)
public class First {
Public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies the name of the class?
(Multiple Choice)
4.7/5
(42)
Match each term with the correct statement below.
-Hypothetical computer used to run a Java program
(Multiple Choice)
4.9/5
(42)
If you receive an error that states, "Exception in thread 'main' java.lang.NoClassDefFoundError," when you try to execute the application, you probably do not have your ____ set correctly.
(Multiple Choice)
4.9/5
(32)
In a ____ environment, you can change directories using the cd command. For example, to change to a directory named MyClasses, you type cd MyClasses and press Enter.
(Multiple Choice)
4.9/5
(30)
A compiler ignores whitespace (that is, any combination of nonprinting characters) between words and lines.
(True/False)
4.7/5
(30)
Dots (or periods) in a Java statement are used to separate the names of the components that make up the statement.
(True/False)
4.9/5
(28)
____ describes the feature of languages that allows the same word to be interpreted correctly in different situations based on the context.
(Multiple Choice)
4.8/5
(37)
Java contains a class named ____ that allows you to produce dialog boxes.
(Multiple Choice)
4.9/5
(34)
After a successful compile, you can run the class file on any computer that has a ____.
(Multiple Choice)
4.8/5
(38)
In programming, named computer memory locations are called ____________________ because they hold values that might vary.
(Short Answer)
4.9/5
(34)
What are some of the reasons the javac command might not be recognized?
(Essay)
4.9/5
(41)
____ are pieces of information that are sent into, or passed to, a method, usually because the method requires the information to perform its task or carry out its purpose.
(Multiple Choice)
4.9/5
(28)
Showing 21 - 40 of 68
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)