Deck 3: Operating System and Process Management: Part B

Full screen (f)
exit full mode
Question
Process are classified into different groups in

A)shortest job scheduling algorithm
B)round robin scheduling algorithm
C)priority scheduling algorithm
D)multilevel queue scheduling algorithm
Use Space or
up arrow
down arrow
to flip the card.
Question
In multilevel feedback scheduling algorithm

A)a process can move to a different classified ready queue
B)classification of ready queue is permanent
C)processes are not classified into groups
D)none of the mentioned
Question
Which one of the following can not be scheduled by the kernel?

A)kernel level thread
B)user level thread
C)process
D)none of the mentioned
Question
What is the reusable resource?

A)that can be used by one process at a time and is not depleted by that use
B)that can be used by more than one process at a time
C)that can be shared between various threads
D)none of the mentioned
Question
Which of the following condition is required for deadlock to be possible?

A)mutual exclusion
B)a process may hold allocated resources while awaiting assignment of other resources
C)no resource can be forcibly removed from a process holding it
D)all of the mentioned
Question
A system is in the safe state if

A)the system can allocate resources to each process in some order and still avoid a deadlock
B)there exist a safe sequence
C)both (a) and (b)
D)none of the mentioned
Question
The circular wait condition can be prevented by

A)defining a linear ordering of resource types
B)using thread
C)using pipes
D)all of the mentioned
Question
Which one of the following is the deadlock avoidance algorithm?

A)banker's algorithm
B)round-robin algorithm
C)elevator algorithm
D)karn's algorithm
Question
What is the drawback of banker's algorithm?

A)in advance processes rarely know that how much resource they will need
B)the number of processes changes as time progresses
C)resource once available can disappear
D)all of the mentioned
Question
For effective operating system, when to check for deadlock?

A)every time a resource request is made
B)at fixed time intervals
C)both (a) and (b)
D)none of the mentioned
Question
A problem encountered in multitasking when a process is perpetually denied necessary resources is called

A)deadlock
B)starvation
C)inversion
D)aging
Question
Which one of the following is a visual ( mathematical ) way to determine the deadlock occurrence?

A)resource allocation graph
B)starvation graph
C)inversion graph
D)none of the mentioned
Question
To avoid deadlock

A)there must be a fixed number of resources to allocate
B)resource allocation must be done only once
C)all deadlocked processes must be aborted
D)inversion technique can be used
Question
CPU fetches the instruction from memory according to the value of

A)program counter
B)status register
C)instruction register
D)program status word
Question
A memory buffer used to accommodate a speed differential is called

A)stack pointer
B)cache
C)accumulator
D)disk buffer
Question
Which one of the following is the address generated by CPU?

A)physical address
B)absolute address
C)logical address
D)none of the mentioned
Question
Run time mapping from virtual to physical address is done by

A)memory management unit
B)cpu
C)pci
D)none of the mentioned
Question
Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called

A)fragmentation
B)paging
C)mapping
D)none of the mentioned
Question
The address of a page table in memory is pointed by

A)stack pointer
B)page table base register
C)page register
D)program counter
Question
Program always deals with

A)logical address
B)absolute address
C)physical address
D)relative address
Question
The page table contains

A)base address of each page in physical memory
B)page offset
C)page size
D)none of the mentioned
Question
What is compaction?

A)a technique for overcoming internal fragmentation
B)a paging technique
C)a technique for overcoming external fragmentation
D)a technique for overcoming fatal error
Question
Operating System maintains the page table for

A)each process
B)each thread
C)each instruction
D)each address
Question
In segmentation, each address is specified by :

A)a segment number
B)an offset
C)a value
D)a key
Question
In paging the user provides only ________, which is partitioned by the hardware into ________ and ______.

A)one address, page number, offset
B)one offset, page number, address
C)page number, offset, address
D)none of these
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 3: Operating System and Process Management: Part B
1
Process are classified into different groups in

A)shortest job scheduling algorithm
B)round robin scheduling algorithm
C)priority scheduling algorithm
D)multilevel queue scheduling algorithm
multilevel queue scheduling algorithm
2
In multilevel feedback scheduling algorithm

A)a process can move to a different classified ready queue
B)classification of ready queue is permanent
C)processes are not classified into groups
D)none of the mentioned
a process can move to a different classified ready queue
3
Which one of the following can not be scheduled by the kernel?

A)kernel level thread
B)user level thread
C)process
D)none of the mentioned
user level thread
4
What is the reusable resource?

A)that can be used by one process at a time and is not depleted by that use
B)that can be used by more than one process at a time
C)that can be shared between various threads
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following condition is required for deadlock to be possible?

A)mutual exclusion
B)a process may hold allocated resources while awaiting assignment of other resources
C)no resource can be forcibly removed from a process holding it
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
A system is in the safe state if

A)the system can allocate resources to each process in some order and still avoid a deadlock
B)there exist a safe sequence
C)both (a) and (b)
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
The circular wait condition can be prevented by

A)defining a linear ordering of resource types
B)using thread
C)using pipes
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
Which one of the following is the deadlock avoidance algorithm?

A)banker's algorithm
B)round-robin algorithm
C)elevator algorithm
D)karn's algorithm
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
What is the drawback of banker's algorithm?

A)in advance processes rarely know that how much resource they will need
B)the number of processes changes as time progresses
C)resource once available can disappear
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
For effective operating system, when to check for deadlock?

A)every time a resource request is made
B)at fixed time intervals
C)both (a) and (b)
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
A problem encountered in multitasking when a process is perpetually denied necessary resources is called

A)deadlock
B)starvation
C)inversion
D)aging
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Which one of the following is a visual ( mathematical ) way to determine the deadlock occurrence?

A)resource allocation graph
B)starvation graph
C)inversion graph
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
To avoid deadlock

A)there must be a fixed number of resources to allocate
B)resource allocation must be done only once
C)all deadlocked processes must be aborted
D)inversion technique can be used
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
CPU fetches the instruction from memory according to the value of

A)program counter
B)status register
C)instruction register
D)program status word
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
A memory buffer used to accommodate a speed differential is called

A)stack pointer
B)cache
C)accumulator
D)disk buffer
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
Which one of the following is the address generated by CPU?

A)physical address
B)absolute address
C)logical address
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Run time mapping from virtual to physical address is done by

A)memory management unit
B)cpu
C)pci
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called

A)fragmentation
B)paging
C)mapping
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
The address of a page table in memory is pointed by

A)stack pointer
B)page table base register
C)page register
D)program counter
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
Program always deals with

A)logical address
B)absolute address
C)physical address
D)relative address
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
The page table contains

A)base address of each page in physical memory
B)page offset
C)page size
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
What is compaction?

A)a technique for overcoming internal fragmentation
B)a paging technique
C)a technique for overcoming external fragmentation
D)a technique for overcoming fatal error
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
Operating System maintains the page table for

A)each process
B)each thread
C)each instruction
D)each address
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
In segmentation, each address is specified by :

A)a segment number
B)an offset
C)a value
D)a key
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
In paging the user provides only ________, which is partitioned by the hardware into ________ and ______.

A)one address, page number, offset
B)one offset, page number, address
C)page number, offset, address
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.