Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARRAY IMPLEMENTATION OF CIRCULAR QUEUE
Post: #1

ARRAY IMPLEMENTATION OF CIRCULAR QUEUE


.docx  ARRAY IMPLEMENTATION OF CIRCULAR QUEUE.docx (Size: 16.2 KB / Downloads: 17)


Algorithm

Step 1: [Include All Header Files Required]
Step 2: [Define the array size as 5 and declare front and rear pointers]
Step 3: Declare the functions isEmpty() , isFull(), enqueue(), size(),dequeue(), peek() and
view()]
Step 4: [Call the functions]
Choice :1 CALL enqueue()
Choice :2 CALL deenqueue()
Choice :3 CALL peek()
Choice :4 CALL size()
Choice :5 CALL view()

Algorithm for isEmpty( )

Step 1: [Check for underflow]
If ( front -1 and rear -1 )
RETURN -1
Step 2: Else RETURN 0
[Finish the process]


Algorithm for isFull( )

Step 1: [Check for overflow]
If (= (rear+1)% qsize front )
RETURN -1
Step 2: Else RETURN 0
[Finish the process]
 

Marked Categories : circular queue, array implementation of circular queue, array implementation of circular queue pdf, seminar on array and queue,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  vlsi implementation based of steganography using fpga with verilog vhdl code Guest 1 183 18-04-2017 03:03 PM
Last Post: jaseela123
  verilog implementation of carry bypass adder Guest 0 0 09-04-2017 08:24 PM
Last Post: Guest
  implementation of reversible logic gates using verilog Guest 1 188 08-04-2017 03:11 PM
Last Post: jaseela123
  queue management system in bank design and code in jsp Guest 2 1,372 07-03-2017 11:03 AM
Last Post: jaseela123
  Implementation of Solar inverter for home / garden / street light applications Refer Guest 2 1,292 20-02-2017 09:55 AM
Last Post: jaseela123
  implementation of mind control robot ppt and pdf Guest 0 460 17-02-2017 09:25 PM
Last Post: Guest
  implementation of child labour laws in india wikipedia Guest 0 291 17-02-2017 09:25 PM
Last Post: Guest
  adder implementation with fpga using vhdl Guest 0 153 17-02-2017 09:25 PM
Last Post: Guest
  project report for fpga implementation of aes algorithm Guest 0 207 17-02-2017 09:25 PM
Last Post: Guest
  multi-band metamaterial antenna based on a circular air slotted mushroom unit cell Guest 0 244 17-02-2017 09:25 PM
Last Post: Guest
This Page May Contain What is ARRAY IMPLEMENTATION OF CIRCULAR QUEUE And Latest Information/News About ARRAY IMPLEMENTATION OF CIRCULAR QUEUE,If Not ...Use Search to get more info about ARRAY IMPLEMENTATION OF CIRCULAR QUEUE Or Ask Here

Options: