info@jobexams.pk

MCQ Detailed View

Explore the question in detail with explanation, related questions, and community discussions.

1 DATABASE MCQS

Array is an example of?

  • Single Data Structure
  • Linear Data Structure
  • Compound Data Structure
  • None of these
Correct Answer: B. Linear Data Structure

Detailed Explanation

An array is an example of a Linear Data Structure. In a linear data structure, data elements are arranged in a sequential manner where each element is connected to the one before and after it. Arrays store multiple values of the same data type in a continuous memory location. Each element in an array is accessed using an index, starting from zero.


For example, in an array of five integers, the elements are stored one after the other in memory. This makes accessing elements fast and easy using their index positions.

Discussion

Thank you for your comment! Our admin will review it soon.
No comments yet. Be the first to comment!

Leave a Comment