1. Which part of a computer system is hardware?
Answer: C
Random-access memory is hardware.
Random-access memory (RAM) is a type of computer hardware that temporarily stores data and machine code currently being used. It is a physical component of the computer system that allows for quick data access and manipulation.
A) Compiler
A compiler is a software program that translates code written in a high-level programming language into machine language. It is not a physical component, thus making it incorrect as an example of hardware.
B) Kernel
The kernel is a core component of an operating system that manages system resources and communication between hardware and software. Similar to the compiler, the kernel is software and therefore does not qualify as hardware.
C) Random-access memory
Random-access memory is indeed a type of hardware that provides the necessary space for the computer to store data temporarily for active processes. It is crucial for the overall performance and functionality of the computer system.
D) Operating system
An operating system is a collection of software that manages computer hardware and software resources. It serves as an intermediary between users and the computer hardware, making it a software entity rather than hardware.
Conclusion
Random-access memory is the only option that represents hardware within a computer system, as it is a tangible component that plays a vital role in processing and storing data. All other options listed are software-related entities, which do not fulfill the requirement of being classified as hardware.