1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
serg [7]
3 years ago
14

In an array based implementationof a queue a possible solution to dealing with the full condition is to

Computers and Technology
1 answer:
kati45 [8]3 years ago
6 0

Answer:

D. Maintain a count of queue items.

Explanation:

For checking the full condition of a queue you have to  check whether the number of elements in the array are equal to the size of the array.If they are equal then we can that the queue is full.

Checking frontindex equal to backindex is for checking if the queue is empty.

In option C we have to check for arrayFullException but it will not be a good approach.

So we conclude by saying that the answer is option D.

You might be interested in
TO COMPUTING IN BUSINE
Diano4ka-milaya [45]

Answer:

<em>the</em><em> </em><em>correct</em><em> </em><em>answer</em><em> </em><em>is</em><em> </em><em>a.</em><em> </em><em>Word</em><em> </em><em>processing</em><em>.</em>

Explanation:

<em><u>hope</u></em><em><u> </u></em><em><u>this</u></em><em><u> </u></em><em><u>works</u></em><em><u> </u></em><em><u>out</u></em><em><u>!</u></em><em><u>!</u></em><em><u>!</u></em><em><u>!</u></em><em><u>!</u></em>

5 0
3 years ago
An App (Application) is a computer program designed to support a specific task?
Anton [14]
Assuming this is a true or false statement, the answer would be 

- True. 
7 0
3 years ago
You work for manufacturing company who operate a hybrid infrastructure with systems located both in a local Datacentre and in AW
kotegsom [21]

Answer: Copy the files from the NAS to an S3 bucket with the One Zone-IA class

Explanation:

Th one Zone -IA class with S3 bucket has reduced cost but offers the same durability for which the files needs to be copied from NAS to access them faster.

8 0
3 years ago
Which of the following statements is NOT correct?
Ainat [17]

Answer: B)  Pseudocode should be properly formatted.

Explanation:

 Pseudocode is defined as in the informal description of the given sequence, there is no need that it should be formatted properly. There is no such restriction required in the pseudocode as they are read by the humans not by the computer programs.

Pseudocode should be terminating, executable and unambiguous and it uses structural convention of the programming language rather than using machine reading.

4 0
3 years ago
________ is a crime that uses mock (fake) sites to trick people into sharing information.
Elan Coil [88]
<span>Phishing is a crime that uses mock (fake) sites to trick people into sharing information.</span>
5 0
3 years ago
Other questions:
  • With a ____ indent, all lines except the first line of the paragraph are indented from the left margin.
    12·1 answer
  • Given the following method definitions: void mystery(double a) { System.out.print("double! "); } void mystery(int a) { System.ou
    12·1 answer
  • What effect does screen resolution have on how graphics are displayed?
    7·1 answer
  • I need help with this problem please
    9·1 answer
  • Many web browsers include _____ tools to make it easier for designers to locate the source of a style that has been applied to a
    11·1 answer
  • What provides access to the internet and may also be internal?
    8·2 answers
  • write the program or pseudocode algorithm that computes the product and average of three integers and display the results​
    7·1 answer
  • User Interface Design ensures that the interface has elements that are easy to ________________. (Choose all that apply)
    10·2 answers
  • Karen is designing a website for her uncle's landscaping business. She wants to ensure that it's engaging and provides a lot of
    5·1 answer
  • In order to enhance the training experience and emphasize the core security goals and mission, it is recommended that the execut
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!