# data[].attributes.body
1.queue is an abstarct data structure, a queue is like a line of people waiting for a bank teller. the queue has a front and rear.

2.-print document and lines in atm..

3.the difference betweeen linear and circular queue lies in the structural and performance factors. The essential difference between the linear queue and the circular queue is that the linear queue consumes more space than the circular queue, while the circular queue was devised to limit the memory wastage of the linear queue.

4.First in first out the first item insert to a queue is the first item to leave

# data[].attributes.body
1) Queue is a new items that enter all the back or rear of the queue. Item leave from the front of the queue. Using FIFO (First In First Out)
2) - Luggage checking machine.
-Patients waiting outside the doctor's clinic.
3) The differences between linear and circular is the linear queue consumes more space than the circular queue, while the circular queue was devised to limit the memory wastage of the linear queue.
4) First In First Out (FIFO) rule is used where elements are processed in the order in which they arrive.

# data[].attributes.body
1. New items enter at the back, or rear, of the queue. Items leave from the front of the queue

2. ▶️Cashier lines in any store
▶️Check out a bookstore

3. Linear = The new elements is added from the rear and removed from the front
Circular array = insertion and deletion can be done at any position

4. FIFO operation in queue igs first items inserted into queue and is first items to leave

# data[].attributes.body
1.a line or sequence of people or vehicles awaitinh their turn to be attended to or to proceed

2. a.ticket counter,first person get ticket first and go out first

b. vehicle on road waiting for traffic light

3. different between linear queue and circular queue is a performance of linear queue is inefficient, also a circular queue is a works better than the linear queue

4.a queue is a container of objects that are inserted and removing according to the first-in first-out (FIFO) principle. An excellent example of a queue is a line of students in the food court.🤗

# data[].attributes.body
1) Queue is new items enter at the back, or rear, of the queue.

2) - A line of people waiting for a bank teller.
The first person in queue will leave the counter.
- Cashier lines in any store.
The first person can settle their payment will leave first.
- Printer sharing between computer.
Who first pressed the paper he would go out first.

3) - The difference between linear and circular queue lies in the structural and perfomance factors.
- Linear can use once in a time.
- Circular can reuse it again.

4) First-in, first-out (FIFO)
- The first item inserted into a queue is the first item to leave
- Middle elements are logically inaccessible

# data[].attributes.body
1.Queue is new item enter at the back, or rear of the queue, items leave from the front of the queue. Use first in first out(FIFO)

2.- people waiting for a bank , who is the first come is the first out
- printer sharing between computer , who is the click frint first,will be the first out

3. - Linear can use once in a time
- Circular can reuse it again

4. FIFO is add a data first into the queue is the first item to leave

# data[].attributes.body
1. Queue is an abstract data structure, somewhat similar to stack but queue is open at both it's ends. Queue follows First in First out methodology,for example taitem tored first will be accessed fist.

2. - Traffic jam - the first car is stop when red then the first which stop is will go first when the light is green.
- Take number,go counter and get money from bank - the people will take the number for the machine with give the number, the first number it given the first people who have it will go to counter and get money

3.The difference between linear and circular array is the linear is can just been use one because the data after been dequeue is can't change the rear, storage waste.
, Circular array can been use many time after the data been dequeue data.

4.First in First out - the first item inserted into a queue is the first item to leave.

# data[].attributes.body
1. New item enter at the back or rear of the queue and item leave from the front of the queue. Use concept FIFO. First in first out.

2. - Line of people waiting for a bank the first person can settle their counter first
- Print lines of a document is when who the person that enter the button first,so their paper will come out first

3. i: The variable of queue in linear array is rear and front while the variable of queue in circular array is rear, front and count.
ii: Circular can reuse data while linear can't reuse data
iii: Linear requires more memory and secular requires less memory
iv: Linear less efficient and secular more efficient
v: Linear store data as sequence of elements similar to a real world queue while secular in which the last item connects back to the first item forming a circle

4: FIFO is First In First Out. The first item inserted into a queue is the first item to leave

# data[].attributes.body
Assalamualaikum.
Hai guys..

Please snap ur group picture, then state ur group name here.

Put Ur Answer By state the Question Number.

1.    What is Queue?
2.  Give TWO example of queue in real life
3. What the differences of queue in linear and queue in circular array?
4. Explain FIFO operation in queue.