It is basically, a variable that can store multiple values with the same data type.

Module 8: Arrays

Quiz
•
Computers
•
University
•
Hard
ROBERT JONAS SALAZAR TAN
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
List
Array
Object
Int
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Arrays best work with..
if else
while loop
do-while loop
for loop
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The correct syntax of declaring an array is?
dataType arrayName [arraySize];
dataType arrayName = [arraySize];
dataType arrayName [ ];
arrayName dataType [arraySize];
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
The correct syntax of assigning values upon declaration/ intitialization is?
dataType arrayName [arraySize] = { value1, value2, value3 };
dataType arrayName = [arraySize] { value1, value2, value3 };
dataType arrayName [ ] = { value1, value2, value3 };
arrayName dataType { value1, value2, value3 } [arraySize];
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In an array with a size of 10, what is the first index?
0
1
9
10
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Given the array
int list [ ] = { 1, 2, 3, 4 };
what is the value of list [ 0 ]
1
4
2
0
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In initializing or assigning values upon declaration in multi-dimensional array, arraySize is optional.
True
False
Cannot be determined.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python Workshop Day - 2

Quiz
•
University
11 questions
Recap Chapter 6, 7, 8

Quiz
•
University
15 questions
Computer Science Quiz

Quiz
•
University
10 questions
Array

Quiz
•
University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
12 questions
Array

Quiz
•
University
10 questions
C++ Array Quiz

Quiz
•
University
15 questions
Array Java

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade