Arrays recap

Arrays recap

9th Grade

17 Qs

quiz-placeholder

Similar activities

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

8525 AQA GCSE 3.2.6 Data Structures

8525 AQA GCSE 3.2.6 Data Structures

10th Grade

20 Qs

CP M8 Assessment Review

CP M8 Assessment Review

9th - 12th Grade

17 Qs

Data Structures and Algorithm

Data Structures and Algorithm

University

20 Qs

Algorithms Review

Algorithms Review

10th Grade

18 Qs

Exit Ticket - Linked Lists and HashTables

Exit Ticket - Linked Lists and HashTables

11th Grade

12 Qs

Basics of Data Structure

Basics of Data Structure

University

20 Qs

Data Structures Quiz 1

Data Structures Quiz 1

12th Grade - University

18 Qs

Arrays recap

Arrays recap

Assessment

Quiz

Computers

9th Grade

Medium

Created by

nadeem asghar

Used 1+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Arrays always have the same...
data types
text types
numbers
types of data

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Values in arrays cannot be changed.
False
True

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

var groceries = ["milk", "sugar", "eggs", "cake"];
What is the value of groceries[2] in the above array?
"milk"
"sugar"
"eggs"
"cake"

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image
What is printed by the following lines of code?
eggs
bread
2
sugar

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

var arr = [1, 4, 55, 23, 11, 2];
What is the value of arr.length?
5
6
9
2

7.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

How many types of arrays are there?

One-Dimension Array

Two-Dimension Array

Three Dimension Array

five Dimension Array

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?