>
Exams
>
Computer Science
>
Introduction to stack (LIFO Operations)
>
you try to pop an element from a stack which is em
Question:
You try to pop an element from a stack which is empty. This can result into a special kind of condition, which is known as ________.
CUET (UG) - 2023
CUET (UG)
Updated On:
Sep 23, 2024
Overflow
Underflow
Full flow
Full stack
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The correct option is (B) :Underflow.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Introduction to stack (LIFO Operations)
if len(Stack) =0 : print("error") The above statement is handling the situation called :
CUET (UG) - 2023
Computer Science
Introduction to stack (LIFO Operations)
View Solution
identify the stack in given example :
CUET (UG) - 2023
Computer Science
Introduction to stack (LIFO Operations)
View Solution
Which one of the fallowing statement is wrong for Queue and stack data structures ?
CUET (UG) - 2023
Computer Science
Introduction to stack (LIFO Operations)
View Solution
There are five statements listed below. Each statement having some information related to data structure. Identify the correct statement(s).
(A) A stack is an example of a FIFO data structure
(B) The function top() removes the value from the top of a stack
(C) The term deque stands for double ended queue
(D) A queue is a data structure in which items can be added or removed from either end
(E) PEEK is an operation used to view elements at the front of the queue, without removing it from the queue
Choose the
correct
answer from the options given below:
CUET (UG) - 2023
Computer Science
Introduction to stack (LIFO Operations)
View Solution
Which out of the following can be picked as the application of stack ?
CUET (UG) - 2023
Computer Science
Introduction to stack (LIFO Operations)
View Solution
View All
Questions Asked in CUET exam
Two slits are made 0.1 mm apart and the screen is placed 2 m away. The fringe separation when a light of wavelength 500 nm is used is______.
Fill in the blank with the correct answer from the options given below.
CUET (UG) - 2024
Optics
View Solution
Lower half of a convex lens is made opaque. Which of the following describes the image of the object placed in front of the lens?(A) No change in image
(B) Image will show only half of the object
(C) Intensity of image gets reduced
Choose the correct answer from the options given below.
CUET (UG) - 2024
Optics
View Solution
Complete the sentences given in List-I with the appropriate prepositions given in List-II:
CUET (UG) - 2024
Grammar
View Solution
If $f(x) = x^2 + bx + 1$ is increasing in the interval $[1, 2]$, then the least value of $b$ is:
CUET (UG) - 2024
Increasing and Decreasing Functions
View Solution
What will be the increasing order of basic strength of the following compounds:
\(\text{C}_2\text{H}_5\text{NH}_2, (\text{C}_2\text{H}_5)_2\text{NH},(\text{C}_2\text{H}_5)_3\text{N},\text{C}_6\text{H}_5\text{NH}_2\)
CUET (UG) - 2024
Amines
View Solution
View More Questions