CS Professional · Artificial Intelligence, Data Analytics and Cyber Security - Laws and Practice · Computer Hardware and Software
A bank's developer discovers that a source-code listing in a low-level language uses mnemonics such as ADD and MOV, which are converted to machine code by a translator. Which pairing of language and translator is correct?
Assembly language pairs with an assembler. Mnemonics such as ADD and MOV are symbolic codes that the assembler converts into binary machine code. Machine language needs no translation, and high-level languages rely on compilers or interpreters instead.
- AMachine language and assembler
- BAssembly language and assemblerCorrect
- CAssembly language and interpreter
- DHigh-level language and assembler
Explanation
Assembly language uses mnemonics and is translated into machine code by an assembler. Machine language is already binary and needs no translator. High-level languages use compilers or interpreters, not assemblers, so the other pairings are wrong.
Did you get it right without looking?
One question tells you little. A timed set on Computer Hardware and Software shows your real accuracy, how long you take and where you lose marks.
More Computer Hardware and Software questions
- A firm's analyst finds that its server runs slowly although the CPU clock speed is high, because the CPU repeatedly waits for data fetched f…
- In a computer's von Neumann-style architecture, which component fetches instructions from memory, decodes them and directs the other units t…
- During a forensic seizure of a laptop in Pune, an investigator must preserve evidence in the order of volatility. Which item should ordinari…
- Under the Information Technology Act, 2000, a person who dishonestly or fraudulently tampers with computer source code that the law requires…
- Which of the following is correctly classified as an input device, an output device and a storage device respectively?
- A company secretary asks a developer to explain the difference between a compiler and an interpreter. Which statement is correct?