Classification of programming languages and translators

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 19
Easy

Programming languages are broadly classified into high-level and low-level categories, requiring different types of translators to execute.

Select two statements from the options below that are true about high-level languages and their translation methods.

  • A: Compiled high-level programs generally execute faster than interpreted programs because they do not require line-by-line translation during runtime.
  • B: High-level code is highly hardware-dependent, meaning a program written in a high-level language must be completely rewritten to run on a CPU with a different instruction set.
  • C: A compiler translates high-level source code into an intermediate or machine code representation, producing a standalone executable file that does not require the compiler to run.
  • D: Interpreters translate high-level source code into machine code all at once before any execution begins, storing the output in an object file.
  • E: High-level languages provide programmers with direct, unrestricted control over physical memory addresses and CPU registers.
  • F: An assembler is a translator used to convert high-level languages like Python or Java directly into assembly code.
[2]

Classification of programming languages and translators Questions

  1. GCSE
  2. /Computer Science
  3. /Classification of programming languages and translators