Awesome Arrays
Surprising Strings
Obtuse Objects
Random Randoms
Murky Miscellanea
100
data structures that contain a fixed length of related data items
What is an array?
100
a symbol typically used for a math operation, that can also be used for string concatenation?
What is the plus (+) symbol?
100
the keyword used to tell the compiler it is time to set aside space and create an object based upon its class definition
What is "new"?
100
SecureRandom
What is improved (over Random) class that provides pseudorandom number generation?
100
int, double, boolean, byte, char, float, short, long
What are the 8 primitive types in Java?
200
the name given to the "spot" of an array denoted inside [ ] (square brackets)
What is the array index?
200
immutable
What is a surprising feature of Strings in Java that means Strings cannot change?
200
constructors cannot return values (hint: true or false?)
What is true about constructors that differentiates them from methods?
200
seed
What is value that is used to "start off" the stream of random numbers generated by the computer, used for repeatability purposes?
200
name of the technique that is used when there is more than one method with the same name (in the same class)
What is overloading?
300
[ ][ ] (when is this used)
What is the representation for a 2-D array?
300
length()
What is the name of the method from the String class that is called on a single String and returns an integer indicating how long the String is?
300
getX method
What is the typical method name for retrieving a private variable named X?
300
0,1,2,3
What are the possible values generated by randomNumbers.nextInt(4) (assuming proper initialization, declaration, etc)?
300
Java API
What is the abbreviation for "Java Application Programming Interface"?
400
double[ ] array; array = new double[33];
What is the declaration AND creation of an array containing 33 double values?
400
character array
What is an alternate data representation for a String in Java that is common in C and other languages?
400
constructor
What is used to create and initialize a new object of a specified class?
400
the package in which the class SecureRandom is located
What is security?
400
static
What is the type/category of method that is declared/used at the class (not object) level?
500
a non-negative integer
What is the rule for an array index?
500
== vs equals
What are the different symbols for comparing String locations in memory vs contents?
500
default constructor
What is a constructor which takes no parameters AND is provided by the compiler when no other constructors exist?
500
6, 10, 14, 18, 22
What are the possible values generated by: 6 + randomNumbers.nextInt(5) * 4 (assuming correction declaration, initialization, etc)?
500
the meanings of + and - (in a UML diagram)
What are the symbols used to indicate public and private access modifiers in UML diagram?
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
CS152-SP2
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