
stack
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
fathima haqul
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
stack is a ..............data structure
LIFO
FIFO
STATIC
Answer explanation
LAST IN FIRST OUT
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QUEUE IS ....................data structure
LIFO
STATIC
FIFO
Answer explanation
FIRST IN FIRST OUT
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not the correct statement for a stack data structure?
Arrays can be used to implement the stack
Stack follows FIFO
Elements are stored in a sequential manner
Top of the stack contains the last inserted element
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
When will the Underflow condition in stack arises
insertion
deletion
both
NONE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Operation that returns the topmost element of the stack
Top
Empty
Size
Swap
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a linear data structure?
Graph
Binary Tree
Linked list
AVL Tree
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following operations performed on a stack of size 5
Push(a)
Pop()
Push(b)
Push(c)
Pop()
Push(d)
Pop()
Pop()
Push(e)
Which of the following statements is correct?
Stack operations performed smoothly
Underflow occurs
Overflow occurs
None of the above
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
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
Komdat Chap 2
Quiz
•
University
10 questions
POP QUIZ 4 (DFC40243)
Quiz
•
University
10 questions
Introduction to NumPy (easy)
Quiz
•
University
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th 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
