What is the difference between an assembler and a compiler ?

A.

an assembler converts a machine language code into assembly level language code while a compiler converts high level programming language to a machine language code

B.

an assembler converts assembly level language code into machine language code while a compiler converts high level programming language code to a machine language code

C.

a compiler converts assembly level language code into machine lange while an assembler converts high level programming language to a machine language code

D.

they both convert assembly level language code into machine language

Correct answer is B

An assembler converts assembly level language code into machine language code while a compiler converts high level programming language code to a machine language code