
Stacks

Quiz
•
Computers
•
University
•
Medium
FAKHRUL ZAKI
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the principle that a stack data structure follows?
Last In Last Out (LILO)
First In Last Out (FILO)
Last In First Out (LIFO)
First In First Out (FIFO)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is used to add an element to a stack?
Pop
Add
Insert
Push
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term for the end of the stack from which elements are removed?
Top of stack
Bottom of stack
Inactive end
Active end
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an application of stacks?
Heap memory management
Managing data in recursion
Sorting algorithms
Simulation of people entering a lift
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In stack implementation using arrays, what does 'top' represent?
The current location of the top element
The bottom of the stack
The number of elements in the stack
The maximum size of the stack
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you try to pop an element from an empty stack?
The stack becomes full
The top remains unchanged
An error occurs
The stack overflows
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following postfix expression: 'abc*+d-'?
a*b+c-d
b*(c+a)-d
a+(b*c)-d
((b*c)+a)-d
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
STACK - DATA STRUCTURES

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
19 questions
Digital Technology

Quiz
•
8th Grade - University
10 questions
Stack

Quiz
•
University
10 questions
Quiz on Stacks and Data Structures 2

Quiz
•
University
10 questions
Computer Architecture

Quiz
•
University
11 questions
WarStory-DataStructure2

Quiz
•
University
16 questions
Y13 Graph Traversal

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University