PROGRAMMING LANGUAGE

Cards (30)

  • What must high-level programming languages be translated with before execution?
    A compiler
  • What has increased the number of high-level languages?
    Increased processor speed and memory capacity
  • What do high-level languages need to be translated into?
    Machine code
  • What type of code do high-level languages use?
    Source code
  • How does high-level programming make writing programs easier?
    Uses commands similar to English
  • How many machine code instructions does one high-level instruction translate to?
    Many machine code instructions
  • What is a benefit of high-level programming languages regarding processor compatibility?
    Code runs on different types of processors
  • What advantage do programmers have with high-level languages?
    Access to many data structures
  • What is a disadvantage of high-level programming languages?
    Less memory efficient
  • What can happen to code execution speed if high-level code is not optimized?
    It can be slower to execute
  • What is low-level programming mainly used for?
    Manufacturing machines
  • What is machine code?
    Binary representation of instructions
  • In what language is low-level programming typically written?
    Assembly language
  • What translates assembly language into machine code?
    An assembler
  • Where is low-level programming commonly used?
    Embedded systems and device drivers
  • How many machine code instructions does one low-level instruction translate to?
    One machine code instruction
  • What is a limitation of low-level programming regarding processor compatibility?
    Works on one type of processor only
  • What does the programmer work with directly in low-level programming?
    Memory
  • What is a disadvantage of low-level programming?
    Harder to write and understand
  • What is an advantage of low-level programming regarding memory efficiency?
    Memory efficient
  • What is a benefit of low-level programming regarding execution speed?
    Fast to execute
  • What are assembly languages reserved for?
    Specialist situations
  • What is a device driver?
    Software for specific hardware
  • What does a compiler do?
    Translates high-level code to machine code
  • What does an interpreter do?
    Checks code line by line
  • What drives the software cycle?
    The hardware cycle
  • What is the role of an assembler in low-level programming?
    Translates assembly languages into machine code
  • What is an advantage of assembly languages regarding storage?
    Requires less storage/RAM
  • How does assembly language execution speed compare to high-level languages?
    Can be executed faster
  • What can assembly languages do directly?
    Work directly on memory locations