Good Guy Beket
Test por , creado hace más de 1 año

Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Test sobre OS Part 1, creado por Good Guy Beket el 18/12/2017.

1030
17
0
Creado por un usuario eliminado hace más de 6 años
Good Guy Beket
Copiado por Good Guy Beket hace más de 6 años
Cerrar

OS Part 1

Pregunta 1 de 124

1

In the blocking send, blocking receive

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 2 de 124

1

The table _____ contains the base address of each page in physical memory

Selecciona una de las siguientes respuestas posibles:

  • process

  • memory

  • page

  • frame

Explicación

Pregunta 3 de 124

1

A state is safe, if:

Selecciona una de las siguientes respuestas posibles:

  • the system can allocate resources to each process in some order and still avoid deadlock

  • the system does not crash due to deadlock occurrence

  • the state keeps the system protected and safe

  • all of the above

Explicación

Pregunta 4 de 124

1

In fixed sized partition, the degree of multiprogramming is bounded by ____

Selecciona una de las siguientes respuestas posibles:

  • the memory size

  • all of the above

  • the number of partitions

  • the CPU utilization

Explicación

Pregunta 5 de 124

1

_____ is generally faster than _____

Selecciona una de las siguientes respuestas posibles:

  • worst fit, best fit

  • best fit, first fit

  • first fit, best fit

  • none of the above

Explicación

Pregunta 6 de 124

1

The two atomic operations permissible on semaphores are: (several answer)

Selecciona una o más de las siguientes respuestas posibles:

  • wait

  • signal

  • hold

  • stop

Explicación

Pregunta 7 de 124

1

Program:

Selecciona una de las siguientes respuestas posibles:

  • is the device where information stored

  • is a sequence of the instructions

  • is a device that performs a sequence of operations specified by instructions in memory

  • is typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user

Explicación

Pregunta 8 de 124

1

"Mutual exclusion" condition for deadlock is defined as:

Selecciona una de las siguientes respuestas posibles:

  • Only one process may use a resource at a time

  • No resource can be forcibly removed from process holding it

  • Process holds a resource while awaiting for other resource

  • Each process holds resource needed by next process in chain

Explicación

Pregunta 9 de 124

1

"Hold and wait" condition for a deadlock is defined as:

Selecciona una de las siguientes respuestas posibles:

  • Only one process may use a resource at a time

  • No resource can be forcibly removed from process holding it

  • Process holds a resource while awaiting for other resource

  • Each process holds resource needed by next process in chain

Explicación

Pregunta 10 de 124

1

A monitor is a type of:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • high level synchronization construct

  • low level synchronization construct

  • semaphore

Explicación

Pregunta 11 de 124

1

What is NOT the example of consumable resources?

Selecciona una de las siguientes respuestas posibles:

  • Information in I\O buffers

  • Signals

  • Main memory

  • Messages

Explicación

Pregunta 12 de 124

1

Which one is a synchronization tool?

Selecciona una de las siguientes respuestas posibles:

  • socket

  • thread

  • pipe

  • semaphore

Explicación

Pregunta 13 de 124

1

A Process Control Block (PCB) does not contain which of the following?

Selecciona una de las siguientes respuestas posibles:

  • stack

  • data

  • process state

  • bootstrap program

Explicación

Pregunta 14 de 124

1

With _____ only one process can execute at a time; meanwhile all other process are waiting for the processor. With _____ more than one process can be running simultaneously each on a different processor.

Selecciona una de las siguientes respuestas posibles:

  • Multiprocessing, multiprogramming

  • Uniprogramming, Multiprocessing

  • Multiprogramming, Uniprocessing

  • Multiprogramming, Multiprocessing

Explicación

Pregunta 15 de 124

1

Memory:

Selecciona una de las siguientes respuestas posibles:

  • is the device where information stored

  • is a sequence of the instructions

  • is a device that performs a sequence of operations specified by instructions in memory

  • is typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user

Explicación

Pregunta 16 de 124

1

This resource can be safely used by only one process at a time and is not depleted by that use:

