Question 65Asked in Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)

Stack works on the principle of………………..स्टैक ……………….. के सिद्धांत पर काम करता है।

स्टैक ……………….. के सिद्धांत पर काम करता है।
  1. AMid Element Firstमध्य तत्व प्रथम
  2. BFirst In First Outपहले आये पहलॆ गये
  3. CLast In First Outअंतिम अंदर प्रथम बाहर
  4. DLast In Last Outअंतिम प्रवेश अंतिम निकास
Show answerHide answer

Correct answer: (C) Last In First Outअंतिम अंदर प्रथम बाहर

Explanation

A stack follows LIFO (Last In, First Out). Push and pop happen only at the top, so the last element pushed is the first one popped. A queue is FIFO.स्टैक LIFO (Last In, First Out) का पालन करता है। Push और pop केवल शीर्ष पर होते हैं, इसलिए सबसे बाद में push हुआ तत्व सबसे पहले pop होता है। Queue FIFO है।

From Bihar STET 2025 Paper II Computer Science PYQ, 4 Nov 2025, Shift 2 (2:00 PM)

This is question 65 of Bihar STET 2025 Paper II Computer Science PYQ, 4 Nov 2025, Shift 2 (2:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.