FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Processors only understand instructions written in 1s and 0s.
A
Machine language
B
Assembly language
C
High Level language
D
None of the above
Explanation: 

Detailed explanation-1: -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-2: -That language of 1’s and 0’s is called binary. Computers speak in binary because of how they are built.

Detailed explanation-3: -machine language, the numeric codes for the operations that a particular computer can execute directly. The codes are strings of 0s and 1s, or binary digits (“bits”), which are frequently converted both from and to hexadecimal (base 16) for human viewing and modification.

Detailed explanation-4: -Different types of processors have different machine operations and different machine languages. A machine language program for a typical desktop system (with a Pentium processor) would make no sense to a computer built around a different processor type.

Detailed explanation-5: -A CPU executes code through a sequence known as the fetch, decode, execute cycle. Once a piece of code is loaded into RAM, the CPU will fetch its contents one by one, decode the contents into binary through the assembler, and then execute the code.

There is 1 question to complete.