Java 2 Quiz 9

Java 2 Quiz 9

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

CSS - Operating System

CSS - Operating System

11th Grade

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Grade 11 Final Exam

Grade 11 Final Exam

9th - 11th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Java 2 Quiz 9

Java 2 Quiz 9

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Lynn Hadley

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?