In a priority queue, what does the add method do when handling a new item and the new item is greater than or equal to the item at the rear?

A. it adds the item to the front
B. it puts the item in a wrapper
C. it adds the item to the rear
D. it increases the size of the queue


Answer: C

Computer Science & Information Technology

You might also like to view...

Special characters not found on the keyboard can be entered using ____ elements, as shown in the accompanying figure.

A. binary B. character C. decimal D. integral

Computer Science & Information Technology

Which of the following are the three major characteristics of WANS?

a. Use serial connections b. Require the services of telephone companies c. Connect remote devices that are on the same LAN d. Connect devices on remote LANs e. Use the Internet rather than a carrier

Computer Science & Information Technology

Copyright infringement is the unauthorized use of one or more of the rights of a copyright holder.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

You can change the ____ of labels and values in cells to be left, right, or center.

A. font B. font size C. cell style D. alignment

Computer Science & Information Technology