If the letters 'A', 'B', 'C', and 'D' are inserted into a queue, in what order are they removed?

a. ABCD
b. DCBA
c. DBCA
d. BACD


a. ABCD
A queue uses a FIFO (first-in, first-out) ordering; so, elements that were inserted first are removed first.

Computer Science & Information Technology

You might also like to view...

The shared resource configuration provides the following interfaces to a client: Resource, Resource requested, ________ , and resource-specific interfaces.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The item marked 2 in the accompanying figure is the ____ layer.

A. mask B. guide C. motion guide D. masked

Computer Science & Information Technology

Which of the following is a feature in Excel that can often perform the same task as the PROPER function?

A) Flash Fill B) Fill handle C) INDEX D) CONCATENATE

Computer Science & Information Technology

Which of the following is not a Java AWT portability issue?

a. GUI components that have different looks on different platforms may use different amounts of space. b. GUI components may have different default functionality. c. Different platforms may have different representations of integers. d. All of the above.

Computer Science & Information Technology