Exam 2: Using Data
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
In Java, when a numeric variable is concatenated to a String using the ____, the entire expression becomes a String.
(Multiple Choice)
4.8/5
(37)
A ____ data type can hold 14 or 15 significant digits of accuracy.
(Multiple Choice)
4.8/5
(40)
Describe how the Scanner class works with the System.in object in order to provide flexibility.
(Essay)
4.8/5
(28)
The ____ is the type to which all operands in an expression are converted so that they are compatible with each other.
(Multiple Choice)
4.8/5
(48)
A(n) ____________________ operator compares two items and the result has a Boolean value.
(Short Answer)
4.7/5
(37)
Constants hold a single value for the duration of the program execution.
(True/False)
4.8/5
(41)
MATCHING
Match each term with the correct statement below.
-Rules for the order in which parts of a mathematical expression are evaluated
(Multiple Choice)
4.9/5
(37)
Write the statement that will declare a char data type named testScore that will hold a letter grade of your choice.
(Short Answer)
4.9/5
(41)
Each primitive type in Java has a corresponding class contained in the java.lang package. These classes are called ____ classes.
(Multiple Choice)
4.8/5
(50)
You are limited to declaring a maximum of three variables in a single statement.
(True/False)
4.9/5
(30)
Once a variable has been declared and initialized, new values may not be assigned to the variable.
(True/False)
4.8/5
(39)
MATCHING
Match each term with the correct statement below.
-Created by placing the desired result type in parentheses
(Multiple Choice)
4.9/5
(40)
Which of the following is NOT a component of a variable declaration statement?
(Multiple Choice)
5.0/5
(38)
A data item is ____ when it cannot be changed while a program is running.
(Multiple Choice)
4.7/5
(41)
MATCHING
Match each term with the correct statement below.
-A programming term for an unknown value
(Multiple Choice)
4.8/5
(38)
In Java, how is it possible to perform mathematical operations on operands with unlike types?
(Essay)
4.7/5
(33)
What is an escape sequence and why would a Java programmer use it to store a character?
(Essay)
5.0/5
(34)
____________________ forces a value of one data type to be used as a value of another type.
(Short Answer)
4.9/5
(43)
Write the statement that will declare and assign two integer variables, salesAmt and costAmt, in a single statement. Assign values of your choice to the variables.
(Essay)
4.7/5
(47)
Showing 21 - 40 of 74
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)