Midterm PDF
Midterm PDF
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
Reading and writing to ordinary pipes on both UNIX and Windows systems can be performed like ordinary file I/O. True/False:
True
The ________ refers to the number of processes in memory: degree of multiprogramming
____ scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of
previous CPU bursts.: SJF
A Solaris interactive thread with priority 15 has a higher relative priority than an interactive thread with priority 20. True/False:
False
A system call is triggered by hardware.: False
Systems using a one-to-one model (such as Windows, Solaris , and Linux) schedule threads using process-contention scope
(PCS). True/False: False
58.
Task parallelism distributes threads and data across multiple computing cores. True/False: False
59.
60.
61.
To the SYSGEN program of an operating system, the least useful piece of information is _____.: what applications to install
62.
63.
Two important design issues for cache memory are ____.: size and replacement policy
64.
A _____ type presents a set of programmer-defined operations that are provided mutual exclusion within it.: monitor
65.
UNIX does not allow users to escalate privileges to gain extra permissions for a restricted activity.: False
66.
67.
When a child process is created, which of the following is a possibility in terms of the execution or address space of the child
process?
-The child process runs concurrently with the parent.
-The child process has a new program loaded into it.
-The child is a duplicate of the parent.: All of the above
68.
When OpenMP encounters the #pragma omp parallel directive, it: creates as many threads as there are processing cores
69.
Which of the following is not a process type in the Chrome browser?: Sandbox
70.
The Windows CreateFile() system call is used to create a file. What is the equivalent system call in UNIX:: Open()
71.