SSC IMD SA 2017 – Question 113

Question:

Which of the following statements is true?

निम्न में से कौन-सा कथन सत्य है?

Options:

  • ROM is a read/write memory.
  • PC points to the last instruction that was executed.
  • Stack works on the principle of LIFO.
  • All instructions affect flags.
  • ROM एक रीड/ राइट मेमोरी है।
  • पीसी अंतिम निर्देश की और इंगित करता है जो कि निष्पादित किया गया था।
  • स्टैक LIFO के सिद्धांांत पर काम करता है।
  • सभी निर्देश, फ्लेग को प्रभावित करते हैं।

Correct Answer: c)

Explanation:

Detailed Explanation:

The correct answer is c) Stack works on the principle of LIFO. (स्टैक LIFO के सिद्धांत पर काम करता है।).

Evaluation of Statements:

  • Statement c is TRUE: A Stack is a linear data structure operating strictly on the LIFO (Last In, First Out) or FILO (First In, Last Out) principle. The element that is pushed (inserted) most recently at the top of the stack is always the first one to be popped (removed).
  • Statement a is FALSE: ROM stands for Read-Only Memory; it is non-volatile memory that cannot be freely modified during normal computer operation (RAM is read/write memory).
  • Statement b is FALSE: The Program Counter (PC) points to the next instruction to be fetched and executed, not the instruction that was just completed.
  • Statement d is FALSE: Not all instructions affect status flags. Data transfer instructions (e.g., MOV in 8085/x86), unconditional jumps (JMP), and NOP do not alter processor flags.

विस्तृत व्याख्या:

सही उत्तर c) स्टैक LIFO के सिद्धांत पर काम करता है। है।

कथनों की समीक्षा:

  • कथन c सत्य है: स्टैक एक रैखिक डेटा संरचना (linear data structure) है जो LIFO (Last In, First Out) सिद्धांत पर कार्य करती है। यानी जो डेटा सबसे अंत में स्टैक के शीर्ष (top) पर रखा जाता है (Push), वह सबसे पहले बाहर निकाला जाता है (Pop)।
  • कथन a असत्य है: ROM (रीड ओनली मेमोरी) केवल पढ़ने योग्य मेमोरी है, यह रीड/राइट मेमोरी नहीं है (RAM रीड/राइट मेमोरी होती है)।
  • कथन b असत्य है: प्रोग्राम काउंटर (PC) निष्पादित होने वाले अगले निर्देश का पता रखता है, न कि निष्पादित हो चुके निर्देश का।
  • कथन d असत्य है: सभी निर्देश फ्लैग को प्रभावित नहीं करते (जैसे MOV, NOP निर्देश फ्लैग्स में कोई परिवर्तन नहीं करते)।

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top