CS604 Quiz#2 Solution and discussion
-
---------------keep in memory only those instructions and data that are needed at any given time. CS604
►Fragmentation
►Paging
►Swapping
►Overlays (Page 156) -
----------holds the smallest legal physical memory address for a process CS604
Or
Which register holds the smallest legal physical memory address for a process?► Base register (Page 13)
► Limit register
►Status register
►None of the given options -
Each page is a power of -------- bytes long in paging scheme.
► 2
► 3
► 4 (Page 167)
► 5 -
External Fragmentation takes place in ______________
Select correct option:
- Multi programming with Variable Tasks (MVT)
- Multi programming with Fixed Tasks (MFT)
- Multi-tasking
- Paging
-
In deadlock detection and recovery algorithm, a deadlock exists in the system if and only if the wait for graph
contains a _____________► Cycle (Page 147)
► Graph
► Edge
► Node -
In order to remove the problem like busy waiting, some high level synchronization constructs are defined. What
are they?►Critical regions and Monitors (Page 124)
-
In Swapping technique of Memory Management, the total amount transfer time is directly proportional to the ___________.
- amount of memory swapped
- amount of space on backing store
- space on main memory
- all the given options are correct
-
Object files and libraries are combined by a ------------- program to produce the executable binary
► Compiler
► Linker
► Text editor
► Loader Click here for detail -
Secondary storage memory devices have ____ memory.
►Volatile
►Permanent and non volatile Click here for detail
►Temporary
►None of the -
The integer value of _________ semaphores can not be greater than 1.
►Counting
►Binary (Page 117)
►Mutex
►Bounded buffer -
The integer value of ________semaphores can range over an unrestricted integer domain.
►Counting (Page 117)
►Binary
►Mutex
►Bounded buffer -
The main memory is usually divided into partitions, one for __________ and other for __________.
- Operating System, User processes
- Operating system, CPU
- Processes, Virtual Memory
- Base Register, Limit Register
-
Using hardware solution to synchronization for complex problems, introduce a new synchronization tool know as _______________.
- TestAndSet
- Semaphore (Page 111)
- Swap
- Trap
-
We can use semaphores to deal with the number of __________process critical section problem.
►n-process critical section problem
-
Software solution to critical section problem can run only in environment ______________.
Multiprocessor
Multithreading
Uniprocessor
Separate address spacingThe software-based solution is 2 processes also they are not guaranteed to work on modern computers architecture. The critical section problem could be solved simply in a uniprocessor environment if we prevent interrupts from occurring from uniprocessor environment.
-
While executing the statement c++/c-- in Producer-Consumer problem, at back end certain number of
instructions are executed, if interleaving of statements happen, it create race condition. Tell number of
instructions that require “no interleaving” while executing c++/c–?3
1
2
0
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login





[/center]
[/center]