Logo

Operating-systems Questions Set 45:

Quiz Mode

Which of the following statements is false?

1
2
3
4

Solution:

What must reside in the main memory under all situations in a resident operating system?

1
2
3
4

Solution:

Mapping of a file's contents to a process's virtual address space is managed by the ____________

1
2
3
4

Solution:

When device X has a cable that plugs into device Y, and device Y has a cable that plugs into device Z, and device Z plugs into a port on the computer, this arrangement is called a _____.

1
2
3
4

Solution:

What is a sandbox in computer security?

1
2
3
4

Solution:

What are the two main types of streaming techniques?

1
2
3
4

Solution:

What is used to protect a network from unauthorized access from the internet?

1
2
3
4

Solution:

Let m[0]...m[4] be mutexes (binary semaphores) and P[0]...P[4] be processes. Suppose each process P[i] executes the following:

wait(m[i]); wait(m[(i+1) % 4]);
------
release(m[i]); release(m[(i+1) % 4]);

1
2
3
4

Solution:

For mutual exclusion to prevail in the system, __________ is required.

1
2
3
4

Solution:

Consider a uniprocessor system executing three tasks T1, T2 and T3, each of which is composed of an infinite sequence of jobs (or instances) which arrive periodically at intervals of 3, 7 and 20 milliseconds, respectively. The priority of each task is the inverse of its period and the available tasks are scheduled in order of priority, with the highest priority task scheduled first. Each instance of T1, T2 and T3 requires an execution time of 1, 2 and 4 milliseconds, respectively. Given that all tasks initially arrive at the beginning of the 1st milliseconds and task preemptions are allowed, the first instance of T3 completes its execution at the end of ______________ milliseconds.

Solution: