CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following is an incorrect statement about stack?

A
is a First-In-First-Out(FIFO)structure
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
is a buffer in which data items are retrieved in reverse order from which they are place in the buffer
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Can be created as an array
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A is a First-In-First-Out(FIFO)structure

First-in-first-out (FIFO) structure is an incorrect statement about stack.

A stack is a container of objects that are inserted and removed according to the last-in first-out (LIFO) principle. In the push down stacks only two operations are allowed: push the item into the stack, and pop the item out of the stack.

FIFOis a method of processing and retrieving data. In a FIFO system, the first items entered are the first ones to be removed. In other words, the items are removed in the same order they are entered.


942449_916892_ans_7c66bdc1f5944a61b572ac472d35482e.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Separation
CHEMISTRY
Watch in App
Join BYJU'S Learning Program
CrossIcon