Data structures 2: Stacks and Queues
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Jerry Jackson Bent
Used 323+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 QUESTION
30 sec • 1 pt
What two operations do stacks require?
Push
Draw
Stretch
Drag
Pop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation adds a new item onto the top of the stack?
Pull
Push
Add
Multiply
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation removes the item from the top of the stack
Pull
Add
Pop
Subtract
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A stack containing 'Dog' 'Cat' & 'Rat' . What will happen if you carry out a pop operation on the stack ?
Noting
Cat will be removed
Dog will be removed
Rat will be removed
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If you carry out a pop operation on this stack what will you be left with?
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
Q2-Week1-Multimedia and ICT
Quiz
•
11th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
10 questions
Berfikir komputasi
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
