Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

-maxQueueSize: int -count: int -queueFront: int -queueRear: int -*list: Type +op

ID: 3615775 • Letter: #

Question

-maxQueueSize: int
-count: int
-queueFront: int
-queueRear: int
-*list: Type

+operator=(cost queueType<Type>&): constqueueType<Type>&
+initializeQueue( ): void
+destroyQueue( ): void
+isEmptyQueue( ): bool
+isFullQueue( ): bool
+addQueue(const Type&): void
+front( ): Type
+back( ): Type
+deleteQueue( ): void
+queueType(int = 100)
+queueType(const queueType<Type>&)
+-queueType( )


Which of the following members in the UML diagram keeps track ofthe number of elements in a queue at a given point in time?
a) maxQueueSize     b) isFullQueue
c)count                   d) num

Which of the following members in the UML diagram removes anelement from the front of the queue?
a) destroyQueue       b) front
c) deleteQueue         d)removeQueue

Which of the following members in the UML diagram adds an elementto the front of the queue?
a)front                    b)addQueue
c)back                    d) None of the above


Explanation / Answer

please rate - thanks what you're suggesting is Karma abuse-this is 1 question it shouldbe answered as 1. if one person couldn't answer all partsthen multiple people could answer -maxQueueSize: int -count: int -queueFront: int -queueRear: int -*list: Type +operator=(cost queueType&): constqueueType& +initializeQueue( ): void +destroyQueue( ): void +isEmptyQueue( ): bool +isFullQueue( ): bool +addQueue(const Type&): void +front( ): Type +back( ): Type +deleteQueue( ): void +queueType(int = 100) +queueType(const queueType&) +-queueType( ) Which of the following members in the UML diagram keeps track ofthe number of elements in a queue at a given point intime?            -shouldn't need to know this a) maxQueueSize     b) isFullQueue c)count                   d) num Which of the following members in the UML diagram removes anelement from the front of the queue? a) destroyQueue       b) front c)deleteQueue        d) removeQueue Which of the following members in the UML diagram adds an elementto the front of the queue? a)front                    b)addQueue c)back                    d) None of the above       you add to the back of a queue remove fromthe front of the queue, unless this is a double sided queue thenyou could add or remove from either, but then addQueue would needan indicator of which side to add to, and it doesn't haveone *please feel free to answer in multiple posts i will rate allcorrect answers, thank you