2 D Arrays

2 D Arrays

10th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Format File Gambar

Format File Gambar

12th Grade

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Quiz ASJ

Quiz ASJ

12th Grade

20 Qs

Kiểm tra 15 phút  (Kết thúc chuyên đề A)

Kiểm tra 15 phút (Kết thúc chuyên đề A)

10th Grade

20 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

CSS Acronyms

CSS Acronyms

9th - 10th Grade

20 Qs

Lecture Exercise Topic 1.3

Lecture Exercise Topic 1.3

12th Grade

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

Discover more resources for Computers