Arrays recap

Arrays recap

9th Grade

17 Qs

quiz-placeholder

Similar activities

Data Structures and Algorithms - Quiz 1

Data Structures and Algorithms - Quiz 1

University

13 Qs

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

SHS 9.4 Python

SHS 9.4 Python

9th Grade

19 Qs

Data Structures- Introduction

Data Structures- Introduction

University

20 Qs

Sorting Algorithms

Sorting Algorithms

12th Grade

20 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 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?