Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

To meet the horizon

To meet the horizon

11th - 12th Grade

20 Qs

DATA STRUCTURES

DATA STRUCTURES

12th Grade

20 Qs

Array

Array

10th - 12th Grade

15 Qs

Unit 8 - Searching and Sorting

Unit 8 - Searching and Sorting

9th - 12th Grade

15 Qs

Python Programming

Python Programming

11th Grade

17 Qs

AP Computer Science A Quiz

AP Computer Science A Quiz

12th Grade

15 Qs

APCSA Unit 6 Review Arrays

APCSA Unit 6 Review Arrays

9th - 12th Grade

17 Qs

Debugging

Debugging

10th Grade

20 Qs

Java 2 Quiz 9

Java 2 Quiz 9

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Lynn Hadley

Used 24+ times

FREE Resource

20 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

In a(n) ____, you repeatedly compare pairs of items, swapping them if they are out of order, eventually creating a sorted list.
range match
bubble sort
enhanced for loop
A.float sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array that you can picture as a column of values, and whose elements you can access using one subscript, is a ____ array.
single-dimensional
two-dimensional
parallel
column

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When mathematicians use a two-dimensional array, they often call it a ____.
grid
net
matrix
mesh

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you create an array named someNumbers that holds three rows and four columns?
int[ ][ ] someNumbers = new int[4][3]
int[ ][ ] someNumbers = new int[3][4]
int[ ] someNumbers = new int[3][4]
double[ ][ ] someNumbers = new int[3][4]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To declare a two-dimensional array in Java, you type two sets of ____ after the array type
{ }
[ ]
( )
< >

7.

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

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?