Exam 1: Creating Your First Java Classes
Exam 1: Creating Your First Java Classes76 Questions
Exam 2: Using Data81 Questions
Exam 3: Using Methods, Classes and Objects79 Questions
Exam 4: More Object Concepts84 Questions
Exam 5: Making Decisions80 Questions
Exam 6: Looping77 Questions
Exam 7: Characters, Strings and the Stringbuilder82 Questions
Exam 8: Arrays77 Questions
Exam 9: Advanced Array Concepts80 Questions
Exam 10: Introduction to Inheritance78 Questions
Exam 11: Advanced Inheritance Concepts78 Questions
Exam 12: Exception Handling79 Questions
Exam 13: File Input and Output78 Questions
Exam 14: Introduction to Swing Components79 Questions
Exam 15: Using Javafx and Scene Builder65 Questions
Select questions type
Match each term with the correct statement below.
Premises:
Self-contained block of code that carries out an action
Responses:
Java virtual machine (JVM)
method
high-level programming languages
Correct Answer:
Premises:
Responses:
Free
(Matching)
4.9/5
(23)
Correct Answer:
Match each term with the correct statement below.
Premises:
Allow you to assign intuitive names to areas of computer memory
Responses:
high-level programming languages
compiler
Java virtual machine (JVM)
Correct Answer:
Premises:
Responses:
Free
(Matching)
4.9/5
(43)
Correct Answer:
Match each term with the correct statement below.
Premises:
Repairing syntax errors
Responses:
compiler
whitespace
dialog box
Correct Answer:
Premises:
Responses:
Free
(Matching)
4.8/5
(35)
Correct Answer:
If you modify a class, what are the steps you must take to see your changes in the executing program?
(Essay)
4.8/5
(42)
Given the statement: System.out.println("First Java application"); out refers to ____.
(Multiple Choice)
4.9/5
(50)
Provide examples of logic errors. How do programmers minimize logic errors in their code?
(Essay)
4.9/5
(38)
____ 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
(39)
You must use the Java interpreter to translate the bytecode into executable statements before running a Java application.
(True/False)
4.9/5
(37)
If an object's methods are well written, the user is unaware of the low-level details of how the methods are executed, and the user must simply understand the interface or interaction between the method and the object.
(True/False)
5.0/5
(33)
A(n) ____ error occurs when the syntax of the program is correct and the program compiles but produces incorrect results when you execute it.
(Multiple Choice)
4.9/5
(26)
Match each term with the correct statement below.
Premises:
The characteristics that define an object
Responses:
attributes
high-level programming languages
method
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(38)
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
(46)
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
(37)
Using the given code, which statement in the main() method body will produce the output "Hello to all!". public class Hello
{
public static void main(String[] args)
{
____
}
{
(Multiple Choice)
4.9/5
(28)
System.out.println("First Java application");
Given the above code, identify and describe the use of a literal string and the use of parentheses.
(Essay)
4.9/5
(38)
Java contains a class named ____ that allows you to produce dialog boxes.
(Multiple Choice)
4.9/5
(37)
In Java, the reserved keyword ____ means that a method is accessible and usable even though no objects of the class exist.
(Multiple Choice)
4.8/5
(37)
Locating and repairing all syntax errors is part of the process of ____ a program.
(Multiple Choice)
4.8/5
(31)
Showing 1 - 20 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)