arrow
arrow
arrow
Maintaining a graph in memory by means of its adjacency matrix is known as:
Question

Maintaining a graph in memory by means of its adjacency matrix is known as:

A.

Complete Representation

B.

Linked Representation

C.

Circular Representation

D.

Sequential Representation

Correct option is D


The method of representing a graph using an adjacency matrix stores information about the presence or absence of edges between vertices in a two-dimensional array. This type of storage technique aligns with the concept of sequential representation, where elements (like matrix rows and columns) are stored in a contiguous memory layout. This representation is particularly efficient for dense graphs and allows quick edge lookup operations through direct indexing. Therefore, using an adjacency matrix for storing graphs corresponds to sequential representation.
Information Booster:
1. Sequential Representation:
· Stores data structures like arrays or matrices in a continuous block of memory.
· In graph representation, an adjacency matrix (2D array) is used to indicate direct connections (edges) between vertices.
· Suitable for dense graphs where most of the possible edges are present.
Additional Knowledge:
· Complete Representation: Not a standard term in graph representation; might imply full edge details, but not an established category.
· Linked Representation: Refers to representing graphs using adjacency lists, where each vertex has a linked list of its adjacent vertices. It is efficient for sparse graphs.
· Circular Representation: This term is generally used in circular linked lists or queues, not in standard graph representation techniques.

Free Tests

Free
Must Attempt

Basics of Education: Pedagogy, Andragogy, and Hutagogy

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon12 Mins
languageIcon English
Free
Must Attempt

UGC NET Paper 1 Mock Test 1

languageIcon English
  • pdpQsnIcon50 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt

Basics of Education: Pedagogy, Andragogy, and Hutagogy

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon12 Mins
languageIcon English

Similar Questions

test-prime-package

Access ‘UGC NET Computer Science’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow