-1
\$\begingroup\$

For my college assignment, one of the question asks to explain how a computer increases its memory in machine cycle. I have searched and so far I have found that a computer can't increase it's own memory. Can anybody explain this to me?

\$\endgroup\$

closed as unclear what you're asking by duskwuff, nidhin, RoyC, brhans, Turbo J Nov 10 '18 at 18:38

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ What does 'machine cycle' mean? \$\endgroup\$ – tangrs Nov 10 '18 at 2:59
  • \$\begingroup\$ The machine cycle is the most basic operation that a computer performs, and in order to complete menial tasks such as showing a single character on the screen, the CPU has to perform multiple cycles. The computer does this from the moment it boots up until it shuts down. (Fetch, Decode, Execute) \$\endgroup\$ – John Nov 10 '18 at 3:03
  • 1
    \$\begingroup\$ Sure but I don't see how that's related to your question. How does the machine cycle relate to memory in the context of your question? \$\endgroup\$ – tangrs Nov 10 '18 at 3:05
  • 2
    \$\begingroup\$ I believe there is a misunderstanding in the question. Perhaps it is how a computer increases a memory location in machine cycles? \$\endgroup\$ – Edgar Brown Nov 10 '18 at 3:08
  • 1
    \$\begingroup\$ @EdgarBrown That's a good point. I had assumed OP was talking about paging. Either way, the question needs clarifying. \$\endgroup\$ – tangrs Nov 10 '18 at 3:11
1
\$\begingroup\$

I'm not sure I fully understand what your question is but I suspect your assignment is trying to teach you about paging.

Paging doesn't actually increase the amount of physical memory the computer has. It achieves the effect of 'increasing' the amount of memory available to programs by moving chunks of memory that aren't immediately being used to some form of secondary storage. This frees up memory to be used by other programs. When the data that was swapped out is needed again, it's read from secondary storage into memory.

Typically, paging is used in conjunction with virtual memory.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.