Questions from Operating Systems


Q: Consider the following string of page references 7, 0, 1

Consider the following string of page references 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2. C[ i, j ]=A[ i, j ]+B[ i, j ] Complete a figure similar to Figure 8.14, showing the frame allocation for: a. FIF...

See Answer

Q: A process references five pages, A, B, C,

A process references five pages, A, B, C, D, and E, in the following order: A; B; C; D; A; B; E; A; B; C; D; E Assume the replacement algorithm is first-in-first-out and find the number of page transf...

See Answer

Q: List the key design issues for an SMP operating system.

List the key design issues for an SMP operating system.

See Answer

Q: A process contains eight virtual pages on disk and is assigned a

A process contains eight virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. The following page trace occurs: 1, 0, 2, 2, 1, 7, 6, 7, 0, 1, 2, 0, 3, 0, 4, 5, 1...

See Answer

Q: In the VAX, user page tables are located at virtual addresses

In the VAX, user page tables are located at virtual addresses in the system space. What is the advantage of having user page tables in virtual rather than main memory? What is the disadvantage?

See Answer

Q: Suppose the program statement / is executed in a

Suppose the program statement is executed in a memory with page size of 1,000 words. Let n=1,000.Using a machine that has a full range of register-to-register instructions and employs index registers...

See Answer

Q: The IBM System/370 architecture uses a two-level memory

The IBM System/370 architecture uses a two-level memory structure and refers to the two levels as segments and pages, although the segmentation approach lacks many of the features described earlier in...

See Answer

Q: Consider the following workload: / a. Show

Consider the following workload: a. Show the schedule using shortest remaining time, non preemptive priority (a smaller priority number implies higher priority) and round robin with quantum 30 ms. Us...

See Answer

Q: Consider the following set of processes: / Perform the

Consider the following set of processes: Perform the same analysis as depicted in Table 9.5 and Figure 9.5 for this set. Table 9.5: Figure 9.5:

See Answer

Q: Prove that, among nonpreemptive scheduling algorithms, SPN provides the minimum

Prove that, among nonpreemptive scheduling algorithms, SPN provides the minimum average waiting time for a batch of jobs that arrive at the same time. Assume the scheduler must always execute a task i...

See Answer