Unit 3 (Arrays) Review

Unit 3 (Arrays) Review

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Software development  set #1

Software development set #1

11th Grade

9 Qs

C++ Recursion

C++ Recursion

8th - 12th Grade

12 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

9-сынып. Python массив.

9-сынып. Python массив.

1st - 9th Grade

10 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

Unit 6 Computer Science Arrays

Unit 6 Computer Science Arrays

10th - 12th Grade

5 Qs

Final Review - Unit 1

Final Review - Unit 1

9th - 12th Grade

15 Qs

Unit 3 (Arrays) Review

Unit 3 (Arrays) Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Jim Andress

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are arrays useful?

It saves storage space storing multiple values under one variable name

You can store integers and strings together

You can store data related to different topics

You can store related data together rather than storing each value separately

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All elements in an array must have exactly the same type.

true

false

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many lines of output will the following code produce?

5

6

9

12

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

How many lines of output will the following code produce?

5

6

9

12

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

After running the following code, what is the sum total of all the elements within values?

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What does the following Java code print?

7.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

The goal of the method is to fill each entry in the arr array with the number of elements that follow it. For instance, if the input was an array of length 4, the returned array would be {3, 2, 1, 0}.

What should fill in the blank so that the method works as desired?

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?