Software-Engineering
August 28, 2024Software-Engineering
August 28, 2024Software-Engineering
| Question 373 |
In what module multiple instances of execution will yield the same result even if one instance has not terminated before the next one has begun?
| Non reusable module | |
| serially usable | |
| Re-enterable module | |
| recursive module |
Question 373 Explanation:
● A reenterable load module does not modify itself. Only one copy of the load module is loaded to satisfy the requirements of any number of tasks in a job step. This means that even though there are several tasks in the job step and each task concurrently uses the load module, the only central storage needed is an area large enough to hold one copy of the load module (plus a few bytes for control blocks).
● A non-reusable module can only be loaded for one task – the code is assumed to be self-modifying (data and code are in the same load module).
● A reusable module can be used by a second task when the first is finished with it (generally the module will acquire its own data space dynamically).
● A non-reusable module can only be loaded for one task – the code is assumed to be self-modifying (data and code are in the same load module).
● A reusable module can be used by a second task when the first is finished with it (generally the module will acquire its own data space dynamically).
Correct Answer: C
Question 373 Explanation:
● A reenterable load module does not modify itself. Only one copy of the load module is loaded to satisfy the requirements of any number of tasks in a job step. This means that even though there are several tasks in the job step and each task concurrently uses the load module, the only central storage needed is an area large enough to hold one copy of the load module (plus a few bytes for control blocks).
● A non-reusable module can only be loaded for one task – the code is assumed to be self-modifying (data and code are in the same load module).
● A reusable module can be used by a second task when the first is finished with it (generally the module will acquire its own data space dynamically).
● A non-reusable module can only be loaded for one task – the code is assumed to be self-modifying (data and code are in the same load module).
● A reusable module can be used by a second task when the first is finished with it (generally the module will acquire its own data space dynamically).
