OCR GCSE Computer Science Paper 2 Practice 2025 - Free Practice Questions and Study Guide

Question: 1 / 400

Which program converts assembly language into machine code?

Compiler

Assembler

The program that converts assembly language into machine code is known as an assembler. Assembly language is a low-level programming language that is closely related to machine code, making it more understandable for humans while still allowing for direct operation of the hardware. The assembler takes the human-readable code written in assembly language and translates it into the binary code that the computer's processor can execute directly.

Compilers and interpreters serve different purposes; a compiler translates high-level programming languages into machine code, whereas an interpreter executes code line-by-line without converting it into machine code beforehand. The linker, on the other hand, is used to combine different pieces of code and data into a single executable program, but it does not perform the translation of assembly language itself. Thus, the assembler is specifically designated for converting assembly language into machine code, making it the correct choice in this context.

Get further explanation with Examzify DeepDiveBeta

Interpreter

Linker

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy