
Understanding Stacks and Queues

Quiz
•
Computers
•
University
•
Easy
cssrcaidedkm cssrcaidedkm
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the primary operation of a stack?
The primary operation of a stack is 'push' and 'pop'.
insert and delete
enqueue and dequeue
add and remove
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
How do you add an element to a stack?
Use the 'pop' operation to remove an element from a stack.
Use the 'push' operation to add an element to a stack.
Add an element by using the 'enqueue' operation.
Insert an element at the bottom of the stack.
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the term for removing an element from a stack?
enqueue
push
dequeue
pop
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the last element added to a stack called?
middle
bottom
base
top
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the primary operation of a queue?
The primary operation of a queue is merging.
The primary operation of a queue is enqueue and dequeue.
The primary operation of a queue is sorting.
The primary operation of a queue is searching.
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
How do you add an element to a queue?
Insert the element in the middle of the queue.
Add the element to the front of the queue.
Use the enqueue operation to add an element to the back of the queue.
Use the dequeue operation to remove an element from the queue.
7.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the term for removing an element from a queue?
stacking
enqueueing
removing
dequeueing
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Qûîz

Quiz
•
University
5 questions
SLA1

Quiz
•
University
15 questions
HackTrail

Quiz
•
University
7 questions
Unit 3 : Addressing Mode

Quiz
•
University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
10 questions
UNIT-2 QUEUE

Quiz
•
University
10 questions
DAA Lesson 2 quiz

Quiz
•
University
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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University