How to explain capacity of the queue

Assignment Help Computer Engineering
Reference no: EM133238

Question

A queue has definite characteristics as listed below-

Head-the next item to exit queue is always the head.

Tail-the next item to enter queue will always enter at the tail.

Length of the queue-the number of items in queue (between head and tail).

Capacity of the queue-the maximum number of items that queue can hold.

Position of each item-a queue can have any number of items between the head and tail, but each item has a position within the overall order.

A queue can be implemented using a homogeneous array and a tail counter. The head of array is always the first element of the array. Every time an item exits the queue, the other items are stimulated up. New items are always added to the end of the array. The capacity of queue is equal to the capacity of the array. The tail counter specifies location of the tail in the array.

Analyze queue implementation previously specified for purposes of effectiveness. Identify the conditions under that implementation tends to deteriorate in efficiency. Recommend an improved implementation.

Reference no: EM133238

Questions Cloud

Advantages and disadvantages of implementing a dfs : Advantages and disadvantages of implementing a DFS
Enterprise application that integrates the erp concept : Presentation Server, Application Server, Database Server, Software application Architecture, SAP approach to a traditional Information system, benefits and drawbacks of SAP, different SAP application modules, automation and process of enterprise appl..
Tcp connections experience data segment loss : TCP connections experience data segment loss
Private base class function declared public in derived class : Private base class function declared public in derived class
How to explain capacity of the queue : How to explain capacity of the queue
Graph a flowchart or pseudocode : Graph a flowchart or pseudocode
Efficient kitchen supervision depends on the organization : Hygiene in food production, Nutrition in food service, Hors d'oeuvres, Aperitifs, Aging of meat, Méthode Champenoise, some cooking methods are only applicable to some types of food
How to exchange the floating point number : How to exchange the floating point number
A system that calculates and returns the mean and a method : A system that calculates and returns the mean and a method

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a program that reads in a list of positive integers

Write a program that reads in a list of positive integers. Write down a program which asks user to respond to a question by entering either 1 for yes or 2 for no.

  Describe software construction

Describe software construction

  Describe python modules and packages

Describe Python modules and packages

  How to illustrate a memory map for a system

Illustrate a memory map for a system with a memory capability of 512MB. Each memory location in system is 8 bits.

  Explain the design for the memory subsystem

Explain the design for the memory subsystem

  Can you suggest process for choosing appropriate data-mining

Consider on how you would know if a computer were thinking like a human.

  Write down mips program that prompts user for a string

Write down MIPS program that prompts user for a string

  What is bobs private key

What is Bob's private key?

  Findout which one is false statement

Findout which one is false statement.

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Library management system

Prepare a module which can exhibit the Library Management System

  Generate the tables attach the primary key and foreign key

Generate the tables attach the primary key and foreign key

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd