Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

arrays and strings in java

arrays and strings in java

12th Grade

25 Qs

PPG 25 Feb 2022

PPG 25 Feb 2022

12th Grade

19 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

Java 2D Arrays_Review

Java 2D Arrays_Review

11th Grade

19 Qs

XI Arrays & Structtures 2023

XI Arrays & Structtures 2023

9th - 12th Grade

20 Qs

CSA Unit 3 Review

CSA Unit 3 Review

10th - 12th Grade

16 Qs

APCS A - Array 6.1,6.2,6.3,6.

APCS A - Array 6.1,6.2,6.3,6.

9th - 12th Grade

20 Qs

XII Pointers

XII Pointers

12th 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?