Which of the given options best describes the truthfulness of the following…

2023

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.

  1. A.

    i-True, ii-True, iii-True, iv-True

  2. B.

    i-False, ii-True, iii-True, iv-True

  3. C.

    i-True, ii-True, iii-False, iv-True

  4. D.

    i-True, ii-False, iii-True, iv-True

Attempted by 206 students.

Show answer & explanation

Correct answer: A

Correct Answer: Option 1: i-True, ii-True, iii-True, iv-True

  • Statement i: Assembly languages are machine dependent.

    • True: Assembly language uses mnemonics that correspond directly to a specific CPU's architecture and instruction set. Therefore, code written for one type of processor will not work on another.

  • Statement ii: A compiler is a program which produces a machine level program from the specifications of a high-level language.

    • True: As seen in previous examples, a compiler translates the entire source code of a high-level language into a machine-readable object file (executable) at once.

  • Statement iii: An interpreter translates and executes each program statement, one at a time.

    • True: Unlike a compiler, an interpreter processes code line-by-line, translating a statement and immediately executing it before moving to the next.

  • Statement iv: 'BASIC' language is an interactive programming language.

    • True: BASIC (Beginner's All-purpose Symbolic Instruction Code) was designed to be easy to use and interactive, allowing users to type commands and see results immediately via an interpreter.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs