
Stacks
Authored by FAKHRUL ZAKI
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
20 questions
DI (EM24) - Diseño de Contenidos (T8)
Quiz
•
University - Professi...
20 questions
IT 101 - Quiz 3
Quiz
•
University
20 questions
NACOS Kahoot Session II
Quiz
•
University
20 questions
COA_QUIZ_UNIT I
Quiz
•
University
16 questions
Algo Quiz
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade