27 votes 27 votes Which one of the following statements is true? Macro definitions cannot appear within other macro definitions in assembly language programs Overlaying is used to run a program which is longer than the address space of a computer Virtual memory can be used to accommodate a program which is longer than the address space of a computer It is not possible to write interrupt service routines in a high level language Operating System gate1994 operating-system normal virtual-memory + – Kathleen asked Oct 4, 2014 recategorized Apr 25, 2021 by Lakshman Bhaiya Kathleen 8.4k views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Shivam Chauhan commented Oct 6, 2017 reply Follow Share Option B says Overlaying is used to run a program which is longer than the address space of a computer. Program longer than it's logical address space doesn't make any sense. So it is false. Option C says Virtual memory can be used to accommodate a program which is longer than the address space of a computer. It is also false because of above reason. Have I done correct reasoning? 6 votes 6 votes srestha commented Nov 30, 2017 reply Follow Share @shivam Overlay is used when virtual memory is absent. But question is indirectly asked if it work in requirement of virtual memory But concept of overlay totally different than virtual memory 1 votes 1 votes `JEET commented Nov 22, 2019 reply Follow Share @shivam Rightly summed up. 0 votes 0 votes Please log in or register to add a comment.
Best answer 28 votes 28 votes Is TRUE. False. Overlaying is used to increase the address space usage when physical memory is limited on systems where virtual memory is absent. But it cannot increase the address space (logical) of a computer. False. Like above is true for physical memory but here it is specified address space which should mean logical address space. Is false. We can write in high level language just that the performance will be bad. Arjun answered Nov 9, 2015 edited Jul 11, 2018 by kenzou Arjun comment Share Follow See all 30 Comments See all 30 30 Comments reply Show 27 previous comments `JEET commented Nov 22, 2019 reply Follow Share Can someone sum up everything here? @Bikram Sir can you please help. This question is really confusing everyone. 0 votes 0 votes VIDYADHAR SHELKE 1 commented Nov 24, 2019 reply Follow Share if computer address means either PA or VA then above answer correct ...if anything by default predefined computer address is like PA or VA then it will be wrong ....conclusion i don't by is any default computer address ? 0 votes 0 votes Pranavpurkar commented Sep 2, 2022 reply Follow Share if nested macro definitions are possible than A must be false as per @Ayush Upadhyaya sir’s comment. pls help in this ! 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Both B and C are true B says overlay is used to long program which is correct don’t confuse with address space here please C says virtual memory is used to accomodate long program which is correct sardendu answered Sep 11, 2018 sardendu comment Share Follow See all 0 reply Please log in or register to add a comment.
–2 votes –2 votes option c is correct as virtual memory provides virtual address which can be directly converted to physical address. Mohit Dubey answered Mar 2, 2015 Mohit Dubey comment Share Follow See 1 comment See all 1 1 comment reply vaishali jhalani commented Dec 17, 2016 reply Follow Share I think A and B both are true. 0 votes 0 votes Please log in or register to add a comment.