Deck 5: Operating Systems and Disk Management
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/11
Play
Full screen (f)
Deck 5: Operating Systems and Disk Management
1
In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because :
A)only one thread can access the kernel at a time
B)many user threads have access to just one kernel thread
C)there is only one kernel thread
D)none of these
A)only one thread can access the kernel at a time
B)many user threads have access to just one kernel thread
C)there is only one kernel thread
D)none of these
only one thread can access the kernel at a time
2
The One to One model allows :
A)increased concurrency
B)decreased concurrency
C)increased or decreased concurrency
D)concurrency equivalent to other models
A)increased concurrency
B)decreased concurrency
C)increased or decreased concurrency
D)concurrency equivalent to other models
increased concurrency
3
In the One to One model when a thread makes a blocking system call :
A)other threads are strictly prohibited from running
B)other threads are allowed to run
C)other threads only from other processes are allowed to run
D)none of these
A)other threads are strictly prohibited from running
B)other threads are allowed to run
C)other threads only from other processes are allowed to run
D)none of these
other threads are allowed to run
4
Which of the following is the drawback of the One to One Model ?
A)increased concurrency provided by this model
B)decreased concurrency provided by this model
C)creating so many threads at once can crash the system
D)creating a user thread requires creating the corresponding kernel thread
A)increased concurrency provided by this model
B)decreased concurrency provided by this model
C)creating so many threads at once can crash the system
D)creating a user thread requires creating the corresponding kernel thread
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
5
When is the Many to One model at an advantage ?
A)when the program does not need multi-threading
B)when the program has to be multi-threaded
C)when there is a single processor
D)none of these
A)when the program does not need multi-threading
B)when the program has to be multi-threaded
C)when there is a single processor
D)none of these
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
6
In the Many to Many model true concurrency cannot be gained because :
A)the kernel can schedule only one thread at a time
B)there are too many threads to handle
C)it is hard to map threads with each other
D)none of these
A)the kernel can schedule only one thread at a time
B)there are too many threads to handle
C)it is hard to map threads with each other
D)none of these
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
7
In the Many to Many model when a thread performs a blocking system call :
A)other threads are strictly prohibited from running
B)other threads are allowed to run
C)other threads only from other processes are allowed to run
D)none of these
A)other threads are strictly prohibited from running
B)other threads are allowed to run
C)other threads only from other processes are allowed to run
D)none of these
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
8
The header and trailer of a sector contain information used by the disk controller such as _________ and _________.
A)main section
B)error correcting codes (ecc)
C)sector number
D)disk identifier
A)main section
B)error correcting codes (ecc)
C)sector number
D)disk identifier
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
9
The two steps the operating system takes to use a disk to hold its files are _______ and ________.
A)partitioning
B)swap space creation
C)caching
D)logical formatting
A)partitioning
B)swap space creation
C)caching
D)logical formatting
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
10
For most computers, the bootstrap is stored in ____.
A)ram
B)rom
C)cache
D)tertiary storage
A)ram
B)rom
C)cache
D)tertiary storage
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck
11
Defective sectors on disks are often known as __________.
A)good blocks
B)destroyed blocks
C)bad blocks
D)none of these
A)good blocks
B)destroyed blocks
C)bad blocks
D)none of these
Unlock Deck
Unlock for access to all 11 flashcards in this deck.
Unlock Deck
k this deck