Data Structure |Basic Array Multiple Choice Questions and Answers


Hello Friends in this article we are going to discuss about Arrays Objective type question | Array Multiple Choice Questions and answers | Array Online Mock test for University Examination | Data Structure Multiple Choice Questions

1.An array is ____

  1. collection of items stored at memory locations
  2. collection of items stored at contiguous memory locations
  3. collection of items stored at different memory locations
  4. None of these

Ans : 2.

Explain : An array is a collection of items stored at contiguous memory locations.

2.In array The base value is index ____

  1. one
  2. zero
  3. null
  4. none of these

Ans : 2.

Explain : In array The base value is index 0s memory locations.

3.Array size can be change or not?

  1. yes
  2. no

Ans : 2.

Explain : Array size can not be changed once it is declared.

4.Array size can be Shrink or not?

  1. yes
  2. no

Ans : 2.

Explain : Array size can not be Shrink once it is declared.

5.Array size can be Expand or not?

  1. yes
  2. no

Ans : 2.

Explain : Array size can not be Expand once it is declared.


6.The first element of the array is indexed by a subscript of 0 is called?

  1. zero-based indexing
  2. one-based indexing
  3. n-based indexing
  4. None of these

Ans : 1.

Explain : The first element of the array is indexed by a subscript of 0 is called zero based indexing.

7.The first element of the array is indexed by a subscript of 1 is called?

  1. zero-based indexing
  2. one-based indexing
  3. n-based indexing
  4. None of these

Ans : 2.

Explain : The first element of the array is indexed by a subscript of 1 is called one based indexing.

8.The base index of an array can be freely chosen is called?

  1. zero-based indexing
  2. one-based indexing
  3. n-based indexing
  4. None of these

Ans : 3.

Explain : The base index of an array can be freely chosen is called n-based indexing.

9.How array can be declared?

  1. int arr[] = {2,3,5};
  2. int arr[10]
  3. int bar [5] = { 10, 20, 30 };
  4. All of these

Ans : 4.

Explain : Array can be declared based on given answer.

10.What is advantage of array?

  1. Arrays represent multiple data items of the same type
  2. You can’t change the size
  3. Here Insertion(s) and deletion(s) are difficult
  4. None of these

Ans : 1.

Explain : Advantage of array is Arrays represent multiple data items of the same type.


Leave a Reply

Your email address will not be published. Required fields are marked *