Questions from Operating Systems


Q: An I/O-bound program is one that, if

An I/O-bound program is one that, if run alone, would spend more time waiting for I/O than using the processor. A processor-bound program is the opposite. Suppose a short-term scheduling algorithm fav...

See Answer

Q: Contrast the scheduling policies you might use when trying to optimize a

Contrast the scheduling policies you might use when trying to optimize a time-sharing system with those you would use to optimize a multiprogrammed batch system.

See Answer

Q: What is the purpose of system calls, and how do system

What is the purpose of system calls, and how do system calls relate to the OS and to the concept of dual-mode (kernel-mode and user-mode) operation?

See Answer

Q: In IBM’s mainframe OS, OS/390, one of the

In IBM’s mainframe OS, OS/390, one of the major modules in the kernel is the System Resource Manager. This module is responsible for the allocation of resources among address spaces (processes). The S...

See Answer

Q: Consider a computer system that contains an I/O module controlling

Consider a computer system that contains an I/O module controlling a simple keyboard/printer Teletype. The following registers are contained in the CPU and connected directly to the system bus: INPR:...

See Answer

Q: What is a process?

What is a process?

See Answer

Q: In virtually all systems that include DMA modules, DMA access to

In virtually all systems that include DMA modules, DMA access to main memory is given higher priority than processor access to main memory. Why?

See Answer

Q: OS/2 from IBM is an obsolete OS for PCs.

OS/2 from IBM is an obsolete OS for PCs. In OS/2, what is commonly embodied in the concept of process in other operating systems is split into three separate types of entities: session, processes, and...

See Answer

Q: Consider an environment in which there is a one-to-

Consider an environment in which there is a one-to-one mapping between user-level threads and kernel-level threads that allows one or more threads within a process to issue blocking system calls while...

See Answer

Q: If a process exits and there are still threads of that process

If a process exits and there are still threads of that process running, will they continue to run?

See Answer