Fundamentals of Data Structures(Python)
Chapter 7 Review Questions
1. Examples of stacks are
a. Customers waiting in a checkout line
b. A deck of playing cards
c. A file directory system
d. A line of cars at a tollbooth
e. Laundry in a hamper
2. The operations that modify a stack are called
a. Add and remove
b. Push and pop
3. Stacks are also known as
a. First-in, first-out data structures
b. Last-in, first-out data structures
4. The postfix equivalent of the expression 3 + 4 _ 7 is
a. 3 4 + 7 _
b. 3 4 7 _ +
5. The infix equivalent of the postfix expression 22 45 11 _ –is
a. 22 –
PayPal Gateway not configured
PayPal Gateway not configured