Smartindia Classroom
CONTENTS
English
Maths
Physics
Chemistry
Biology
Computer
Back to home
Start Practice
Question-1
What kind of data is an array index?
(A)
Integer
(B)
Float
(C)
String
(D)
None of these
Question-2
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-3
What refers to an array with two indexes?
(A)
Dynamic array
(B)
Two dimensional array
(C)
Multi-dimensional array
(D)
Single dimensional array
Question-4
Which of the following correctly declares an array?
(A)
int anarray[10];
(B)
int anarray;
(C)
anarray{10};
(D)
array anarray[10];
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 refers to the smallest element of an array index?
(A)
Upperbound
(B)
Range
(C)
Lowerbound
(D)
All the above
Question-7
What is meant by multidimensional array?
(A)
Array with more than two indexes.
(B)
Array with one index.
(C)
Array with two indexes.
(D)
None of above.
Question-8
Which of the following correctly accesses the seventh element stored in foo, an array with 100 elements?
(A)
A [6];
(B)
A [7];
(C)
A (7);
(D)
A;
Question-9
Which datatype is an array?
(A)
User defined data type
(B)
Primitive data type
(C)
Derived data type
(D)
Absolute data type
Question-10
What is the syntax of a two dimensional array?
(A)
array arrayName[][];
(B)
datatype arrayName;
(C)
datatype arrayName[][];
(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