Quarter 4 Mastery Test - Programming 10

Quarter 4 Mastery Test - Programming 10

9th Grade

8 Qs

quiz-placeholder

Similar activities

C++ Arrays

C++ Arrays

8th - 12th Grade

12 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Array

Array

University

12 Qs

ArrayList

ArrayList

10th - 12th Grade

11 Qs

C++ Array

C++ Array

University

10 Qs

Arrays

Arrays

University

11 Qs

Arrays

Arrays

12th Grade

10 Qs

Java Arrays

Java Arrays

University

10 Qs

Quarter 4 Mastery Test - Programming 10

Quarter 4 Mastery Test - Programming 10

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Jean Tumaneng

FREE Resource

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

Media Image
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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have declared an integer array named values, and two of its elements are values(1) and values(4). It is correct to say that _________.
values(4) is larger than values(1)
the array has at least five elements
the array has been initialized
the two elements are three bytes apart in the memory