Stacks/Queues

Quiz
•
Computers, Science
•
University
•
Medium

Dustyn Loyda
Used 160+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is FIFO?
Stack
Linked List
Queue
Inverse Queue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the stack contain after the following actions?
Push(1);
Push(2);
Push(3);
Push(4);
Pop();
Pop();
Push(5);
1, 2, 3
1, 2, 3, 5
1, 2, 3, 4, 5
1, 2, 5
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To add an element to a Queue, you use the ________ () method.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Convert the infix exression
(A + B) * (C + D)
to Postfix.
A B C * + D +
A B + C D + *
A B * C D * +
A B + C + D +
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is important when it comes to popping from a Stack?
IsFull()
canPop()
isEmpty()
peek()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eevee
Squirtle
Pikachu
Psyduck
Bulbasaur
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One difference between stack and queue?
Stacks require dynamic memory, but Queues do not
Stacks use two ends of the structure, Queues use only one
Queues require dynamic memory, but Stacks do not
Queues use two ends of the structure, Stacks use only on
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is LIFO?
Stack
Linked List
Queue
Inverse Queue
9.
OPEN ENDED QUESTION
3 mins • 1 pt
What's your favorite Pokemon?
Evaluate responses using AI:
OFF
Similar Resources on Wayground
14 questions
Data Structure

Quiz
•
University
10 questions
UNIT-2 QUEUE

Quiz
•
University
10 questions
Sumatif Akhir Informatika

Quiz
•
1st Grade - University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
9 questions
DSA Day 3

Quiz
•
University
10 questions
DSA(UNIT 1) Test 1

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

Quiz
•
University
10 questions
DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade