2. What is the name of the technique in which the operating system of a computer executes several programs concurrently by switching back and forth between them?
The Banker's algorithm is a resource allocation & deadlock avoidance algorithm developed by Edsger Dijkstra that tests for safety by simulating the allocation of pre-determined maximum possible amounts of all resources, and then makes a "safe-state" check to test for possible deadlock conditions for all other pending activities, before deciding whether allocation should be allowed to continue.
8. The function(s) of the Storage Assignment is (are)
Options
A. to assign storage to all variables referenced in the source program.
B. to assign storage to all temporary locations that are necessary for intermediate results.
C. to assign storage to literals, and to ensure that the storage is allocate and appropriate locations are initialized.