Data Structures - Stacks

Quiz
•
Computers
•
12th Grade
•
Medium
R Woodruff
Used 12+ times
FREE Resource
35 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, what is the number of elements present on the stack
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which form of access is used to add remove nodes from a stack?
LIFO
FIFO
LILO
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add an element to a Stack?
add()
enqueue()
push()
pop()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to return an element from a stack without removing it?
dequeue()
NextItem()
peek()
pop()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the element "A B C D" are placed in a stack and are deleted one at a time
in what order will they be removed?
ABCD
DBCA
DCBA
DABC
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these data structures is LIFO?
Stack
Queue
Binary Tree
Double linked list
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Storage for data defined in terms of set of operations to be performed on the data
Arrays
Variables
Abstract Data Types
Data Types
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Chapter 4: TCP/IP Network and Protocol

Quiz
•
12th Grade
30 questions
Y1 A Level Computer Science Quiz - AQA

Quiz
•
12th Grade
40 questions
Revision Quiz 1

Quiz
•
12th Grade
39 questions
CS Recape 2

Quiz
•
11th Grade - University
40 questions
Computer Networking 12-Q1 Summative

Quiz
•
12th Grade
40 questions
CSS12-ST1-2025

Quiz
•
12th Grade
35 questions
Hash Tables & Other Data Structures

Quiz
•
10th - 12th Grade
30 questions
Data Structures and Algorithm

Quiz
•
11th Grade - Professi...
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