- Why does a computer system need an operating system?
- An Operating System provides a platform for running applications and a user interface. The user interface hides the complexity of the hardware and the OS from the user. Without it, the user would have to give complex commands involving memory locations and the hardware. Naming a management task is not a purpose of the OS.
- What is the difference between memory management and file management?
- Memory management is about RAM. The OS allocates RAM to processes, keeps the data of running programs in RAM and frees the memory when a process closes. File management divides the storage space into file allocation units, allocates space to files, maintains directory structures and controls access to files.
- How do memory management and process management support multi-tasking?
- Memory management stores data from all currently running programs in RAM at the same time and stops the data overwriting each other. Process management allows one process to be paused while another is actioned, and switches between processes so they share the use of the processor.
- What is a Dynamic Link Library (DLL) file, and what does it save?
- A DLL file is kept separate from the program that calls it. It is only loaded into main memory when required, so less main memory is used. The executable file is smaller because it does not contain the library routines, and the program does not need recompiling when a DLL file changes.
- How does defragmentation improve computer performance?
- Defragmentation software moves split files into contiguous blocks. The disk head moves less, so data access takes less time and performance is improved. Describing how the software operates, with no reference to performance, does not answer the question.
- Does memory management organise the files on the hard disk?
- No. Memory management is about RAM, and it does not organise files on the hard disk. Examiners reported confusion between memory management and hard disk management. Organising files on the disk is file management, which divides the storage space into file allocation units.