Arrays recap

Arrays recap

9th Grade

17 Qs

quiz-placeholder

Similar activities

Data Structure Quiz-1

Data Structure Quiz-1

University

22 Qs

DS Module 3 Linked List

DS Module 3 Linked List

University

15 Qs

Linked List

Linked List

University

14 Qs

AQA GCSE Computer Science - 3.2.6 Data structures

AQA GCSE Computer Science - 3.2.6 Data structures

8th - 10th Grade

20 Qs

Array

Array

University

15 Qs

C# Arrays

C# Arrays

9th - 12th Grade

12 Qs

Java Array Basics

Java Array Basics

10th - 12th Grade

15 Qs

12 CSC ATAR - programming skills and concepts

12 CSC ATAR - programming skills and concepts

12th 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?