Search Header Logo

Arrays and ArryList

Authored by Yuba Siwakoti

Computers

University

Used 3+ times

Arrays and ArryList
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An ArrayList object automatically expands in size to accommodate the items stored in it.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java does not limit the number of dimensions an array may have.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The String[] args parameter in the main method header allows the program to receive arguments from the operating system command-line.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To determine if two arrays are equal you must compare each of the elements of the two arrays.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A sorting algorithm is a technique for scanning through an array and rearranging its contents in some specific order.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Objects in an array are accessed with subscripts, just like any other data type in an array.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A sorting algorithm is used to locate a specific item in a larger collection of data.

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?