A queue is a data structure in which the elements are ____.

A. added to the rear and deleted from the front
B. added to and deleted from the rear
C. added to and deleted from the front
D. added and deleted in the middle


Answer: A

Computer Science & Information Technology

You might also like to view...

The command outFile.width(10) is used to

a. change the number of characters in the output b. sets the filename of outFile to 10 characters c. always uses 10 characters to display the output d. displays the next value in at least 10 characters

Computer Science & Information Technology

The command find / name "file?" print

a: displays the absolute pathnames such as file1, filea, fileA b: searches from the home directory c: searches from the current directory d: finds all files that have filenames such as myfile or yourfile e: all of the above

Computer Science & Information Technology

By default, a summary report also includes a detail area showing unsummarized fields at the record level. This level can be hidden in either Layout or Design view

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is not true about a drawing canvas?

A) It is useful for when you are creating an object involving several shapes. B) The drawing canvas can be deleted and the objects on it will remain. C) You can format the canvas just like any other object. D) This is designed to keep multiple objects together.

Computer Science & Information Technology