Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Array List

Array List

11th Grade

15 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

Data Structures

Data Structures

12th Grade

15 Qs

Java Lab Code.org AP CSA

Java Lab Code.org AP CSA

9th - 12th Grade

18 Qs

Array

Array

10th - 12th Grade

20 Qs

Lists and 2d lists(arrays)

Lists and 2d lists(arrays)

12th Grade

16 Qs

2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

Practice <ultiple Choice - APCSA

Practice <ultiple Choice - APCSA

9th - 12th Grade

18 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?