41,885 views
35 votes
35 votes

Increasing the RAM of a computer typically improves performance because:

  1. Virtual Memory increases

  2. Larger RAMs are faster

  3. Fewer page faults occur

  4. Fewer segmentation faults occur

2 Answers

Best answer
72 votes
72 votes

So, answer $\rightarrow $ (C).

  1. Virtual Memory increases $\rightarrow $ This option is false. Because Virtual Memory of Computer do not depend on RAM. Virtual Memory concept iteself was introduced so Programs larger than RAM can be executed.

  2. Larger RAMs are faster $\rightarrow $ No This option is false. Size of ram does not determine it's speed, Type of ram does, SRAM is faster, DRAM is slower.

  3. Fewer page faults occur $\rightarrow $ This is true, more pages can be in Main memory .

  4. Fewer segmentation faults occur  $\rightarrow $ "Segementation Fault" $\rightarrow $ A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core . Segfaults are caused by a program trying to read or write an illegal memory location.  It is clear that segmentation fault is not related to size of main memory. This is false.

edited by
1 votes
1 votes

The correct answer is "Fewer page faults occur".

Increasing the RAM of a computer typically improves performance because:

  1. Virtual Memory increases: RAM is used as a temporary storage for the computer’s active programs and data. With more RAM, the computer can store more programs and data in memory, reducing the need to swap data in and out of the hard drive, which can slow down performance.

  2. Fewer page faults occur: When the computer runs out of RAM, it starts using the hard drive as virtual memory. This process is called "paging" and it can cause a decrease in performance. With more RAM, the computer is less likely to run out of memory and will experience fewer page faults.

  3. Fewer segmentation faults occur: Segmentation faults occur when a program tries to access memory that it should not be accessing. With more RAM, a program can run with more memory space and fewer segmentation faults occur.

  4. Larger RAMs are faster: Generally, the larger the RAM, the faster the computer will be. But it's not always the case, there are many other factors that influence the performance of a computer, such as the processor, storage, software, and so on

edited by
Answer:

Related questions

24 votes
24 votes
5 answers
1
34 votes
34 votes
3 answers
2
Kathleen asked Sep 29, 2014
11,062 views
Dirty bit for a page in a page tablehelps avoid unnecessary writes on a paging devicehelps maintain LRU informationallows only read on a pageNone of the above
26 votes
26 votes
5 answers
3
Kathleen asked Sep 12, 2014
23,925 views
At a particular time of computation, the value of a counting semaphore is $7$. Then $20$ $P$ operations and $15$ $V$ operations were completed on this semaphore. The resu...
23 votes
23 votes
5 answers
4
Kathleen asked Sep 22, 2014
20,039 views
What is the swap space in the disk used for?Saving temporary html pagesSaving process dataStoring the super-blockStoring device drivers