Data structures 2: Stacks and Queues

Assessment
•
Jerry Jackson Bent
•
Computers
•
11th Grade
•
300 plays
•
Medium
Student preview

15 questions
Show answers
1.
Multiple Choice
What is a stack?
A data structure that adds the last added data item.
A data structure that increases data items first.
Data structure that removes the last added data item first
A data structure that multiplies data items
2.
Multiple Select
What two operations do stacks require?
Push
Draw
Stretch
Drag
Pop
3.
Multiple Choice
What operation adds a new item onto the top of the stack?
Pull
Push
Add
Multiply
4.
Multiple Choice
What operation removes the item from the top of the stack
Pull
Add
Pop
Subtract
5.
Multiple Choice
If you have a stack containing 'A' 'D' 'G' . What will happen if you push 'C' into the stack?
'C' Will be added on top of the stack
'C' Will be added from the bottom of the stack
'C' Will be removed from the stack
'C' Will not be added to the stack
Explore all questions with a free account
Find a similar activity
Create activity tailored to your needs using
AS Data Structures

•
10th Grade - University
Arrays, lists, tuples, stacks and queues

•
11th - 12th Grade
Data Structures

•
10th Grade - University
Data Structures: Stacks and Queues

•
11th Grade
Stacks, queues, hash

•
11th - 12th Grade
Stacks & Queues

•
11th Grade
Understanding Stacks and Queues Quiz

•
11th Grade
Understanding Stacks and Queues

•
11th Grade