COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Low-level language was too easy
|
|
They were created by accident
|
|
Low-level languages are hard to remember and use
|
|
Computers were getting too advanced
|
Detailed explanation-1: -Low-level languages are simple, but considered difficult to use, due to numerous technical details that the programmer must remember. By comparison, a high-level programming language isolates execution semantics of a computer architecture from the specification of the program, which simplifies development.
Detailed explanation-2: -A low-level language is machine-oriented. Low-level programs are expressed in terms of the machine operations that must be performed to carry out a task. This makes writing programs more difficult, as the algorithm must be specified in terms of the capabilities and specifications of the processor.
Detailed explanation-3: -High level language is much closer to human language so it is more suitable to write code in high level language. It is more or less independent of the particular type of computer used (i.e. more portable) and has its own set of rules called syntax. Its main advantage is that it is easier to read, write and maintain.
Detailed explanation-4: -The process of modifying programs is very easy in low-level programs. Here, it can directly map the statements to the processor instructions. Some examples of high-level languages include Perl, BASIC, COBOL, Pascal, Ruby, etc. Some examples of low-level languages include the Machine language and Assembly language.
Detailed explanation-5: -Program Speed In contrast, high-level language uses English statements which are like human language. Thus, they cannot interact directly with the computer hardware like the memory and registers of the computer and require a compiler or an interpreter that translates them to machine language.