
Collections
Authored by Jose Diaz
Computers
1st Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Identify examples of autoboxing. Please select 3 options.
Float f = 2.0;
Float f = 2.0f;
Byte b = 2;
Character c = 2;
String s = "x";
2.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Identify examples of auto-unboxing. Please select 2 options.
int getValue(){ return new int[]{ 1 }; }
new ArrayList<Integer>().add(1);
List<Integer>.of(1, 2, 3 );
int ival = optionalInt.get(); //assuming optionalInt is of type Optional<Integer>
long lv = Integer.valueOf(10);
3.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which interfaces does java.util.NavigableMap extend directly or indirectly? . Please select 2 options.
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
1
2
3
4
None of these
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
[b]
[c]
[b, c, a]
[a, b, c, a]
Exception at runtime
6.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of these implementations for collection framework interfaces are provided in the standard JDK?. Please select 3 options.
TreeMap
ArrayMap
HashSet
ArrayList
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
ArrayList<Vehicle> al1 = new ArrayList<>();
al1.add(new SUV());
ArrayList<Drivable> al2 = new ArrayList<>();
al2.add(new Car());
ArrayList<Drivable> al3 = new ArrayList<>();
al3.add(new SUV());
ArrayList<SUV> al4 = new ArrayList<>();
al4.add(new Car());
ArrayList<Vehicle> al5 = new ArrayList<>();
al5.add(new Car());
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Pseudo code Practice 1
Quiz
•
1st - 3rd Grade
10 questions
Coding (STEM)
Quiz
•
1st - 5th Grade
10 questions
Computer system architecture
Quiz
•
1st - 3rd Grade
10 questions
Python-Partie10
Quiz
•
1st Grade
10 questions
Computer Networks - Introduction
Quiz
•
1st - 5th Grade
12 questions
Intro to Scratch 2
Quiz
•
KG - University
15 questions
Spreadsheet
Quiz
•
1st - 3rd Grade
10 questions
Dasar C++
Quiz
•
KG - 3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade