A graph is a collection of nodes, called...... And line segments called arcs or..................... that connect pair of nodes.
vertices, paths
vertices, edges
graph node, edges
edges, vertices
In which traversal we process all of a vertex’s descendants before we move to an adjacent vertex.
Depth Limited
Width First
Breadth First
Depth First
To represent hierarchical relationship between elements, which data structure is suitable?
Graph
Tree
Dequeue
stack
Which of the following is true about stack ADT
Which among the following are applications of queues ?
Job Scheduling
Used in parsing
Evaluation of expressions
airline routing
This data structure allows deletions at both ends of the list but insertion at only one end.
DEqueue
Priority queue
Input restricted DEqueue
output restricted DEqueue
Convert the expression to the postfix form (a+b)*c-d/e
ab+c*de-/
ab+c*de/-
abc*+d-e/
abc*de/-+
If a queue is implemented with a linked list, keeping track of a front node and a rear node with two reference variables. Which of these reference variables will change during an insertion into anEMPTY queue ?