p.5
Components of Structured Programming
How are system parameters and resources managed in structured programming?
They are saved on a stack organized as LIFO (last in, first out).
p.2
Types of Structured Programming Languages
What is the focus of Microservice Programming?
Creating modules that do not store data internally, making them scalable and resilient in cloud deployment.
p.3
Components of Structured Programming
What can modules in structured programming contain?
Calls to other lower-level modules and blocks representing structured condition/action combinations.
p.3
Model-based Programming
What is an example of a model-based structure mentioned?
Reverse Polish Notation (RPN).
p.2
Object-oriented Programming (OOP)
How does Object-oriented Programming (OOP) define a program?
As a set of objects or resources to which commands are sent.
p.4
Advantages of Structured Programming
How does structured programming promote code reuse?
By allowing even internal modules to be extracted and made independent.
p.5
Advantages of Structured Programming
Why is structured programming widely used in modern software development?
Because its advantages are seen as compelling and nearly decisive.
p.1
Procedural Programming
What are the subdivisions of Procedural Programming?
Service-oriented Programming, Microservice Programming, Functional Programming.
p.6
Disadvantages of Structured Programming
What can happen if the wrong type of structure is selected in structured programming?
It can be applied incorrectly for the task at hand.
p.3
Components of Structured Programming
What is a key characteristic of structured programming?
It consists of a structural hierarchy starting with the main process and decomposing downward.
p.5
Disadvantages of Structured Programming
What causes the problems of execution efficiency and memory usage in structured programming?
The introduction of calls to a module or process.
p.4
Procedural Programming
What is a procedure in programming?
A unit of code that performs a specific task, usually referencing a common data structure available to the program.
p.4
Components of Structured Programming
How is the interface description handled in some programming languages?
It is abstracted into a separate file, which is then implemented by one or more units of code.
p.5
Disadvantages of Structured Programming
What happens when more program logic is decomposed in structured programming?
The greater the overhead associated with the module interface.
p.5
Advantages of Structured Programming
What is a key advantage of structured programming?
It improves development time and code quality.
p.1
Procedural Programming
What is Procedural Programming?
Defines a process which is then given data; it is the most common category of structured programming.
p.6
Procedural Programming
What is RPL in the context of programming?
An efficient way to state and solve math problems.
p.2
Types of Structured Programming Languages
What does Functional Programming emphasize?
Modules are written from functions, with outputs derived only from their inputs.
p.4
Advantages of Structured Programming
What is one advantage of structured programming?
It encourages top-down implementation, improving both readability and maintainability of code.
p.2
Types of Structured Programming Languages
What does Service-oriented Programming define reusable modules as?
Services with advertised interfaces.
p.1
Structured Programming Paradigm
What is Structured Programming?
A programming paradigm that facilitates the creation of programs with readable and reusable components.
p.3
Module Classification: Procedures vs Functions
How can modules be classified in structured programming?
As 'procedures' or 'functions'.
p.6
Disadvantages of Structured Programming
What is a risk associated with all structured programming languages?
Overstructuring and loss of efficiency.
p.4
Procedural Programming
What is a function in programming?
A unit of code that operates on specific inputs and returns a result when called.
p.1
C as a Structured Language
Why is C considered a structured language?
Because it divides a large program into smaller modules called functions or procedures, each handling a specific responsibility.
p.3
Model-based Programming
What does Reverse Polish Notation (RPN) help with?
Efficient solving of complex expressions.
p.6
Procedural Programming
Why is RPL considered more efficient for solving math problems?
It eliminates the need to explicitly state execution order and recursion in code.
p.5
Disadvantages of Structured Programming
What is the biggest disadvantage of structured programming?
A reduction in execution efficiency.
p.3
Components of Structured Programming
How can modules be organized in structured programming?
They can be combined into a single module or broken down into multiple modules resident in libraries.
p.6
Disadvantages of Structured Programming
How does structured programming compare to RPL for solving math problems?
Structured programming procedural or object form would result in less efficient code than RPL.
p.4
Components of Structured Programming
What do structural programs typically include?
A header file or section that describes the modules or libraries referenced and the structure of the parameters and module interface.
p.1
Types of Structured Programming Languages
What are the three types of structured programming languages?
Procedural Programming, Object-oriented Programming, Model-based Programming.