1.
Which group of data would not make a valid Stack?
- ’s’, ’t’, ’a’, ’c’, ’k’, ’s’
- No, this is valid for a stack. Check the reading for what types of data a stack can have.
- "Stacks"
- No, a stack can have only one item.
- 115, 116, 97, 99, 107
- No, this is valid for a stack similar to A. Check the reading.
- "St", ’a’, "ck", ’s’
- Yes, stacks should have data of the same type.