595 views
0 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 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..
Position:
Show:

Related questions

1 1 vote
1 1 answer
89
89 views
GO Classes asked Aug 25
89 views
Consider a file system with:Block size = $\text{2048 bytes}$ Disk block pointer size = $\text{32 bits}$ $12$ direct pointers $1$ single-indirect pointer $1$ double-indire...
1 1 vote
3 3 answers
1.8k
1.8k views
shikharV asked Jan 19, 2016
1,788 views
Given answer: 128Please explain how to solve this problem
2 2 votes
1 answers 1 answer
3.2k
3.2k views
Akash Kanase asked Dec 1, 2015
3,205 views
Consider a 32-bit virtual address is used for paging with page size of 1024 bytes. Two-level paging is implemented with equal number of entries in every page table of the...