Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

PPG 25 Feb 2022

PPG 25 Feb 2022

12th Grade

19 Qs

OPC MCQ's

OPC MCQ's

12th Grade - University

20 Qs

Programming 2 - Arrays

Programming 2 - Arrays

10th - 12th Grade

17 Qs

Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

APCSA Arrays

APCSA Arrays

9th - 12th Grade

20 Qs

Java 2D Arrays_Review

Java 2D Arrays_Review

11th Grade

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