>
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:
Apr 24, 2025
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
Describe the types of Data structure.
Bihar Board XII - 2025
Computer Science
Data Structures
View Solution
Differentiate between stack and queue data structure.
Bihar Board XII - 2025
Computer Science
Data Structures
View Solution
Explain stack.
Bihar Board XII - 2025
Computer Science
Data Structures
View Solution
What is array ?
Bihar Board XII - 2025
Computer Science
Data Structures
View Solution
Describe the use of linked list.
Bihar Board XII - 2025
Computer Science
Data Structures
View Solution
View More Questions
Questions Asked in CUET exam
A and B together can complete a task in 10 days. A alone can finish it in 15 days. In how many days can B alone finish the work?
CUET (UG) - 2025
Time and Work
View Solution
What is the angle between the hour and minute hand at 3:30?
CUET (UG) - 2025
Clock and Calendar
View Solution
A man can row 24 km downstream in 3 hours and the same distance upstream in 6 hours. What is the speed of the boat in still water?
CUET (UG) - 2025
Boat and Stream
View Solution
A, B, C and D are partners in a firm sharing profits in the ratio of 3:2:1:4. A retired and his share is acquired by B and C in the ratio 3:2. Calculate the new profit sharing ratio of partners.
CUET (UG) - 2025
Partnership
View Solution
Rearrange the parts to form a logical sentence:
A) the city's new policy
B) has significantly improved
C) air quality
D) over the past year
CUET (UG) - 2025
Sentence Arrangement
View Solution
View More Questions