Selecciona una de las siguientes respuestas posibles:

  • refurbished resource

  • replenishing resource

  • reusable resource

  • refreshing resource

Explicación

Pregunta 17 de 124

1

Which of the following condition is required for the deadlock to be possible?

Selecciona una de las siguientes respuestas posibles:

  • mutual exclusion

  • all of the above

  • no resource can be forcibly removed from a process holding it

  • a process may hold allocated resources while awaiting assignment of other resources

Explicación

Pregunta 18 de 124

1

The _____ is used as an index into the page table

Selecciona una de las siguientes respuestas posibles:

  • page number

  • page offset

  • frame bit

  • frame offset

Explicación

Pregunta 19 de 124

1

A page fault:

Selecciona una de las siguientes respuestas posibles:

  • occurs when a program accesses a page of memory

  • is a reference to a page belonging to another program

  • is an access to a page not currently in memory

  • is an error is a specific page

Explicación

Pregunta 20 de 124

1

A state of a process is defined by:

Selecciona una de las siguientes respuestas posibles:

  • the activity is just executed by the process

  • the final activity of the process

  • the activity to next be executed by the process

  • the current activity of the process

Explicación

Pregunta 21 de 124

1

Suppose that a process is in “Blocked” state waiting for some I\O service. When a service is completed, it goes to the:

Selecciona una de las siguientes respuestas posibles:

  • Ready state

  • Running state

  • Terminated state

  • Suspended state

Explicación

Pregunta 22 de 124

1

The link between two processes P and Q to send and receive a message is called:

Selecciona una de las siguientes respuestas posibles:

  • message-passing link

  • all of the above

  • communication link

  • synchronization link

Explicación

Pregunta 23 de 124

1

Message passing system allows processes to:

Selecciona una de las siguientes respuestas posibles:

  • share data

  • communicate with one another without resorting to shared data

  • name the recipient or sender of the message

  • communicate with one another by resorting shared data

Explicación

Pregunta 24 de 124

1

Which of the following statements is false?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 25 de 124

1

The systems which allows only one process execution at a time, are called:

Selecciona una de las siguientes respuestas posibles:

  • unitasking systems

  • uniprocessing systems

  • uniprogramming systems

  • unicasting systems

Explicación

Pregunta 26 de 124

1

Remote Procedure Calls (RPC) are used:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • for communication between two processes on separate systems

  • for communication between two processes on the same systems

  • for communication between two processes remotely different from each other on the same system

Explicación

Pregunta 27 de 124

1

A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem?

Selecciona una de las siguientes respuestas posibles:

  • two

  • three

  • one

  • four

Explicación

Pregunta 28 de 124

1

This resource can be created and destroyed

Selecciona una de las siguientes respuestas posibles:

  • resumable resource

  • restartable resource

  • consumable resource

  • finite resource

Explicación

Pregunta 29 de 124

1

Fixed-length block of data in secondary memory is called:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • frames

  • segments

  • pages

Explicación

Pregunta 30 de 124

1

A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executing, is known as?

Selecciona una de las siguientes respuestas posibles:

  • Multitasking

  • Semaphore

  • Mutual exclusion

  • multiprogramming

Explicación

Pregunta 31 de 124

1

Every address generated by the CPU is divided into two parts:

Selecciona una o más de las siguientes respuestas posibles:

  • frame offset

  • page number

  • frame bit

  • page offset

Explicación

Pregunta 32 de 124

1

Segmentation suffers from external fragmentation?

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 33 de 124

1

For each process OS creates and manages:

Selecciona una de las siguientes respuestas posibles:

  • Process control block

  • Program code

  • Program

  • Thread control block

Explicación

Pregunta 34 de 124

1

What is a trap/exception?

Selecciona una de las siguientes respuestas posibles:

  • user generated interrupt caused by an error

  • failure of the system

  • hardware generated interrupt caused by an error

  • software generated interrupt caused by an error

Explicación

Pregunta 35 de 124

1

What is the reusable resource:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • that can be used by more than one process at a time

  • that can be used by one process at a time and is not depleted by that use

  • that can be shared between various threads

Explicación

Pregunta 36 de 124

1

Interprocess communication:

