a) Computer understands only C Language
b) Computer understands only Assembly Language
c) Computer understands only Binary Language
d) Computer understands only BASIC
c) Computer understands only Binary Language.
Here’s a breakdown of why the other options are incorrect:
- a) Computer understands only C Language: C is a popular high-level programming language, but computers need this code translated into machine language (binary) before they can execute it.
- b) Computer understands only Assembly Language: Assembly is closer to machine code than C, but it still needs to be assembled into binary for the computer to understand.
- d) Computer understands only BASIC: BASIC is another high-level language that requires translation into binary for the computer to process.
Why Binary?
Computers are essentially electrical machines. They use electrical circuits with switches that can be either on (representing 1) or off (representing 0). By cleverly arranging these on/off states (bits), the computer can represent instructions, data, and all the information it needs to function.
Higher-Level Languages: Making Life Easier
While binary is the fundamental language of computers, it’s incredibly tedious and error-prone for humans to write programs directly in binary. That’s why we have higher-level languages like C, Python, Java, etc. These languages use more human-readable syntax, and then compilers or interpreters translate them into machine code that the computer can understand.
In essence, binary is the only language the computer truly understands, but higher-level languages make it much more convenient for us to interact with computers.