Understanding the characteristics and purpose of different levels of programming language

Cards (22)

  • What is the lowest level of programming language?
    Machine language
  • Machine language is specific to the hardware architecture of the computer.
  • Assembly language requires an assembler to convert it into machine language.

    True
  • Assembly language is suitable for embedded systems and performance-critical tasks.
  • High-level languages provide a higher level of abstraction from the underlying hardware.

    True
  • Order the programming languages from lowest to highest level of abstraction:
    1️⃣ Machine language
    2️⃣ Assembly language
    3️⃣ High-level language
  • Machine language is specific to the hardware architecture of the computer.

    True
  • What is the primary advantage of high-level languages over low-level languages?
    Higher level of abstraction
  • Order the three levels of programming languages from lowest to highest abstraction.
    1️⃣ Machine Language
    2️⃣ Assembly Language
    3️⃣ High-Level Languages
  • The translation of assembly language requires an assembler
  • Assembly language uses binary instructions.
    False
  • High-level languages ensure compatibility across various platforms using compilers or interpreters
  • Machine language consists of binary instructions that the computer's processor can directly understand.

    True
  • What are mnemonics used for in assembly language?
    Represent machine instructions
  • Match the programming language feature with its level:
    Lowest level ↔️ Machine language
    Uses mnemonics ↔️ Assembly language
    Requires a compiler ↔️ High-level language
  • High-level languages require a compiler or interpreter to translate the code.
  • What is required to translate high-level languages into machine-executable form?
    Compiler or interpreter
  • An assembler is needed to convert assembly code into executable machine language
  • High-level languages are hardware-specific.
    False
  • Which programming language level has the highest hardware specificity?
    Machine Language
  • Match each programming language level with its primary purpose:
    Machine Language ↔️ Direct hardware control
    Assembly Language ↔️ Performance optimization
    High-Level Languages ↔️ Application development
  • What is the primary purpose of machine language?
    Direct hardware control