Data structures 2: Stacks and Queues

Quiz
•
Computers
•
11th Grade
•
Medium
Jerry Jackson Bent
Used 318+ 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
20 questions
Uji Pemahaman Koding dan Kecerdasan Buatan

Quiz
•
11th Grade
16 questions
Algoritma dan Struktur Data

Quiz
•
10th Grade - University
13 questions
{CC} questions

Quiz
•
9th - 12th Grade
20 questions
Stacks & Queues

Quiz
•
11th Grade
20 questions
aws test quiz

Quiz
•
9th - 12th Grade
20 questions
LATIHAN SOAL PAT TLJ XI TKJ

Quiz
•
11th Grade
10 questions
QUIZ HARIAN SIMULASI STACK DAN QUEUE

Quiz
•
9th - 12th Grade
10 questions
BFS and DFS

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade