Smartindia Classroom
CONTENTS
English
Maths
Physics
Chemistry
Biology
Computer
Back to home
Start Practice
Question-1
What refers to an array with two indexes?
(A)
Dynamic array
(B)
Two dimensional array
(C)
Multi-dimensional array
(D)
Single dimensional array
Question-2
How to access the elements of an array?
(A)
Using datatype
(B)
Using array index
(C)
Vectors
(D)
None of these
Question-3
What is the starting index of an array?
(A)
One
(B)
Zero
(C)
Two
(D)
None of these
Question-4
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-5
What is the syntax for declaring a single dimensional array?
(A)
array arrayName[size];
(B)
datatype arrayName;
(C)
datatype arrayName[size];
(D)
none of above
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
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-8
What refers to the method of associating values during declaration?
(A)
Initialization
(B)
Searching
(C)
Sorting
(D)
None of these
Question-9
Which concept is used for initializing the two dimensional arrays?
(A)
Major concept
(B)
Row major concept
(C)
Z- axis concept
(D)
None of these
Question-10
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.
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