>
Exams
>
Computer Science
>
Data Structures
>
which term is used to add an element into a stack
Question:
Which term is used to add an element into a stack?
Show Hint
Stacks follow the LIFO (Last In, First Out) principle, where the last element added is the first one to be removed.
CUET (UG) - 2023
CUET (UG)
Updated On:
Feb 13, 2026
PUSH
PULL
SEEK
POP
Hide Solution
Verified By Collegedunia
The Correct Option is
A
Solution and Explanation
In stack operations, the term "PUSH" is used to add an element to the stack. "POP" is used to remove the top element, while "PEEK" allows you to view the top element without removing it. "PULL" and "SEEK" are not stack-related terms.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Data Structures
What is a structured Data? Explain its various types.
JKBOSE XII - 2026
Computer Science
Data Structures
View Solution
Define the following: (i) Public (ii) Protected (iii) Private
JKBOSE XII - 2026
Computer Science
Data Structures
View Solution
What is a key?
JKBOSE XII - 2026
Computer Science
Data Structures
View Solution
What is a data structure?
JKBOSE XII - 2026
Computer Science
Data Structures
View Solution
Name any four operations on data structures.
Kerala Plus Two(Class 12) - 2026
Computer Science
Data Structures
View Solution
View More Questions
Questions Asked in CUET exam
Find the ratio of de-Broglie wavelengths of deuteron having energy E and \(\alpha\)-particle having energy 2E :
CUET (UG) - 2026
Dual nature of radiation and matter
View Solution
5, 10, 17, 26, ?, 50 — Find the missing number.
CUET (UG) - 2025
Number Series
View Solution
The area (in sq. units) of the region bounded by the parabola y2 = 4x and the line x = 1 is
CUET (UG) - 2025
Application of Integrals
View Solution
Ram purchased a watch at a cost of \( \left(\frac{9}{10}\right)^{th} \) of the original cost and sold at 8% more than the original cost. His profit/loss is
CUET (UG) - 2025
Profit and Loss
View Solution
Match List-I with List-II \[ \begin{array}{|l|l|} \hline \textbf{Solutions} & \textbf{Explanation} \\ \hline (A) \; \text{Saturated solution} & (I) \; \text{Solution having two components.} \\ \hline (B) \; \text{Isotonic solutions} & (II) \; \text{A solution whose osmotic pressure is more than that of another.} \\ \hline (C) \; \text{Binary solution} & (III) \; \text{A solution which contains the maximum amount of solute that can be dissolved in a given amount of solvent at a given temperature.} \\ \hline (D) \; \text{Hypertonic solution} & (IV) \; \text{The solutions having the same osmotic pressure at a given temperature.} \\ \hline \end{array} \]
CUET (UG) - 2025
General Chemistry
View Solution
View More Questions