Which of the following is not an operation on a stack?

a) push
b) pop
c) peek
d) dequeue
e) all of the above are operations on a stack


d) dequeue

Computer Science & Information Technology

You might also like to view...

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

1.In a try block, the throw statement is always executed. 2. The catch block is a function. 3. The braces are not necessary on a try block. 4. The throw statement passes a value to the catch block. 5. The catch block is the group of statements that handle an exception.

Computer Science & Information Technology

When a collision is detected in Ethernet, it is resolved using

a. stop-and-wait ARQ b. go-back-N ARQ c. priority backoff d. random backoff

Computer Science & Information Technology

Where do you go to begin loading the Solver add-in?

A) What-If Analysis on the Data tab B) Add-In options on the File tab C) Install on the Add-Ins tab D) Options on the File tab

Computer Science & Information Technology

How do you access an instance property value?

What will be an ideal response?

Computer Science & Information Technology