Selecciona una de las siguientes respuestas posibles:

  • 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

  • allows processes to communicate and synchronize their actions without using the same address space

Explicación

Pregunta 37 de 124

1

Which of the following transitions is not possible?

Selecciona una de las siguientes respuestas posibles:

  • blocked to running

  • running to blocked

  • blocked to ready

  • ready to running

Explicación

Pregunta 38 de 124

1

Any program, no matter how small, will occupy an entire partition results in:

Selecciona una de las siguientes respuestas posibles:

  • internal fragmentation

  • segmentation

  • paging

  • external fragmentation

Explicación

Pregunta 39 de 124

1

This matrix defines requirements of processes i for the resources j

Selecciona una de las siguientes respuestas posibles:

  • Allocation matrix

  • Resource matrix

  • Request matrix

  • Claim matrix

Explicación

Pregunta 40 de 124

1

Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) _____

Selecciona una de las siguientes respuestas posibles:

  • Entry section

  • race section

  • shared memory segments

  • process synchronization

Explicación

Pregunta 41 de 124

1

The context of a process in the PCB of a process DOES NOT contain:

Selecciona una de las siguientes respuestas posibles:

  • context switch time

  • the process state

  • memory-management information

  • the value of the CPU registers

Explicación

Pregunta 42 de 124

1

External fragmentation will not occur when:

Selecciona una de las siguientes respuestas posibles:

  • no matter which algorithm is used, it will always occur

  • first fit is used

  • best fit is used

  • next fit is used

Explicación

Pregunta 43 de 124

1

A deadlock avoidance algorithm dynamically examines the _____, to ensure that a circular wait condition can never exist

Selecciona una de las siguientes respuestas posibles:

  • resources

  • operating system

  • resource allocation state

  • system storage state

Explicación

Pregunta 44 de 124

1

The process control block is:

Selecciona una de las siguientes respuestas posibles:

  • process type variable

  • data structure

  • block in memory

  • secondary storage section

Explicación

Pregunta 45 de 124

1

This illustrates the progress of two processes competing for two resources:

Selecciona una de las siguientes respuestas posibles:

  • joint process diagram

  • joint ingres diagram

  • joint regress diagram

  • joint progress diagram

Explicación

Pregunta 46 de 124

1

In a multiprogramming environment:

Selecciona una de las siguientes respuestas posibles:

  • the programs are developed by more than one person

  • more than one process resides in the memory

  • single user can execute many programs at the same time

  • the processor executes more than one process at a time

Explicación

Pregunta 47 de 124

1

When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called:

Selecciona una de las siguientes respuestas posibles:

  • priority exchange

  • priority inversion

  • priority removal

  • priority modification

Explicación

Pregunta 48 de 124

1

Main memory is broken into fixed-sized blocks called _____

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • pages

  • frames

  • segments

Explicación

Pregunta 49 de 124

1

The first fit, best fit and worst fit are strategies to select a

Selecciona una de las siguientes respuestas posibles:

  • process from a queue to put in memory

  • all of the above

  • free hole from a set of available holes

  • processor to run the next process

Explicación

Pregunta 50 de 124

1

The Banker’s algorithm is referred to as

Selecciona una de las siguientes respuestas posibles:

  • denial of service

  • resource allocation denial

  • loan allocation denial

  • resource allocation refusal

Explicación

Pregunta 51 de 124

1

The code that changes the value of the semaphore is:

Selecciona una de las siguientes respuestas posibles:

  • non-critical section code

  • remainder section code

  • none of the above

  • critical section code

Explicación

Pregunta 52 de 124

1

The two kinds of semaphores are: (Several answers)

Selecciona una o más de las siguientes respuestas posibles:

  • mutex

  • counting

  • binary

  • decimal

Explicación

Pregunta 53 de 124

1

"Circular wait" condition for deadlock is defined as:

Selecciona una de las siguientes respuestas posibles:

  • Only one process may use a resource at a time

  • No resource can be forcibly removed from process holding it

  • Process holds a resource while awaiting for other resource

  • Each process holds resource needed by next process in chain

Explicación

