Smartindia Classroom
CONTENTS
English
Maths
Physics
Chemistry
Biology
Computer
Back to home
Start Practice
Question-1
How to access the elements of an array?
(A)
Using datatype
(B)
Using array index
(C)
Vectors
(D)
None of these
Question-2
What refers to a list of elements with common name?
(A)
Dynamic array
(B)
Two dimensional array
(C)
Multi dimensional array
(D)
Single dimensional array
Question-3
What refers to the smallest element of an array index?
(A)
Upperbound
(B)
Range
(C)
Lowerbound
(D)
All the above
Question-4
What kind of data is an array index?
(A)
Integer
(B)
Float
(C)
String
(D)
None of these
Question-5
Which type of array is used to implement matrices?
(A)
Dynamic array
(B)
Two dimensional array
(C)
Multi-dimensional array
(D)
Single dimensional array
Question-6
What is the syntax of a two dimensional array?
(A)
array arrayName[][];
(B)
datatype arrayName;
(C)
datatype arrayName[][];
(D)
none of above
Question-7
Which datatype is an array?
(A)
User defined data type
(B)
Primitive data type
(C)
Derived data type
(D)
Absolute data type
Question-8
Which of the following is a two-dimensional array?
(A)
array anarray[20][20];
(B)
int anarray[20][20];
(C)
int array[20, 20];
(D)
char array[20];
Question-9
Which is the best statement that defines array?
(A)
It is a collection of items that share a common name.
(B)
It is a collection of items that share a common name and occupy consecutive memory location.
(C)
It is a collection of items of same type and storage class that share a common name and occupy consecutive memory location.
(D)
None of above.
Question-10
How many types of arrays are there?
(A)
Two
(B)
Four
(C)
Three
(D)
None of above
Your Score 0/10
Click
here
to see your answersheet and detailed track records.
Cambridge Secondary Grade 8
IGCSE
Practice in Related Chapters
Computer Networks
Computer Programs
Toolbox and its Controls
Introduction to Visual Basic
Trouble Shooting
Types and components of computer system
MS Access
Presentation Authoring
QBASIC Graphics and Sound
Arrays
Powered By