Data Structures (3130702) MCQs

MCQs of Linear Data Structure: Array

Showing 1 to 3 out of 3 Questions
1.

An array element are always stored in __________memory locations.

(a)

Sequential

(b)

Random

(c)

Sequential and Random

(d)

None of these

Answer:

Option (a)

2.

Which is correct syntex for declaration of two dimension array

(a)

int a(10)(10)

(b)

int a[10][10]

(c)

int a{10}{10}

(d)

int a[10,10]

Answer:

Option (b)

3.

An m X n matrix is said to be ________ if  " many" of its elements is zero.

(a)

dense

(b)

sparse

(c)

one dimensional matrix

(d)

null matrix

Answer:

Option (b)

Showing 1 to 3 out of 3 Questions