1.

Which one of the following is an advantage of assembly language over high-level language?1. Assembly language program runs faster.2. Writing of assembly language programming is easy.3. Assembly language program is portable.4. Assembly language program contains less instruction.

Answer» Correct Answer - Option 1 : Assembly language program runs faster.

Assembly language: It is a low-level programming language that uses symbols, variables, and functions that work directly with CPU.

High-level language: It is a human-friendly language that uses variables and functions, independent of the computer architecture.

Assembly language

High-level language

Programs written for one processor will not run on other types of processors.

The program runs independently on process type.

Performance and accuracy are better than high-level language.

Performance & accuracy are lesser.

Executable code is less than high-level language., takes less time to execute & program runs faster

Executable code is larger, takes a long time to execute.

Eg.: ARM, MIPS

Eg.: C, C++, JavaScript



Discussion

No Comment Found

Related InterviewSolutions