Pregunta 54 de 124

1

Banker’s algorithm for resource allocation deals with:

Selecciona una de las siguientes respuestas posibles:

  • deadlock prevention

  • mutual exclusion

  • deadlock recovery

  • deadlock avoidance

Explicación

Pregunta 55 de 124

1

What is compaction?

Selecciona una de las siguientes respuestas posibles:

  • a paging technique

  • a technique for overcoming fatal error

  • a technique for overcoming internal fragmentation

  • a technique for overcoming external fragmentation

Explicación

Pregunta 56 de 124

1

Process is:

Selecciona una de las siguientes respuestas posibles:

  • a job in secondary memory

  • a unit of activity characterized by execution of a sequence of instructions, a current state, and an associated set

  • contents of main memory

  • program in high level language kept on disk

Explicación

Pregunta 57 de 124

1

A single thread of control allows the process to perform:

Selecciona una de las siguientes respuestas posibles:

  • both

  • only one task at a time

  • multiple tasks at a time

  • none

Explicación

Pregunta 58 de 124

1

When the memory allocated to a process is slightly larger than a process, then:

Selecciona una de las siguientes respuestas posibles:

  • both will occur

  • external fragmentation occurs

  • internal fragmentation occurs

  • none of the above

Explicación

Pregunta 59 de 124

1

A problem encountered in multitasking when a process is perpetually denied necessary resources is called:

Selecciona una de las siguientes respuestas posibles:

  • starvation

  • deadlock

  • aging

  • inversion

Explicación

Pregunta 60 de 124

1

The memory allocation scheme subject to "internal fragmentation" is:

Selecciona una de las siguientes respuestas posibles:

  • segmentation

  • virtual memory segmentation

  • fixed partitioning

  • pure demand paging

Explicación

Pregunta 61 de 124

1

Which one is deadlock avoidance algorithm?

Selecciona una de las siguientes respuestas posibles:

  • dining philosophers problem

  • elevator algorithm

  • banker’s algorithm

  • round-robin algorithm

Explicación

Pregunta 62 de 124

1

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?

Selecciona una de las siguientes respuestas posibles:

  • virtual memory

  • segmentation

  • paging

  • partition

Explicación

Pregunta 63 de 124

1

Variable-length block of data that resides in secondary memory is called:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • frames

  • segments

  • pages

Explicación

Pregunta 64 de 124

1

The memory allocation scheme subject to "external fragmentation" is:

Selecciona una de las siguientes respuestas posibles:

  • segmentation

  • swapping

  • multiple contiguous fixed partitioning

  • pure demand paging

Explicación

Pregunta 65 de 124

1

Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and

Selecciona una de las siguientes respuestas posibles:

  • race condition

  • deadlock avoidance

  • hold and wait

  • starvation

Explicación

Pregunta 66 de 124

1

A binary semaphore is semaphore with integer values: (Several answers)

Selecciona una o más de las siguientes respuestas posibles:

  • 1

  • 0

  • -1

  • 0.5

Explicación

Pregunta 67 de 124

1

Program always deals with:

Selecciona una de las siguientes respuestas posibles:

  • logical address

  • physical address

  • relative address

  • absolute address

Explicación

Pregunta 68 de 124

1

The systems which allows only one process execution at a time, are called

Selecciona una de las siguientes respuestas posibles:

  • uniprogramming systems

  • unitasking systems

  • uniprocessing sysems

  • unicasting systems

Explicación

Pregunta 69 de 124

1

Swapping:

Selecciona una de las siguientes respuestas posibles:

  • allows many programs to use memory simultaneously

  • allows each program in turn to use the memory

  • does not work with overlaying

  • none of the above

Explicación

Pregunta 70 de 124

1

When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access take place, is called:

Selecciona una de las siguientes respuestas posibles:

  • dynamic condition

  • race condition

  • critical condition

  • essential condition

Explicación

Pregunta 71 de 124

1

If a page table entry is present in the TLB, then it is known as a:

Selecciona una de las siguientes respuestas posibles:

  • buffer miss

  • TLB miss

  • page fault

  • TLB hit

Explicación

