Bitzu

FC0-U71 ยท Software development concepts

Programming language categories

Interpreted, compiled, scripting, markup and assembly languages: how they run and typical uses.

Key points

  • Compiled (C, C++): a compiler translates to machine code before the program runs.
  • Interpreted (Python): an interpreter executes it while it runs.
  • Scripting (Bash, PowerShell, JavaScript): automate tasks, usually interpreted.
  • Markup (HTML, XML): describe structure and content, not logic.
  • Assembly: short mnemonics map almost one-to-one to CPU instructions; specific to a processor family.

Practice questions

Single choice

Which category uses short mnemonics such as MOV and ADD that map almost directly to CPU instructions?

  1. Markup language
  2. Scripting language
  3. Assembly language
  4. Interpreted language
Show answer

Answer: C. Assembly language

Assembly is the low-level language whose mnemonics correspond closely to machine instructions. Markup languages only describe document structure, and scripting or interpreted languages are far more abstract.

Select all that apply

Which of these are typically interpreted or scripting languages?

  1. Python
  2. Bash
  3. PowerShell
  4. HTML
  5. Assembly
Show answer

Answer: A. Python, B. Bash, C. PowerShell

Python, Bash and PowerShell run through an interpreter or shell. HTML is a markup language that describes structure, and assembly is translated by an assembler into machine code.

True or false

True or false: HTML is a programming language that can run loops and calculations on its own.

Show answer

Answer: False

False. HTML is a markup language: it describes the structure and content of a page. Logic such as loops and calculations comes from a language like JavaScript.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More FC0-U71 topics in this module