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

1. If 5 items are added to a stack, the first item to be removed from the stack is the first item that was added to the stack.

2. A stack has a first in, first out property.

3. The peek operation of the ADT stack changes the stack.

1. False.
2. False.
3. False.

Computer Science & Information Technology

You might also like to view...

The ________ command substitutes found text with new text or formatting

Fill in the blank(s) with correct word

Computer Science & Information Technology

Validation rules prevent invalid data from being entered into a field

Indicate whether the statement is true or false

Computer Science & Information Technology