Correct Answer: Option B — To convert assembly language into machine code
Explanation:
An assembler is a translator program that converts assembly language code, which uses mnemonic instructions, into machine code that the computer's processor can directly execute.