Array(3)

Array(3)

Assessment

Flashcard

Computers

10th Grade

Practice Problem

Easy

Created by

Trupti Dave

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

19 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In java, array elements are stored in ________ memory locations.

Back

Sequential

2.

FLASHCARD QUESTION

Front

For the array: int stats[3]; What is the range of the index?

Back

0 to 2

3.

FLASHCARD QUESTION

Front

int [] nums = {2, 3, 5, 8, 9, 11}; How would you access the fourth element in nums?

Back

nums[3]

4.

FLASHCARD QUESTION

Front

How to access the first value of an array called quizzes?

Back

quizzes[0] = 100;

5.

FLASHCARD QUESTION

Front

Given the following method, what would test return if
a = {0, 2, 3, 4} and v = 1?
Options: -1, 0, 1, 2

Media Image

Back

-1

6.

FLASHCARD QUESTION

Front

What value is at index 1 in this array?  String[] names = {"Mack", "Dennis", "Dee", "Charlie"};

Back

Dennis

7.

FLASHCARD QUESTION

Front

True or False: An array can store different types of data (like store both doubles and ints).

Back

False

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?