Search Header Logo

Java Loops Review

Authored by Marat Jumadilov

Computers

9th Grade - University

Used 14+ times

Java Loops Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____ is the process of arranging a series of objects in some logical order.

Passing
Organizing
Sorting
Sending

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To declare a two-dimensional array in Java, you type two sets of ____ after the array type

{ }
[ ]
( )
< >

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With a two-dimensional array, the ____ field holds the number of rows in the array.

size
capacity
row
length

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Java statement creates a ragged array with six rows?

double [ ][ ] sales = new double[6][4]
double [ ][ ] sales = new double[4][6]
A.double [ ][ ] sales = new double[6][ ]
A.double [ ][ ] sales = new double[ ][6]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Programmers often refer to a ____ search as a “divide and conquer” procedure.

binary
bubble
division
split

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many times will the above loop iterate?

0
9
10
11

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Any 'for' loop can be replaced with 'Enhanced For' loop.

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?