Search Header Logo

Java Chapter 7 Review Questions

Authored by Alejandro Hidalgo

Computers

Professional Development

Used 3+ times

Java Chapter 7 Review Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an array declaration, this indicates the number of elements that the array will have

subscript

size declarator

element sum

reference variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each element of an array is accessed by a number know as a(n):

subscript

size declarator

address

specifier

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The first subscript in an array is always

1

0

-1

1 less than the number of elements

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The last subscript in an array is always

100

0

-1

1 less than the number of elements

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array bounds checking happens:

when the program is compiled

when the program is saved

when the program runs

when the program is loaded into memory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This array field holds the number of elements that the array has

size

elements

length

width

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This search algorithm steps through an array, comparing each item with the search value

binary search

sequential search

selection search

iterative search

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?