Pregunta 72 de 124

1

With paging there is no _____ fragmentation

Selecciona una de las siguientes respuestas posibles:

  • either type of

  • none of the above

  • external

  • internal

Explicación

Pregunta 73 de 124

1

The address of a page table in memory is pointed by:

Selecciona una de las siguientes respuestas posibles:

  • page table base register

  • stack pointer

  • page register

  • program counter

Explicación

Pregunta 74 de 124

1

What is a medium-term scheduler?

Selecciona una de las siguientes respuestas posibles:

  • it selects which process has to be executed next and allocates CPU

  • none of the above

  • it selects which process has to be brought into the ready queue

  • it selects which process has to remove from memory by swapping

Explicación

Pregunta 75 de 124

1

"No preemption" condition for a deadlock is defined as:

Selecciona una de las siguientes respuestas posibles:

  • Only one process may use a resource at a time

  • No resource can be forcibly removed from process holding it

  • Process holds a resource while awaiting for other resource

  • Each process holds resource needed by next process in chain

Explicación

Pregunta 76 de 124

1

Processor:

Selecciona una de las siguientes respuestas posibles:

  • is the device where information stored

  • is a sequence of the instructions

  • is a device that performs a sequence of operations specified by instructions in memory

  • is typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user

Explicación

Pregunta 77 de 124

1

Fixed-length block of main memory is called _____

Selecciona una de las siguientes respuestas posibles:

  • frames

  • segments

  • none of the above

  • pages

Explicación

Pregunta 78 de 124

1

The initial value of the semaphore that allows only one of the many processes to enter their critical section, is?

Selecciona una de las siguientes respuestas posibles:

  • 1

  • 0

  • 2

  • 10

Explicación

Pregunta 79 de 124

1

Mutual exclusion means that:

Selecciona una de las siguientes respuestas posibles:

  • if a process is executing in its critical section, then other processes must be executing in their critical section

  • 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 no other process must be executing in their critical sections

  • none of the above

Explicación

Pregunta 80 de 124

1

For every process there is a _____.

Selecciona una de las siguientes respuestas posibles:

  • pointer to page table

  • copy of page table

  • frame table

  • page table

Explicación

Pregunta 81 de 124

1

In operating system, each process has its own

Selecciona una de las siguientes respuestas posibles:

  • all of the mentioned

  • address space and global variables

  • set of data

  • program code

Explicación

Pregunta 82 de 124

1

Listing the sequence of instructions that are executed is called:

Selecciona una de las siguientes respuestas posibles:

  • trace

  • program counter

  • instruction

  • control block

Explicación

Pregunta 83 de 124

1

The segment of code in which the process may change common variables, update tables, write into files known as:

Selecciona una de las siguientes respuestas posibles:

  • critical section

  • program

  • non-critical section

  • mutual exclusion

Explicación

Pregunta 84 de 124

1

Deadlock inevitable region can be referred as:

Selecciona una de las siguientes respuestas posibles:

  • fun region

  • fatal region

  • final region

  • false region

Explicación

Pregunta 85 de 124

1

How to solve a problem of equal-size partitions?

Selecciona una de las siguientes respuestas posibles:

  • unequal-size partitions

  • segmentation

  • compaction

  • virtual memory segmentation

Explicación

Pregunta 86 de 124

1

Paging?

Selecciona una de las siguientes respuestas posibles:

  • allows multiple programs to reside in separate areas of core at the time

  • is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided equal portions or blocks

  • is a method of allocating processor time

  • consists of those addresses that may be generated by a processor during execution of a computation

Explicación

Pregunta 87 de 124

1

In internal fragmentation, memory is internal to a partition and:

Selecciona una de las siguientes respuestas posibles:

  • is not being used

  • none of the above

  • is always used

  • is being used

Explicación

Pregunta 88 de 124

1

A set of processes is deadlock if:

Selecciona una de las siguientes respuestas posibles:

  • each process is blocked and will remain so forever

  • none of the above

  • all processes are trying to kill each other

  • each process is terminated

Explicación

Pregunta 89 de 124

1

A memory used to provide a high speed is called?

Selecciona una de las siguientes respuestas posibles:

  • cache

  • main memory

  • disk buffer

  • stack pointer

Explicación

Pregunta 90 de 124

1

In indirect communication between processes P and Q:

Selecciona una de las siguientes respuestas posibles:

  • there is a mailbox to help communication between P and Q

  • none of the above

  • there is another machine between the two processes to help communication

  • there is another process R to handle and pass on the messages between P and Q

Explicación

Pregunta 91 de 124

1

Semaphore is a/an _____ to solve the critical section problem?

Selecciona una de las siguientes respuestas posibles:

  • special program for a system

  • complex structure

  • integer variable

  • hardware for a system

Explicación

Pregunta 92 de 124

1

Which of the following is not the state of a process?

Selecciona una de las siguientes respuestas posibles:

  • new

  • running

  • old

  • ready

Explicación

Pregunta 93 de 124

1

The address of the next instruction to be executed by the current process is provided by the:

Selecciona una de las siguientes respuestas posibles:

  • pipe

  • program counter

  • CPU registers

  • process stack

Explicación

Pregunta 94 de 124

1

Which of the following is not true about the memory management?

Selecciona una de las siguientes respuestas posibles:

  • segmentation suffers from external fragmentation

  • paging suffers from internal fragmentation

  • virtual memory is used only in multi-user systems

  • segmented memory can be paged

Explicación

Pregunta 95 de 124

1

The primary distinction between the short-term scheduler and long-term scheduler is:

Selecciona una de las siguientes respuestas posibles:

  • the length of their queues

  • none of the above

  • the type of processes the schedule

  • the frequency of their execution

Explicación

Pregunta 96 de 124

1

In the non-blocking send, blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • the sending process sends the message and resumes operation

  • sender continues on, receiver is blocked until the requested message arrives

  • the sending process keeps sending until it receives a message

  • none of the above

Explicación

Pregunta 97 de 124

1

The objective of multi-programming is to:

Selecciona una de las siguientes respuestas posibles:

  • have multiple programs waiting in a queue ready to run

  • to maximize CPU utilization

  • to minimize CPU utilization

  • all of the above

Explicación

Pregunta 98 de 124

1

A system is in the safe state if:

Selecciona una de las siguientes respuestas posibles:

  • a. the system can allocate resources to each process in some order and stil avoid a deadlock

  • b. there exist a safe sequence

  • both a and b

  • none of the above

Explicación

Pregunta 99 de 124

1

When memory is divided into a several fixed sized partitions, each partition may contain _____

Selecciona una de las siguientes respuestas posibles:

  • exactly one process

  • none of the above

  • at least one process

  • multiple processes at once

Explicación

Pregunta 100 de 124

1

In the non-blocking send, non-blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • the sending process keeps sending until it receives a message

  • 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

Explicación

Pregunta 101 de 124

1

A process can be terminated due to:

Selecciona una de las siguientes respuestas posibles:

  • fatal error

  • normal exit

  • all of the mentioned

  • killed by another process

Explicación

Pregunta 102 de 124

1

What is a short-term scheduler?

Selecciona una de las siguientes respuestas posibles:

  • it selects which process has to be executed next and allocates CPU

  • none of the above

  • it selects which process has to be brought into the ready queue

  • it selects which process has to remove from memory by swapping

Explicación

Pregunta 103 de 124

1

In contiguous memory allocation:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 104 de 124

1

External fragmentation exists when:

Selecciona una de las siguientes respuestas posibles:

  • none of the above

  • the total memory is insufficient to satisfy a request

  • enough total memory exists to satisfy a request but it is not contiguous

  • a request cannot be satisfied even when the total memory is free

Explicación

Pregunta 105 de 124

1

CPU fetches the instruction from memory according to the value of?

Selecciona una de las siguientes respuestas posibles:

  • status register

  • program counter

  • instruction register

  • program status word

Explicación

Pregunta 106 de 124

1

A sequence of instructions, in a computer language, to get the desired result, is known as:

Selecciona una de las siguientes respuestas posibles:

  • algorithm

  • instruction

  • process

  • program

