ITF+ Certification Cram Notes
4.0 Software Development Concepts
4.1 Compare and contrast programming language categories.
Interpreted
Interpreted languages are programming languages that are executed line by line, rather than being compiled into machine code. Scripting languages are a subset of interpreted languages, often used for automating tasks, manipulating data, and creating web applications. Scripted languages, on the other hand, are used for writing small programs and are often used in embedded systems. Markup languages are used for creating and describing web content, using tags and attributes to define the structure and appearance of text.
Compiled languages, on the other hand, are translated directly into machine code, resulting in faster and more efficient code execution. Examples of compiled languages include C++, Java, and Swift.
Compiled programming languages
1. Compiled programming languages are a type of programming language where the source code is transformed into machine code or byte code by a compiler. The compiled code can then be executed directly by the computer's CPU. Examples of compiled languages include C, C++, Java, and Swift. The advantages of compiled languages include faster execution and better memory management, but they typically require more time and effort to write and debug code compared to interpreted languages.
Query languages
Query languages are designed to retrieve and manipulate data stored in databases. They are used to interact with databases to insert, update, and retrieve data. SQL (Structured Query Language) is the most common query language used to manage and manipulate data in relational databases. Other examples of query languages include XQuery and SPARQL.