
Quarter 4 Mastery Test - Programming 10
Authored by Jean Tumaneng
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array is a data structure where values are stored adjacently and has something in common. What does each element in an array has something in common?
name and data type
name and subscript
data type and subscript
data type and superscript
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array has two essential parts: its elements and its subscript. What part directly indicates the length of the array?
elements
index
both element and index
neither element nor index
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In declaring an array, the following are the crucial elements that should be included in the statement. Otherwise, the array is declared incorrectly. Which one is NOT necessary in declaring an array?
array name
data type
array superscript
array subscript
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Using the declaration Dim values( ) As Integer = {1,2,3,4,5} , which of the following is NOT an allowed operation?
values(4) = 80
values(2) = values(1) – values(0)
values(3) = Inputbox(“Enter value for the 4th element”)
values(5) = 100
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Storing values in an array is also known as populating the array. This means giving each element in the array specific values. Check all ways than can populate an array.
Thru initialization in the declaration statement
Thru assignment operation
By accepting user input using input box
By retrieving values from previous execution
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array subscript or index is a unique identifier for each array element. True or False?
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose that you have declared an integer array named numbers, and two of its elements are numbers(1) and numbers(4). It is implied that ______.
the two elements hold the same value
the array holds exactly four elements
there are exactly two elements between those two elements
the two elements are at the same memory location
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?