
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
14 questions
Data Structure

Quiz
•
University
15 questions
Stacks and Queues Quiz

Quiz
•
University
10 questions
Quiz despre Stiva si Coada - RO - No.2

Quiz
•
University
15 questions
Stack??

Quiz
•
University
9 questions
DSA Day 3

Quiz
•
University
15 questions
NSCC-CODE TO COIN

Quiz
•
University
10 questions
Stack & Queue

Quiz
•
University
10 questions
Sumatif Akhir Informatika

Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade