
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
It is basically, a variable that can store multiple values with the same data type.
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 Wayground
10 questions
Java Arrays

Quiz
•
University
13 questions
Array of Structure

Quiz
•
University
9 questions
Data Structures and Algorithm

Quiz
•
University
12 questions
Quiz 2 - Stack

Quiz
•
University
12 questions
Chapter 2-1: Array Part 1

Quiz
•
University
15 questions
C Programming Array Concepts

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
10 questions
Java Static

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade