This page requires a JavaScript-enabled browser
Instructions on how to enable your browser are contained in the help file.
Chapter 12 Arrays - 1
1.
A Collection of subscripted variables with same valuable name is
a) Line number
b) Array
c) Column
d) Circle
2.
Strings or numbers may be assigned to the subscripted variables in an array by using the statement.
a) DATA
b) READ
c) None of them
d) Both a, b
3.
The important use of array is to store data that are used later for
a) All are correct
b) Additional purpose
c) Multiplication purpose
d) Comparison purpose
4.
The number of elements that BASIC assigns automatically in one dimensional array are.
a) 10
b) 9
c) 12
d) 11
5.
The statement DIM X(30,50) would reserves
a) 1500 locations
b) 150 locations
c) 1800 locations
d) 80 locations
6.
The number of arrays that can be declared with a single DIM statement may be
a) Any number
b) 1
c) 3
d) 2
7.
The statement to reserve memory location for an array P arranged in 15 columns and 10 rows may be
a) P (15, 10)
b) DIM (15, 10)
c) DIM P (15, 10)
d) DIM P (10, 15)
8.
Which of the following is not a valid subscript?
a) B(4)
b) A(2)
c) A(-2)
d) Num(10)
This is more feedback!
This is the feedback!