Professional Documents
Culture Documents
Instructions:
Solution must be in Handwritten form.
Solution must be provided in group of 4 students.
Late Submissions will not be acknowledged.
Question 1
Write the values of Front and Rear for Linear QUEUE for the following conditions
Question 2
Consider a DEQUE (Double Ended Queue) having memory cells N = 5. Initially the queue is
empty. Perform thefollowing operations and update the values of Left and Right. Initially Left
= 1 and Right =3.
Question 3
What is priority queue? Write the real world and computer science example of Priority
Queue.
Question 4
Draw Binary Expression Tree for the following equations.
i. A OR B OR C OR (D AND E)
ii. NOT ((A AND NOT B) OR (C XOR D))
Question 5
Traverse the following graphs using the following methods. Also represent the through adjacency list
and adjacency matrix.