Array(3)

Array(3)

Assessment

Flashcard

Computers

10th Grade

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

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?