Compiler can diagnose
A. | grammatical errors only |
B. | logical errors only |
C. | grammatical as well as logical errors |
D. | None of these |
Option: A Explanation : Click on Discuss to view users comments. |
A simple two-pass assembler does which of the following in the first pass ?
A. | It allocates space for the literals |
B. | It computes the total length of the program |
C. | It builds the symbol table for the symbols and their values. |
D. | All of these |
Option: D Explanation : Click on Discuss to view users comments. |
A system program that set-up an executable program in main memory ready for execution is
A. | assembler |
B. | linker |
C. | loader |
D. | text editor |
Option: C Explanation : Click on Discuss to view users comments. Rupla Naik said: (3:18am on Sunday 12th November 2017)
It is load the Executable file into paramanent.
|
A compiler is a program that
A. | places programs into memory and prepares them for execution. |
B. | automates the translation of assembly language into machine language. |
C. | accepts a program written in a high level language and produces an object program. |
D. | None of these |
Option: C Explanation : Click on Discuss to view users comments. |
A programmer, by mistake, writes an instruction to divide, instead of a multiply, such error can be detected by a/an
A. | compiler |
B. | interpreter |
C. | compiler or interpreter test |
D. | None of these |
Option: D Explanation : Click on Discuss to view users comments. TAYYAB KHAN said: (10:56am on Wednesday 18th October 2017)
divide by zero is a logical error, not detected by compiler
|