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
Match each term with the correct statement below.
-A GUI object resembling a window in which you can place messages you want to display
(Multiple Choice)
5.0/5
(39)
When you run a Java application using the ____ command, do not add the .class extension to the filename.
(Multiple Choice)
4.9/5
(31)
If you modify a class, what are the steps you must take to see your changes in the executing program?
(Essay)
4.8/5
(33)
When you define a Java class using an identifier, what are the requirements you need to know?
(Essay)
4.9/5
(40)
____ refers to the hiding of data and methods within an object.
(Multiple Choice)
4.9/5
(39)
public class Hello
{
public static void main(String[] args)
{
_________________________
}
{
Using the given code, write the statement in the main() method body that will produce the output "Hello to all!".
(Essay)
5.0/5
(40)
Match each term with the correct statement below.
-Translates an entire program before carrying out the statement
(Multiple Choice)
4.9/5
(41)
A ____ is an error not detected until the program asks the computer to do something wrong, or even illegal, while executing.
(Multiple Choice)
4.9/5
(34)
Match each term with the correct statement below.
-Allow you to assign intuitive names to areas of computer memory
(Multiple Choice)
4.7/5
(39)
A program written in ____ is the most basic circuitry-level language.
(Multiple Choice)
4.8/5
(23)
The ____________________ is also called the Java class library; it contains information about how to use every prewritten Java class, including lists of all the methods you can use with the classes.
(Short Answer)
4.8/5
(39)
Regarding code layout, what would be an equally valid and legal way to write the following Java code:
public static void main(String[] args)
{
System.out.println("First Java application");
}
(Essay)
4.8/5
(37)
public class FindMyErrors
{
public static void main(String[] args)
{
System.out.println("My application with errors)
}
Given the above code, identify three separate syntax errors.
(Essay)
4.9/5
(37)
Match each term with the correct statement below.
-Any combination of nonprinting characters
(Multiple Choice)
4.8/5
(36)
You use an import statement when you want to access a built-in Java class that is contained in a group of classes called a(n) ____________________.
(Short Answer)
4.8/5
(38)
Although not a requirement, it is Java standard that class identifiers begin with an uppercase letter and use other uppercase letters to improve readability.
(True/False)
4.9/5
(43)
System software is used for tasks such as word processing, calculations and playing games.
(True/False)
4.9/5
(31)
A(n) ____________________ error occurs when the syntax of the program is correct and the program compiles but produces incorrect results when you execute it.
(Short Answer)
4.8/5
(32)
Explain the purpose of arguments and why it is necessary to pass arguments to a method.
(Essay)
4.7/5
(36)
Showing 41 - 60 of 68
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)