AP CS ArrayLists

AP CS ArrayLists

12th Grade

17 Qs

quiz-placeholder

Similar activities

Searching and Sorting

Searching and Sorting

10th - 12th Grade

20 Qs

MICS Unit 10 and 11 Retest

MICS Unit 10 and 11 Retest

9th - 12th Grade

20 Qs

Жанар214

Жанар214

9th Grade - University

15 Qs

Unit 5 Part 2 Assessment Review

Unit 5 Part 2 Assessment Review

12th Grade

15 Qs

Linked Lists in Visual Basic

Linked Lists in Visual Basic

12th Grade

15 Qs

Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

APCSA Algorithms

APCSA Algorithms

9th - 12th Grade

12 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

AP CS ArrayLists

AP CS ArrayLists

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Christina Perry

Used 24+ times

FREE Resource

17 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do I find the number of items in an array named colors?

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do I find the number of items in an ArrayList named schools?

3.

DROPDOWN QUESTION

1 min • 1 pt

How do I create an ArrayList of integers?

ArrayList​​​ <Interger> num = ​ (a)   ArrayList<Integer>();

new
Integer
int
String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print?

"Richland"

"Bombers"

There will be a compiler error

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print out?

12

0

14

9

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will print out with the following code?

cuddler

a

dog

my

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What can I write in the /* Missing Code */ so that the following statement works as intended?

ArrayList<String> newList = /* Missing Code */

I only

III Only

I and III

II and III

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?