Software Development and Web Technologies Flashcards

1
Q

What is a characteristic of a procedural programming language?

A

A procedural programming language executes instructions in sequential order, similar to a movie script.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the core concept of the functional programming paradigm?

A

Functional programming emphasizes the use of pure functions and immutable data, avoiding side effects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does OOP stand for in programming?

A

OOP stands for Object-Oriented Programming, a paradigm based on the concept of objects, which encapsulate data and behavior.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the main characteristic of declarative programming.

A

Declarative programming focuses on expressing what should be done, rather than how it should be done, making code more expressive and less procedural.
(SQL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is bytecode in the context of programming languages?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain the role of a runtime in programming.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly