For a stack, the push method places a new item onto the stack. What method for the queue would do a similar task?

a. dequeue
b. isEmpty
c. enqueue
d. peek


c. enqueue

Computer Science & Information Technology

You might also like to view...

These objects are examples of ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

With ________ storage services, your files can be stored online and accessed from any Internet-connected device.

A. augmented B. mobile C. multimedia D. cloud

Computer Science & Information Technology

An organization can use either Social Security Number or Employee ID as the primary key for a table. These two fields are considered ____ keys.

A. primary B. candidate C. alternate D. index

Computer Science & Information Technology

A PERT diagram is useful when:

A) activities can be done in parallel rather than sequence. B) there is no slack time available. C) the project team needs to know which activities should be done at which point in time. D) activities do not have any precedent activities.

Computer Science & Information Technology