Quiz
OS Part 1 4
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (25)
1With paging there is no _____ fragmentation
- Aeither type of
- Bnone of the above
- Cexternal
- Dinternal
2The address of a page table in memory is pointed by:
- Apage table base register
- Bstack pointer
- Cpage register
- Dprogram counter
3What is a medium-term scheduler?
- Ait selects which process has to be executed next and allocates CPU
- Bnone of the above
- Cit selects which process has to be brought into the ready queue
- Dit selects which process has to remove from memory by swapping
4"No preemption" condition for a deadlock is defined as:
- AOnly one process may use a resource at a time
- BNo resource can be forcibly removed from process holding it
- CProcess holds a resource while awaiting for other resource
- DEach process holds resource needed by next process in chain
5Processor:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
6Fixed-length block of main memory is called _____
- Aframes
- Bsegments
- Cnone of the above
- Dpages
7The initial value of the semaphore that allows only one of the many processes to enter their critical section, is?
- A1
- B0
- C2
- D10
8Mutual exclusion means that:
- Aif a process is executing in its critical section, then other processes must be executing in their critical section
- Bif a process is executing in its critical section, then all the resources of the system must be blocked until it finishes exclusion
- Cif a process is executing in its critical section, then no other process must be executing in their critical sections
- Dnone of the above
9For every process there is a _____.
- Apointer to page table
- Bcopy of page table
- Cframe table
- Dpage table
10In operating system, each process has its own
- Aall of the mentioned
- Baddress space and global variables
- Cset of data
- Dprogram code
11Listing the sequence of instructions that are executed is called:
- Atrace
- Bprogram counter
- Cinstruction
- Dcontrol block
12The segment of code in which the process may change common variables, update tables, write into files known as:
- Acritical section
- Bprogram
- Cnon-critical section
- Dmutual exclusion
13Deadlock inevitable region can be referred as:
- Afun region
- Bfatal region
- Cfinal region
- Dfalse region
14How to solve a problem of equal-size partitions?
- Aunequal-size partitions
- Bsegmentation
- Ccompaction
- Dvirtual memory segmentation
15Paging?
- Aallows multiple programs to reside in separate areas of core at the time
- Bis a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided equal portions or blocks
- Cis a method of allocating processor time
- Dconsists of those addresses that may be generated by a processor during execution of a computation
16In internal fragmentation, memory is internal to a partition and:
- Ais not being used
- Bnone of the above
- Cis always used
- Dis being used
17A set of processes is deadlock if:
- Aeach process is blocked and will remain so forever
- Bnone of the above
- Call processes are trying to kill each other
- Deach process is terminated
18A memory used to provide a high speed is called?
- Acache
- Bmain memory
- Cdisk buffer
- Dstack pointer
19In indirect communication between processes P and Q:
- Athere is a mailbox to help communication between P and Q
- Bnone of the above
- Cthere is another machine between the two processes to help communication
- Dthere is another process R to handle and pass on the messages between P and Q
20Semaphore is a/an _____ to solve the critical section problem?
- Aspecial program for a system
- Bcomplex structure
- Cinteger variable
- Dhardware for a system
21Which of the following is not the state of a process?
- Anew
- Brunning
- Cold
- Dready
22The address of the next instruction to be executed by the current process is provided by the:
- Apipe
- Bprogram counter
- CCPU registers
- Dprocess stack
23Which of the following is not true about the memory management?
- Asegmentation suffers from external fragmentation
- Bpaging suffers from internal fragmentation
- Cvirtual memory is used only in multi-user systems
- Dsegmented memory can be paged
24The primary distinction between the short-term scheduler and long-term scheduler is:
- Athe length of their queues
- Bnone of the above
- Cthe type of processes the schedule
- Dthe frequency of their execution
25An un-interruptible unit is known as:
- Asingle
- Bnone of the above
- Cstatic
- Datomic
Information
- Description
- 2 Digital Technologies Quiz on OS Part 1 4, created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz
More on Processes, Threads and Communication