PreTrainingCollectionsArrays

PreTrainingCollectionsArrays

Professional Development

9 Qs

quiz-placeholder

Similar activities

ICT, GSUITE TOOLS, GOOGLE MEET , ZOOM

ICT, GSUITE TOOLS, GOOGLE MEET , ZOOM

Professional Development

10 Qs

Multidimensional OLAP Cubes for Business Intelligence

Multidimensional OLAP Cubes for Business Intelligence

Professional Development

14 Qs

General C#

General C#

Professional Development

10 Qs

cybersecurity I

cybersecurity I

Professional Development

14 Qs

How well do you know our HCUs and their initiatives?

How well do you know our HCUs and their initiatives?

Professional Development

13 Qs

JUNTOS+

JUNTOS+

Professional Development

14 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

Strategy for Implementing Product / Service Customization

Strategy for Implementing Product / Service Customization

Professional Development

10 Qs

PreTrainingCollectionsArrays

PreTrainingCollectionsArrays

Assessment

Quiz

Computers, Professional Development

Professional Development

Practice Problem

Medium

Created by

Keven N Mitchell

Used 22+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Which of the following is a difference between an Array and an ArrayList?

Arrays can change in size

ArrayLists can store primitive values

Arrays are not a class in the collections Framework

ArrayLists can be created with an array literal

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

How do we retrieve an element at a particular index from an ArrayList?

using square brackets

using the find method

using the get method

using the pop method

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

True/False: collections can contain primitive variables

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is true for a HashMap?

HashMaps can be used in a for-each loop

HashMaps can store duplicate keys

HashMaps store entries in Key,Value pairs

HashMaps can store primitive values

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Queues store values in __in, __out order

Last, First

First, Last

First, First

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Stacks store values in __in, __out order

Last, Last

First, First

Last, First

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

To pull an element from a queue and reduce the size by 1, we use the ____ method

find

push

poll

get

Access all questions and much more by creating a free account

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

Already have an account?