Data structures 2: Stacks and Queues

Quiz
•
Computers
•
11th Grade
•
Medium
Jerry Jackson Bent
Used 319+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Algorithm Complexity Quiz

Quiz
•
9th - 12th Grade
20 questions
Berpikir Komputasional

Quiz
•
9th Grade - University
13 questions
OCR ALevel CS: 1.3.2 Networks

Quiz
•
10th - 12th Grade
10 questions
Management Bandwidth XI Fase F

Quiz
•
11th Grade
10 questions
SOAL PRE TES BANDWIDTH

Quiz
•
9th - 12th Grade
18 questions
Linked List

Quiz
•
KG - University
10 questions
Kuis_ Informatika_SMA KELAS X

Quiz
•
9th - 12th Grade
10 questions
BTEC DIT C3 LAC - Data Protection

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade