Q11. A queue is modeled on a ____ structure. a. LIFO b. FIFO c. stack d. list Q1
ID: 3847580 • Letter: Q
Question
Q11. A queue is modeled on a ____ structure.
a. LIFO
b. FIFO
c. stack
d. list
Q12. A queue can only be stored as a linked list.
a. true
b. false
Q13. Whenever an application is modeled on a FIFO structure, ____ are used.
a. lists
b. queues
c. stacks
d. arrays
Q14. A queue is a last in first out data structure.
a. true
b. false
Q15. A technique in which one system models the behavior of another system is called simulation.
a. true
b. false
Q16. In a priority queue, customers or jobs with higher priority are pushed to the back of the queue.
a. true
b. false
Q17. Queue can be derived from the class ____.
a. LinkedListClass
b. stack
c. list
d. array
Q18. The addQueue method properly inserts an element to the queue and increments the variable count by one.
a. true
b. false
Q19. In a queuing system, the term server refers to the object that provides the service.
a. true
b. false
Q20. In a queuing system, the time it takes to serve a customer is referred to as the waiting time.
a. true
b. false
Explanation / Answer
Q11- A queue is modeled on a First In First Out Structure. In a queue the sequence in which the items are inserted and removed in the same sequence.
Q12-True- A queue can be stored as a linked list.
Q13-When ever an application is modeled on a FIFO structure Queues are used as in queues item which is inserted first will be removed first.
Q14-False. A queue is a First In First Out structure and A stack is a Last In First Out Structure.
Q15-True. Simulation is a process in which one system models the behaviour of another system.This model represents the key characterstics,behaviours and functionsof selected physical system or process.
Q16-False- In priority queues the jobs with higher priority are pushed to the front of the queue as the jobs with the highest priority are served before then the low priority jobs.
Q17-LinkedList Class.
Q18-True- the addQueue method inserts an element to the queue and increments the variable count by 1 this count is the position variable.
Q19-True a server in a queuing system is the object that provides the service for the queue management.
Q20-False. The waiting time of a queue is reffered to as the time a customer has to wait for its job to be done.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.