2 D Arrays

2 D Arrays

10th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN

Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN

11th Grade

20 Qs

logic gates lecture question week 5.1

logic gates lecture question week 5.1

10th - 11th Grade

20 Qs

Pretest

Pretest

10th Grade

20 Qs

Bài 11. Tệp và quản lý tệp

Bài 11. Tệp và quản lý tệp

10th Grade

20 Qs

Ôn tập học kỳ I

Ôn tập học kỳ I

9th - 12th Grade

20 Qs

El Computador

El Computador

5th - 11th Grade

20 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Database e SQL

Database e SQL

11th Grade

20 Qs

2 D Arrays

2 D Arrays

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Anne Kohart

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

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

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given the code, what is in values[2][1] ?

7.9

9.2

7.3

0.5

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given the code, what is the value of things.length ?

4

3

12

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following:

double [][] stuff ;

Which of the following statements constructs an array with 5 rows of 7 columns each and assign its reference to stuff ?

stuff = new stuff[5][7] ;

stuff = new double[5][7] ;

new stuff = double[5][7] ;

stuff = double new[5][7] ;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the statement a[1].length return?

3

4

2

1

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given the code, what is in values[2][1] ?

7.9

9.2

7.3

0.5

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given the code, what is the value of things.length ?

4

3

12

7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following:

double [][] stuff ;

Which of the following statements constructs an array with 5 rows of 7 columns each and assign its reference to stuff ?

stuff = new stuff[5][7] ;

stuff = new double[5][7] ;

new stuff = double[5][7] ;

stuff = double new[5][7] ;

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?