Arrays and Pointers Mcqs

Our collections of Multiple choice questions and answers focuses on study of ” Arrays and Pointers ” in Data Structures. These questions are chosen from a collection of most authoritative and best reference books on Data Structures. Our aim is to prepare an individual for competitive exams like NTS | GAT | ECAT | Data Warehouse jobs | Data Mining | DB administration jobs Software House and Computer Programmer jobs | University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate knowledge on Arrays and Pointers comprehensively.

2.
A collection of objects that need not be of same type, are stored in an

Domain

Aggregate

Structure

Module

4.
A matrix having a larger number of elements with zero value than the number of nonzero elements is said to be a_______.

Diagonal matrix

Sparse matrix

Triangular matrix

None of the above

5.
A matrix having irregular numbers of items in each row is known as___________.

Uniform matrix

Ragged matrix

Square matrix

None of the above

6.
A programmer can access a particular element of an array by using one or more_________.

Indices

Subscripts

Single-dimensional array

Both (a) and (b)

7.
A search is said to be successful or unsuccessful depending on whether the data item is_________.

Found or not

Not Found

It is irrelevant

None of the above

8.
A three-dimensional array can be declared as follows:

Int A[1]

Int A[2][2]

Int A[3][3][3],

None of the above

9.
A three-dimensional array is defined as an array in which ______ subscript values are used to access an individual array element.

Three

Two

One

None of the above

10.
A variable P is called pointer if

P contains the address of an element in DATA

P points to the address of first element in DATA

P can store only memory addresses

P contain the DATA and the address of DATA

11.
A …………………… does not keep track of address of every element in the list.

Stack

String

Linear array

Queue

13.
An adjacency matrix representation of a graph cannot contain information of :

Nodes

Edges

Direction of edges

Parallel edges

15.
An array can be____________type.

Single dimension

Two-dimensional

Three-dimensional

All of the above

0Shares
0
Scroll to Top