adplus-dvertising
frame-decoration

Question

What can we say about the array representation of a circular queue, when it contain only one element?

a.

Front = Rear = Null

b.

Front = Rear +1

c.

Front = Rear -1

d.

Front = Rear ≠ Null

Answer: (d).Front = Rear ≠ Null

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What can we say about the array representation of a circular queue, when it contain only one element?

Similar Questions

Discover Related MCQs

Q. The order of binary search algorithm is

Q. The average search time of hashing with linear probing will be less if the load factor

Q. A graph in which all node are of equal degree called as

Q. A vertex of degree one is called as

Q. A simple graph with n vertices and k components can have at most

Q. Which of the following sorting procedure is the slowest?

Q. The recurrence relation T(n) = mT(n/2) + an² is satisfied by

Q. The terminal vertices of a path are of degree

Q. A circuit in a connected graph which includes vertex of the graph is known as

Q. Let X is the adjacency matrix of a graph a with no self-loops. The entries along type principle diagonal of X are

Q. Which of the following is similar to direct files?

Q. Which of the following are not file Organization?

Q. A Linear Collection Of Data Elements Where The Linear Node Is Given By Means Of Pointer Is Called _________

Q. The processing of accessing data stored in a tape is similar to manipulating data on a

Q. Which of the following is true for binary search tree?

Q. Which of the following is true for walk in a graph

Q. The number of comparison required in heap sort under worst case is

Q. The searching technique which there are no unnecessary comparisons is called

Q. The balanced sort tree is also known as

Q. A sort which used binary tree concept such that any number is larger than all the numbers in the sub tree below it, is called