⤳ In the previous chapter, we discussed how the OS and the CPU team up to make multitasking possible. In this post, I’ll continue our discussion with an important OS concept: Memory management. Let’s begin. Any limited resource needs resource management, and the main memory is no exception. ...
⤳ In this chapter, I’ll continue the series with another important OS concept, Multitasking. Multitasking* is a common feature of modern operating systems, which involves switching between processes, to ensure each process will get a slice of the CPU’s time in a given period of time. To ...
⤳ In this chapter, I’ll cover how the CPU fetches, decodes, and executes the instructions of a computer program. Central Processing Unit*, known as the CPU is where the execution of instructions happens. The CPU is the brain of your computer and interacts with the memory (RAM) over the system ...
⤳ A computer program is a sequence of instructions for a computer to do a particular task. A task can be a simple as calculating a simple value or something more sophisticated, like playing music or browsing the web. All computer programs work in the same way; they ...