2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Media and Information Literacy Quiz No. 1

Media and Information Literacy Quiz No. 1

12th Grade

20 Qs

Leaders of The World

Leaders of The World

KG - University

10 Qs

4.2.1-3 Conflicts Revision

4.2.1-3 Conflicts Revision

12th Grade

15 Qs

MIS CONOCIMIENTOS

MIS CONOCIMIENTOS

4th Grade - University

10 Qs

HE_1101: Quiz  #2

HE_1101: Quiz #2

11th Grade

20 Qs

Habilidad verbal

Habilidad verbal

9th Grade

12 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Ôn tập Tin 11 trong thời gian nghỉ phòng chống dịch COVID-19

Ôn tập Tin 11 trong thời gian nghỉ phòng chống dịch COVID-19

11th Grade

20 Qs

2D Arrays

2D Arrays

Assessment

Quiz

Computers, Other

9th - 12th Grade

Hard

Created by

Alexandria Robles

Used 277+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 1 pt

Media Image

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

4

3

12

7

3.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 1 pt

Media Image

Given the code, which of the following fragments prints out every element of items?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Each piece of data in an array is BEST described as a what?

Integer and string

Item

Element

Elephant

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which BEST describes an array?

A data structure - Stores a collection of values under one name

A data collection - Stores a structure of values under one name

A list - Stores a list of numbers

A list - Stores a list of strings

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Each element in an array can be accessed using its what?

By counting in the items in the array

Position or index in the array

By printing the items in the array

By printing and counting the entire array

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers