Implementing Classes
Fundamental Data Types
Primitive types
Convert Me
Strings and I/O
100
Their access specifier should always be private.
What is an instance variable?
100
Every value is either a reference to an object, or it belongs to one of these.
What is a primitive data type?
100
The type describing a single byte with the range -128 to 127.
What is a byte?
100
The hexadecimal representation of 171.
What is AB?
100
The class used to read keyboard input in a console window.
What is Scanner?
200
The process of hiding data implementation details and providing methods for data access.
What is encapsulation?
200
Occurs when the result of a computation exceeds the range of the number type.
What is overflow?
200
Larger than a byte and smaller than an int.
What is a short?
200
The binary representation of 49.
What is 110001?
200
Instructions provided to the user before calling a Scanner method.
What is a prompt?
300
They have no return type.
What is a constructor?
300
Denotes the largest number that can be represented in an int.
What is Integer.MAX_VALUE?
300
The single-precision floating point type.
What is float?
300
The integer representation of 1101
What is 13?
300
The character used as an escape sequence character.
What is the backslash character?
400
The object on which a method is invoked
What is an implicit parameter?
400
Has an access specifier, return type, name, and parameters.
What is a method?
400
The type with the two truth values.
What is boolean?
400
The integer representation of hex 4F?
What is 79?
400
Adding strings together to make longer strings.
What is concatenation?
500
The reference that denotes the implicit parameter in a method or constructor.
What is this?
500
This problem is caused because computers represent numbers in binary and there is no exact representation of 1/10.
What are rounding errors?
500
Represents code units in the Unicode encoding scheme.
What is char?
500
The Hex representation of 1010?
What is A?
500
The method used to to obtain the number of characters in a string.
What is length?
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
CSC 102 - Exam 2 Review
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs