27/10/2024
Types Of Computer Programming Language
1. Low-Level Languages
Machine Language: The fundamental binary language (0s and 1s) understood directly by the computer's hardware.
Assembly Language: Slightly more readable than machine code, assembly uses mnemonics (e.g., MOV, ADD) and is typically tied closely to a specific CPU architecture.
2. High-Level Languages
High-level languages are more abstracted from hardware details, making them easier to read and write. Common types include:
Procedural Languages: Focus on a sequence of instructions to be executed. Examples: C, Fortran, Pascal.
Object-Oriented Languages (OOP): Organize code around "objects," which bundle data and behavior. Examples: Java, C++, Python, Ruby.
Functional Languages: Based on mathematical functions, emphasizing immutability and avoiding side effects. Examples: Haskell, Lisp, Scala.
Scripting Languages: Often used for automating tasks or programming web servers, typically interpreted. Examples: Python, JavaScript, PHP.
Logic Programming Languages: Primarily used for declarative programming where logic is expressed without specifying control flow. Examples: Prolog.
3. Markup and Query Languages
Markup Languages: Primarily used for defining structure and presentation of text. Examples: HTML, XML.
Query Languages: Designed for databases to retrieve data. Examples: SQL, XQuery.
4. Domain-Specific Languages (DSLs)
These are languages created for specific tasks or fields.
Examples include MATLAB (engineering and science), R (statistical analysis), VHDL (hardware description).
Send a message to learn more