Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the given options best describes the truthfulness of the following statements?

i) Assembly languages are machine dependent.
ii) A compiler is a program which produces a machine level program from the specifications of a high-level language.
iii) An interpreter translates and executes each program statement, one at a time.
iv) 'BASIC' language is an interactive programming language.

  • A.i-True, ii-True, iii-True, iv-True
  • B.i-False, ii-True, iii-True, iv-True
  • C.i-True, ii-True, iii-False, iv-True
  • D.i-True, ii-False, iii-True, iv-True

Answer: A

All four statements are true. Assembly languages are tied to the instruction set of a particular processor, so they are machine dependent. A compiler translates a program in a high-level language into machine-level code. An interpreter translates and executes the program one statement at a time. BASIC is an interactive programming language, since statements can be entered and run immediately. The options that mark any of these as false are therefore wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.