ArrayList Review

ArrayList Review

10th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

C Programming Quiz

C Programming Quiz

12th Grade

25 Qs

A+ Chapter 2 Test

A+ Chapter 2 Test

11th Grade

26 Qs

♥️ شغف الحاسب

♥️ شغف الحاسب

11th Grade

25 Qs

Unions in C Programming

Unions in C Programming

10th Grade

25 Qs

komputer akuntansi

komputer akuntansi

12th Grade

25 Qs

DDPK - Ulangan

DDPK - Ulangan

10th Grade

25 Qs

C# Operators

C# Operators

10th Grade

25 Qs

PTS Desain Multimedia Interaktif

PTS Desain Multimedia Interaktif

12th Grade

25 Qs

ArrayList Review

ArrayList Review

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement describes dynamic resizing as is applies to the ArrayList class?
The size of a new ArrayList object must be specified at instantiation
The size of an ArrayList object can be restated throughout a program.
The size of an ArrayList object is fixed at instantiation.
An ArrayList object changes size dynamically as new elements are added or removed.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program?
names contains [Isolde, John, Greg, Maria, Heidi]
names contains [Heidi, Maria, Greg, John, Isolde]
names contains [John, Greg, Maria, Heidi]
names contains [Isolde, John, Greg, Maria]

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program segment?
John Greg Jessica Heidi
John Jessica Maria Heidi  
John Jessica Greg Maria Heidi
John Greg Jessica Maria Heidi

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program segment?
John Greg Jessica Heidi
John Jessica Maria Heidi  
John Jessica Greg Maria Heidi
John Greg Jessica Maria Heidi

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program segment?
John Maria
John Heidi  
Greg Heidi
Greg Maria 

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program segment?
John Maria
John Heidi  
Greg Heidi
Error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is the output of this program segment?
[Jessica, Isolde, Jessica, John, Jessica, Greg, Jessica, Maria, Jessica, Heidi] 
[Isolde, John, Greg, Maria, Heidi, Jessica, Jessica, Jessica, Jessica, Jessica]
[Jessica, Jessica, Jessica, Jessica, Jessica, Isolde, John, Greg, Maria, Heidi] 
            [Isolde, Jessica, John, Jessica, Greg, Jessica, Maria, Jessica, Heidi, Jessica]

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?