Exercise: Operating Systems Concepts

Questions for: Operating Systems Concepts

Semaphores
A:
synchronize critical resources to prevent deadlock
B:
synchronize critical resources to prevent contention
C:
are used to do I/O
D:
are used for memory management
Answer: A
No answer description is available. Let's discuss.
What is the name given to all the programs inside the computer with makes it usable?
A:
Application software
B:
System software
C:
Firm ware
D:
Shareware
Answer: B
No answer description is available. Let's discuss.
The file structure that redefines its first record at a base of zero uses the term:
A:
relative organization
B:
key fielding
C:
dynamic reallocation
D:
hashing
Answer: A
No answer description is available. Let's discuss.
For how many processes which are sharing common data, the Dekker's algorithm implements mutual exclusion?
A:
1
B:
2
C:
3
D:
4
Answer: B

Dekker's algorithm is the first known correct solution to the mutual exclusion problem in concurrent programming. The solution is attributed to Dutch mathematician Th. J. Dekker by Edsger W. Dijkstra in his manuscript on cooperating sequential processes. It allows two threads to share a single-use resource without conflict, using only shared memory for communication.

It avoids the strict alternation of a naive turn-taking algorithm, and was one of the first mutual exclusion algorithms to be invented.

Source: http://en.wikipedia.org/wiki/Dekker's_algorithm

The computational technique used to compute the disk storage address of individual records is called:
A:
bubble memory
B:
key fielding
C:
dynamic reallocation
D:
hashing
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz