Which of the following is a non-linear data structure?

2016

Which of the following is a non-linear data structure?

Answer: A. GraphA graph is a non-linear data structure because its elements are not arranged sequentially. It consists of nodes (vertices) connected by edges, forming a…

  1. A.

    Graph

  2. B.

    Array

  3. C.

    Queue

  4. D.

    Linked List

Attempted by 1644 students.

Show answer & explanation

Correct answer: A

A graph is a non-linear data structure because its elements are not arranged sequentially. It consists of nodes (vertices) connected by edges, forming a hierarchical or network relationship. In contrast, arrays, queues, and linked lists store data linearly. Therefore, option A is correct.

Explore the full course: Up Police Computer Operator

Loading lesson…