Explicación

Pregunta 107 de 124

1

Semaphores:

Selecciona una de las siguientes respuestas posibles:

  • are used for memory management

  • synchronize critical resources to prevent deadlock

  • are used to do I/O

  • synchronize critical resources to prevent contention

Explicación

Pregunta 108 de 124

1

This matrix defines the current allocation to process i of the resource j

Selecciona una de las siguientes respuestas posibles:

  • Allocation matrix

  • Resource matrix

  • Request matrix

  • Claim matrix

Explicación

Pregunta 109 de 124

1

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

Selecciona una de las siguientes respuestas posibles:

  • memory

  • page

  • frame

  • segment

Explicación

Pregunta 110 de 124

1

For non-sharable resources like a printer, mutual exclusion:

Selecciona una de las siguientes respuestas posibles:

  • must exist

  • none of the above

  • must not exist

  • may exist

Explicación

Pregunta 111 de 124

1

If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called

Selecciona una de las siguientes respuestas posibles:

  • critical exclusion

  • asynchronous exclusion

  • mutual exclusion

  • synchronous exclusion

Explicación

Pregunta 112 de 124

1

Interprocess communication:

Selecciona una de las siguientes respuestas posibles:

  • allows process to synchronize activity

  • is never necessary

  • is usually done via disk drives

  • is required for all processes

Explicación

Pregunta 113 de 124

1

The available vector defines:

Selecciona una de las siguientes respuestas posibles:

  • total amount of resources required for all processes

  • total amount of each resource in the system

  • total amount of each resource allocated to all processes

  • total amount of each resource NOT allocated to any process

Explicación

Pregunta 114 de 124

1

A task in a blocked state

Selecciona una de las siguientes respuestas posibles:

  • is running

  • is executable

  • must still be placed in the run queues

  • is waiting for same temporarily unavailable resources

Explicación

Pregunta 115 de 124

1

The systems which allows only one process execution at a time, are called:

Selecciona una de las siguientes respuestas posibles:

  • unitasking systems

  • uniprocessing systems

  • uniprogramming systems

  • none of the above

Explicación

Pregunta 116 de 124

1

What is NOT an example of reusable resource

Selecciona una de las siguientes respuestas posibles:

  • semaphores

  • processors

  • interrupt

  • i/o channels

Explicación

Pregunta 117 de 124

1

An un-interruptible unit is known as:

Selecciona una de las siguientes respuestas posibles:

  • single

  • none of the above

  • static

  • atomic

Explicación

Pregunta 118 de 124

1

How to solve a problem of "external" fragmentation?

Selecciona una de las siguientes respuestas posibles:

  • unequal-size partitions

  • segmentation

  • compaction

  • virtual memory segmentation

Explicación

Pregunta 119 de 124

1

Runtime mapping from virtual to physical address is done by?

Selecciona una de las siguientes respuestas posibles:

  • CPU

  • none of the above

  • memory management unit

  • PCI

Explicación

Pregunta 120 de 124

1

A solution to the problem of external fragmentation is:

Selecciona una de las siguientes respuestas posibles:

  • compaction

  • larger memory size

  • unequal size parts

  • smaller memory space

Explicación

Pregunta 121 de 124

1

in the non-blocking send, non-blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • Neither of processes are required to wait

  • The sending process keeps sending until it receives a message

  • The sending process keeps sending until the message is received

  • The sending process sends the message and resumes operation

Explicación

Pregunta 122 de 124

1

In segmentation, each address is specified by:

Selecciona una de las siguientes respuestas posibles:

  • A segment number and an offset

  • A page number and an offset

  • A frame number and an offset

  • A segment number and a key

Explicación

Pregunta 123 de 124

1

Virtual memory takes advantage of:

Selecciona una de las siguientes respuestas posibles:

  • Large secondary memory

  • Modular programming

  • Fast CPU

  • Scheduling

Explicación

Pregunta 124 de 124

1

Which of the replacement algorithms selects for the next reference is the longest?

Selecciona una de las siguientes respuestas posibles:

  • Optimal

  • LRU

  • Clock

Explicación