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
Which category uses short mnemonics such as MOV and ADD that map almost directly to CPU instructions?
- Markup language
- Scripting language
- Assembly language
- 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.
Which of these are typically interpreted or scripting languages?
- Python
- Bash
- PowerShell
- HTML
- 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: 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.
