Memory Stack & Subroutines - MCQs with answers
Memory Stack & Subroutines - MCQs with answers
Q1. Which register holds the address for a stack whose value is supposed to be directed at the topmost position?a. Stack Pointer
b. Stack Register
c. Both a & b
d. None of the above
View Answer / Hide Answer Q2. The instructions based on the stack operations are also known as 'zero address' or 'implied instructions', because _______.a. address gets updated automatically in stack pointer
b. processor can refer a memory stack without specifying the address
c. both a & b
d. none of the above
View Answer / Hide Answer Q3. What is another name of memory stack especially given for the fundamental function performed by it? a. Last-in-first-out (LIFO)
b. First-in-last-out (FILO)
c. First-in-first-out (FIFO)
d. Last-in-last-out (LILO)
View Answer / Hide Answer ANSWER: a. Last-in-first-out (LIFO)
Q4. What does the last instruction of each subroutine that transfer the control to the instruction in the calling program with temporary address storage , called as?a. jump to subroutine
b. branch to subroutine
c. return from subroutine
d. call subroutine
View Answer / Hide Answer ANSWER: c. return from subroutine
Discussion
- RE: Memory Stack & Subroutines - MCQs with answers -PHAKIRANAIK MUDU (12/07/17)
- plz send memory stacks and subroutines-MCQs with answers to my mail address.