FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Why do we need translators?
A
Computers only understand program’s in assembly code.
B
Computers only understand program’s in high-level language.
C
Computers only understand Norwegian.
D
Computers only understand program’s in machine language.
Explanation: 

Detailed explanation-1: -Computers only understand machine code (binary), this is an issue because programmers prefer to use a variety of high and low-level programming languages instead. To get around the issue, the high-level and low-level program code (source code) needs to pass through a translator.

Detailed explanation-2: -Language translators allow computer programmers to write sets of instructions in specific programming languages. These instructions are converted by the language translator into machine code. The computer system then reads these machine code instructions and executes them.

Detailed explanation-3: -Machine language gives instructions as 0’s and 1’s and is the only language that the computer understands. Assembly language is more concise but still very cumbersome when programming. A high-level language such as FORTRAN or C facilitates easy programming.

Detailed explanation-4: -Translation is necessary for the spreading new information, knowledge, and ideas across the world. It is absolutely necessary to achieve effective communication between different cultures. In the process of spreading new information, translation is something that can change history.

Detailed explanation-5: -Answer: Programs written in the machine language of a given type of computer can be directly executed by the CPU of that type of computer. High-level language programs must be translated into machine language before they can be executed.

There is 1 question to complete.