AP CS ArrayLists

AP CS ArrayLists

12th Grade

17 Qs

quiz-placeholder

Similar activities

Binary and Linear Search

Binary and Linear Search

9th - 12th Grade

18 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

12 Qs

Unit 8 - Searching and Sorting

Unit 8 - Searching and Sorting

9th - 12th Grade

15 Qs

Unit 8 Algorithms

Unit 8 Algorithms

9th - 12th Grade

18 Qs

Programming 2 - Arrays

Programming 2 - Arrays

10th - 12th Grade

17 Qs

2.1 Algorithms

2.1 Algorithms

10th - 12th Grade

20 Qs

Searching & sorting algorithms

Searching & sorting algorithms

10th - 12th Grade

21 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?