Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Time left 1 : 4 2 : 0 7 Question 1 Answer saved Marked out of 3 . 0 0 Flag question Question text Assume

Time left 1:42:07
Question 1
Answer saved
Marked out of 3.00
Flag question
Question text
Assume there are three resources, R1, R2, and R3, that are each assigned unique integer values 15,10, and 25, respectively. What is a resource ordering which prevents a circular wait?
Select one:
a.
R1, R2, R3
b.
R3, R2, R1
c.
R3, R1, R2
d.
R2, R1, R3
Question 2
Answer saved
Marked out of 3.00
Flag question
Question text
____ is a thread library for Solaris that maps many user-level threads to one kernel thread.
Select one:
a.
Pthreads
b.
Green threads
c.
Sthreads
d.
Java threads
Question 3
Not yet answered
Marked out of 3.00
Flag question
Question text
In an environment where several processes may open the same file at the same time, ____.
Select one:
a.
the operating system typically uses only one internal table to keep track of open files
b.
the operating system typically uses two internal tables called the system-wide and per-disk tables to keep track of open files
c.
the operating system typically uses three internal tables called the system-wide, per-disk, and per-partition tables to keep track of open files
d.
the operating system typically uses two internal tables called the system-wide and per-process tables to keep track of open files
Question 4
Not yet answered
Marked out of 3.00
Flag question
Question text
In Pthreads, a parent uses the pthread_join() function to wait for its child thread to complete. What is the equivalent function in Win32?
Select one:
a.
win32_join()
b.
wait()
c.
WaitForSingleObject()
d.
join()
Question 5
Not yet answered
Marked out of 2.00
Flag question
Question text
A process may transition to the Ready state by which of the following actions?
Select one:
a.
Completion of an I/O event
b.
Awaiting its turn on the CPU
c.
Newly-admitted process
d.
All of the above
Question 6
Not yet answered
Marked out of 3.00
Flag question
Question text
The "key" scheme for implementing revocation allows selective revocation.
True
False
Question 7
Not yet answered
Marked out of 3.00
Flag question
Question text
________ allows the parent and child processes to initially share the same pages, but when either process modifies a page, a copy of the shared page is created.
Select one:
a.
copy-on-write
b.
zero-fill-on-demand
c.
memory-mapped
d.
virtual memory fork
Question 8
Not yet answered
Marked out of 4.00
Flag question
Question text
A cycle in a resource-allocation graph is ____.
Select one:
a.
a necessary and sufficient condition for deadlock in the case that each resource has more than one instance
b.
a necessary and sufficient condition for a deadlock in the case that each resource has exactly one instance
c.
a sufficient condition for a deadlock in the case that each resource has more than one instance
d.
is neither necessary nor sufficient for indicating deadlock in the case that each resource has exactly one instance

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

How would you improve the Deli Depot survey and questionnaire?

Answered: 1 week ago

Question

=+1. What are the core best practices for social care?

Answered: 1 week ago