Frage 1
Antworten
-
Processor registers
-
Application programs
-
Opcodes
-
System programs
Frage 2
Frage
The process index register
Antworten
-
Contains the index into the process list of process currently controlling the processor.
-
Contains the staring address of the region of memory occupied by the process.
-
Define the region in memory occupied by the process
-
Points to the next isntruction in that process to be executed
Frage 3
Frage
The end user views a computer system in terms of:
Frage 4
Frage
Choose the storage management responsibility for «The OS can achieve efficiency by assigning memory to jobs only as needed:
Antworten
-
Process isolation
-
Protection and access control
-
Automatic allocation and management
-
Long-term storage
-
Support of modular programming
Frage 5
Frage
"The OS as a User/Computer Interface" corresponds to the following objective:
Antworten
-
Efficiency
-
Convenience
-
Ability to evolve
Frage 6
Frage
_____ is generally faster than _____
Antworten
-
first fit, best fit
-
none of the above
-
best fit, first fit
-
worst fit, best fit
Frage 7
Frage
Memory partitioning algorithm that uses binary tree as a data structure is called:
Antworten
-
First-fit algorithm
-
Buddy system
-
Next-fit algorithm
-
Best-fit algorithm
Frage 8
Frage
The address of a page table in memory is pointed by:
Antworten
-
stack pointer
-
page table base register
-
program counter
-
page register
Frage 9
Frage
Which of the following is not true about the memory management?
Antworten
-
segmented memory can be paged
-
virtual memory is used only in multi-user systems
-
segmentation suffers from external fragmentation
-
paging suffers from internal fragmentation
Frage 10
Frage
Main memory is broken into fixed-size blocks called
Antworten
-
None of the above
-
Segments
-
Frames
-
Pages
Frage 11
Frage
In operating system each process has its own:
Frage 12
Frage
Mutual exclusion can be provided by the:
Antworten
-
both
-
mutex locks
-
binary semaphores
-
none of the above
Frage 13
Frage
What is a medium-term scheduler?
Antworten
-
It selects which process has to be executed next and allocates CPU
-
It selects which process has to be brought into the ready queue
-
It selects which process to remove from memory by swapping
-
None of the above
Frage 14
Frage
The state of a process is defined by:
Antworten
-
The activity to next to be executed by the process
-
The activity just executed by the process
-
The current activity of the process
-
The final activity of the process
Frage 15
Frage
What is a ready state of a process?
Antworten
-
when process is using the CPU
-
when process is scheduled to run after some execution
-
when process is unable to run unitl some task has been completed
-
none of the above
Frage 16
Frage
Which one of the following is the deadlock avoidance algorithm?
Frage 17
Frage
A state is safe if:
Antworten
-
the system can allocate resources to each process in some order and still avoid a deadlock
-
all of the above
-
the state keeps the system protected and safe
-
the system does not crash due to deadlock occurrence
Frage 18
Frage
The initial value of the semaphore, that allows only one of the many processes to enter their critical sections, is:
Frage 19
Frage
The segment of code in which the process may change common variables, update tables, write into files is known as:
Antworten
-
critical section
-
mutual exclusion
-
non-critical section
-
program
Frage 20
Frage
A problem encountered in multitasking when a process is perpetually denied necessary resources is called
Antworten
-
starvation
-
aging
-
inversion
-
deadlock
Frage 21
Frage
A system is in the safe state if:
Frage 22
Frage
What is the reusable resource?
Antworten
-
that can be used by one process at a time and is not depleted by that use
-
that can be used by more than one process at a time
-
that can be shared between various threads
-
none of the above
Frage 23
Frage
This illustrates the progress of two processes competing for two resources
Antworten
-
joint progress diagram
-
joint ingres diagram.
-
joint regress diagram.
-
joint process diagram.
Frage 24
Frage
Current allocation of resources to processes where there is at least one sequence that does not result in deadlock is called
Antworten
-
Safe state
-
Ambiguous state
-
Unsafe state
-
Alternative state
Frage 25
Frage
The resource vector defines:
Antworten
-
total amount of each resource in the system
-
total amount of each resource NOT allocated to any process
-
total amount of resources required for all processes
-
total amount of each resource allocated to all processes
Frage 26
Frage
"No preemption" condition for deadlock is defined as
Antworten
-
No resource can be forcibly removed from process holding it.
-
Process holds a resources while awaiting for other resource
-
Only one process may use a resource at a time
-
Each process holds resource needed by next process in chain
Frage 27
Frage
This matrix defines the current allocation to process i of resource j:
Antworten
-
Claim matrix
-
Allocation matrix
-
Resource matrix
-
Request matrix
Frage 28
Frage
Which of the following cannot be interrupted?
Antworten
-
Process
-
Thread
-
Atomic operation
-
Module
Frage 29
Frage
A minimum of ____ variables is/are required to be shared between processes to solve critical section problem.
Frage 30
Frage
For non-sharable resources like a printer, mutual exclusion:
Antworten
-
must exist
-
may exist
-
must not exist
-
none of the above
Frage 31
Frage
A monitor is type of:
Frage 32
Frage
An un-interruptible unit is known as:
Antworten
-
atomic.
-
single
-
static
-
none of the above
Frage 33
Frage
Part of program, where the shared memory is accessed and which should be executed invisibly, is called:
Antworten
-
critical section
-
semaphores
-
directory
-
mutual exclusion
Frage 34
Frage
Current allocation of resources to processes where there is no sequence that does not result in deadlock is called:
Antworten
-
Safe state
-
Unsafe state
-
Alternative state
-
Ambiguous state
Frage 35
Frage
Which of the following is not one of the principles of dealing with deadlock?
Antworten
-
Initialization
-
Detection
-
Prevention
-
Avoidance
Frage 36
Frage
Deadlock inevitable region can be referred to as a:
Antworten
-
fatal region
-
false region
-
final region
-
fun region
Frage 37
Frage
When each process in the set is blocked awaiting for resource seized by another blocked process:
Antworten
-
it is deadlock
-
it is deadend
-
it is a softlock
-
It is a mortallock
Frage 38
Frage
What is NOT an example of reusable resource?
Antworten
-
I/O channels
-
Semaphores
-
Processors
-
Interrupt
Frage 39
Frage
In the non-blocking send, blocking receive:
Antworten
-
the sending process sends the message and resumes operation
-
the sending process keeps sending until it receives a message
-
sender continues on, receiver is blocked until the requested message arrives
-
none of the above
Frage 40
Frage
The degree of multi-programming is:
Antworten
-
the number of process in memory
-
the number of processes executed per unit time
-
the number of process in the ready queue
-
the number of process in the I/O queue
Frage 41
Frage
What controls the process in a single-threaded process model?
Frage 42
Frage
The context of a process in the PCB of a process DOESN'T contain:
Frage 43
Frage
Job control language was used to:
Antworten
-
provide instructions to the monitor to improve job setup time.
-
control the sequence of events as the resident monitor
-
translate the user's program into object code
-
execute instructions
Frage 44
Frage
The hardware and software used in providing applications to a user can be viewed in a:
Antworten
-
sandwich fashion
-
classified fashion
-
layered fashion
-
leveled fashion
Frage 45
Frage
Semaphore is a/an _____ to solve critical section problem.
Frage 46
Frage
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called
Antworten
-
data consistency
-
aging
-
race condition
-
starvation
Frage 47
Frage
«The OS as a resource manager» corresponds to the following objective:
Antworten
-
Efficiency
-
Convenience
-
Ability to evolve
Frage 48
Frage
Choose the storage management responsibility for «Programmers should be able to define program modules and to create, destroy and after the size of modules dynamically»:
Frage 49
Frage
The first fit, best fit and worst fit are strategies to select a:
Antworten
-
free hole from a set of available holes.
-
processor to run the next process
-
process from a queue to put in memory
-
all of the above
Frage 50
Frage
For every process there is a:
Antworten
-
page table.
-
copy of page table
-
frame table
-
pointer to page table
Frage 51
Frage
The memory allocation scheme subject to "internal" fragmentation is
Frage 52
Frage
In memory systems, boundary registers
Antworten
-
are used for temporary program variable storage
-
are only necessary with fixed partitions
-
are only necessary with unequal-length partitions
-
track the beginning and ending of programs
Frage 53
Frage
Any program, no matter how small, will occupy an entire partition results in
Antworten
-
paging
-
internal fragmentation
-
segmentation
-
external fragmentation
Frage 54
Frage
The Process Control Block is:
Frage 55
Frage
Which one of the following is synchronization tool?
Antworten
-
socket
-
thread
-
pipe
-
semaphore
Frage 56
Frage
The link between two processes P and Q to send and receive messages is called:
Antworten
-
communication link
-
message-passing link
-
synchronization tool
-
all of the above
Frage 57
Frage
This system handles multiple interactive jobs:
Frage 58
Frage
"Two or more programs hung up waiting for each other". This error is caused by
Frage 59
Frage
"Lost signals, duplicate signals received". This error is caused by:
Frage 60
Frage
The principal tool available to system programmers in developing the early multiprogramming and multiuser interactive systems
Antworten
-
Interrupt
-
Job Control Language
-
Ad hoc Method
-
Monitor
Frage 61
Frage
Fixed-length block of data in secondary memory is called:
Antworten
-
frames
-
segments
-
pages
-
none of the above
Frage 62
Frage
When the free memory is split into many unconnected pieces we call it:
Antworten
-
Compaction
-
External fragmentation
-
Memory distribution
-
Internal fragmentation
Frage 63
Frage
If a page number is not found in the TLB, then it is known as a:
Antworten
-
TLB miss
-
page fault
-
buffer miss
-
TLB hit
Frage 64
Frage
With paging there is no ______ fragmentation.
Antworten
-
either type of
-
internal
-
external
-
none of the above
Frage 65
Frage
If a page table entry is not in a main memory, then it is known as a:
Antworten
-
TLB hit
-
TLB miss
-
buffer miss
-
page fault
Frage 66
Frage
This matrix defines the amount of resources of type j requested by process i:
Antworten
-
Request matrix
-
Resource matrix
-
Claim matrix
-
Allocation matrix
Frage 67
Frage
«Hold and wait» condition for deadlock is defined as:
Antworten
-
process holds a resource while awaiting for other resource.
-
no resource can be forcibly removed from process holding it
-
only one process may use a resource at a time
-
each process holds resource needed by next process in chain
Frage 68
Frage
«Circular wait» condition for deadlock is defined as:
Antworten
-
each process holds a resource needed by next process in chain.
-
no resource can be forcibly removed from process holding it
-
only one process may use a resource at a time
-
process holds a resource while awaiting for other resource
Frage 69
Frage
Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and _____
Antworten
-
hold and wait
-
deadlock avoidance
-
race around condition
-
buffer overflow
-
none of the above
Frage 70
Frage
This resource can safely be used by only one process at a time and is not depleted by that use:
Antworten
-
refreshing resource
-
replenishing resource
-
refurbished resource
-
reusable resource
Frage 71
Frage
The available vector defines:
Antworten
-
total amount of resources required for all processes
-
total amount of each resource allocated to all processes
-
total amount of each resource NOT allocated to any process
-
total amount of each resource in the system
Frage 72
Frage
"No preemption" condition for deadlock is defined as:
Antworten
-
No resource can be forcibly removed from process holding it.
-
Only one process may use a resource at a time
-
Process holds a resource while awaiting for other resource
-
Each process holds resource needed by next process in chain
Frage 73
Frage
For sharable resources, mutual exclusion
Frage 74
Frage
In the blocking send, blocking receive:
Antworten
-
both sender and receiver are blocked until message is delivered
-
none of the above
-
the sending process sends the message and resumes operation
-
the sending process sends the message while receiver is blocked
Frage 75
Frage
In the non-blocking send, non-blocking receive:
Antworten
-
sender continues on, receiver is blocked until the requested message arrives.
-
neither of processes are required to wait
-
the sending process keeps sending until the message is received
-
the sending process sends the message and resumes operation
Frage 76
Frage
"More than one attempts to make use of a shared resource at the same time". This error is caused by:
Frage 77
Frage
Which of the following state transitions is not possible?
Antworten
-
Blocked to running
-
Blocked to ready
-
Running to blocked
-
Ready to running
Frage 78
Frage
What is a short-term scheduler?
Antworten
-
It selects which process has to be executed next and allocates CPU
-
It selects which process has to be brought into the ready queue
-
It selects which process to remove from memory by swapping
-
None of these
Frage 79
Frage
What is a long-term scheduler?
Antworten
-
It selects which process has to be brought into the ready queue
-
It selects which process has to be executed next and allocates CPU
-
It selects which process to remove from memory by swapping
-
None of these
Frage 80
Frage
What is inter-process communication?
Antworten
-
Communication between two threads of same process.
-
Communication between two process
-
Communication within the process
-
None of the mentioned
Frage 81
Frage
There were no OS with
Frage 82
Frage
Inter-process communication
Antworten
-
allows processes to communicate and synchronize their actions without using the same address space
-
none of the above
-
allows the processes to only synchronize their actions without communication
-
allows processes to communicate and synchronize their actions when using the same address space
Frage 83
Frage
A sequence of instructions in a computer language to get the desired result is known as:
Antworten
-
algorithm
-
process
-
instruction
-
program
Frage 84
Frage
In contiguous memory allocation
Antworten
-
each process is contained in a single contiguous section of memory
-
none of the above
-
the memory space is contiguous
-
all processes is contained in a single contiguous section of memory
Frage 85
Frage
A system clock generates an interrupts at a rate of approximately every 0.2 seconds. At each clock interrupt regained control and could assign processor to another user. Technique is known as:
Antworten
-
Time scheduling
-
Time slicing
-
Time sliding
-
Time allocating
Frage 86
Frage
In internal fragmentation, memory is internal to a partition and
Antworten
-
is not being used
-
none of the above
-
is always used
-
is being used
Frage 87
Frage
The operating system maintains a ____ table that keeps track of how many frames have been allocated, how many are there and how many are available
Antworten
-
memory
-
page
-
frame
-
segment
Frage 88
Frage
The algorithm is slow and may even tend to fill up memory with useless holes
Antworten
-
Best fit
-
Worst fit
-
First fit
-
None of the above
Frage 89
Frage
24. Which of the following statements is false?
Antworten
-
I\O transfers are more efficient with large pages
-
a large page size causes instructions and data that will not be referenced brought into primary storage
-
a small page size causes large page tables
-
internal fragmentation is increased with small pages
Frage 90
Frage
Short-term scheduler, or dispatcher, picks a process. Each process in the queue is given some time in turn. The strategy is called
Antworten
-
Round-robin technique
-
Prioritizing
-
Carousel technique
-
Merry-go-round technique
Frage 91
Frage
The limit register:
Antworten
-
Defines the size of the region of (in bytes or words)
-
Contains the index into the process list of the process currently controlling the processor
-
Points to the next instruction in that process to be executed
-
Contains the staring address of the region of memory occupied by the process
Frage 92
Frage 93
Frage
Process spawning is:
Antworten
-
Creation of parent process
-
Creation of child process
-
Termination of parent process
-
Termination of child process
Frage 94
Frage
The code that changes the value of the semaphore is:
Frage 95
Frage
This resource can be created and destroyed
Antworten
-
consumable resource
-
finite resource
-
restartable resource
-
resumable resource
Frage 96
Frage
What is NOT an example of consumable resource?
Frage 97
Frage
A binary semaphore is a semaphore with integer values (multiple choices):
Frage 98
Frage
If more than one user or program attempts to make use of a shared resource at the same time, it may cause the error of
Frage 99
Frage
Mutual exclusion means that
Antworten
-
if a process is executing in its critical section, then no other process must be executing in their critical sections
-
if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes exclusion
-
if a process is executing in its critical section, then other processes must be executing in their critical section
-
none of the above
Frage 100
Frage
The two kinds of semaphores are:
Antworten
-
mutex
-
counting
-
binary
-
decimal
Frage 101
Frage
The objective of multi-programming is to:
Antworten
-
have multiple programs waiting in a queue ready to run
-
to maximize CPU utilization
-
to minimize CPU utilization
Frage 102
Frage
A relationship between processes such that each has some part (critical section) which must not be executed while the critical section or another
Antworten
-
Mutual exclusion
-
Multiprogramming
-
Semaphore
-
Multitasking
Frage 103
Frage
What is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks? It is a method of allocating processor time?
Antworten
-
Paging
-
Virtual memory
-
Partition
-
Segmentation