402 views
0 votes
0 votes
Assume that you are developing your program on a 32-bit processor, 32 bit O/S, and 2 GB RAM. When you compile your program and run, the O/S allocates the process a certain amount of memory address space. This memory space allocated to a process on your machine would be:

A) 32GB

B) 256MB

C) 2GB

D) 4GB

1 Answer

0 votes
0 votes
Well operating system cannot provide all the space of RAM to a single program ...
And also it depends on scheme/ method u are using for memory allocation..i.e in case u r using virtual memory allocation / demand paging ..then space provided to a program would be very less( according to size of the program) or otherwise if full program is given space then atleast it should be less than RAM ..so according to this explanation option B should be right..

Related questions

1 votes
1 votes
3 answers
2
shikharV asked Jan 19, 2016
937 views
Given answer: 128Please explain how to solve this problem