47. Which part of a computer system is hardware?
Answer: B
Random-access memory is a part of the computer system that is hardware.
Random-access memory (RAM) is a physical component of a computer, making it a key part of the hardware. It plays a crucial role in temporarily storing data that the computer is currently using or processing.
A) Operating system
The operating system is not hardware; rather, it is software that manages computer hardware and software resources. It provides services for computer programs and acts as an intermediary between users and the computer hardware.
B) Random-access memory
Random-access memory is indeed hardware, as it consists of physical chips installed in a computer that store data temporarily. It is essential for the performance of a computer, allowing for quick access to data and programs currently in use.
C) Kernel
The kernel is a core component of an operating system, functioning as software that manages system resources and communication between hardware and software. It is not hardware but a fundamental part of the software layer that interacts with hardware.
D) Compiler
A compiler is software that translates high-level programming code into machine code that a computer can execute. It is not a physical component of a computer system, thus categorizing it as software rather than hardware.
Conclusion
Random-access memory (RAM) is the only option that represents hardware, as it consists of tangible components that facilitate data storage and retrieval. In contrast, the operating system, kernel, and compiler are all software elements that do not involve physical components of the computer system, making them incorrect choices in this context.