Software Development and Web Technologies Flashcards
What is a characteristic of a procedural programming language?
A procedural programming language executes instructions in sequential order, similar to a movie script.
What is the core concept of the functional programming paradigm?
Functional programming emphasizes the use of pure functions and immutable data, avoiding side effects.
What does OOP stand for in programming?
OOP stands for Object-Oriented Programming, a paradigm based on the concept of objects, which encapsulate data and behavior.
Describe the main characteristic of declarative programming.
Declarative programming focuses on expressing what should be done, rather than how it should be done, making code more expressive and less procedural.
(SQL)
What is bytecode in the context of programming languages?
Bytecode is an intermediate representation of a program that is not in a platform-specific language. It requires an interpreter program, often referred to as a runtime, to translate it into machine language during execution.
Explain the role of a runtime in programming.
A runtime is an interpreter program that translates bytecode into machine language during the execution of a program. It is commonly used in languages like Java to enable cross-platform compatibility, although it may result in slightly slower execution compared to natively compiled programs.