Good Guy Beket
Quiz por , criado more than 1 year ago

Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Quiz sobre OS Part 2, criado por Good Guy Beket em 18-12-2017.

692
18
0
Criado por um usuário excluído mais de 6 anos atrás
Good Guy Beket
Copiado por Good Guy Beket mais de 6 anos atrás
Fechar

OS Part 2

Questão 1 de 95

1

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:

Selecione uma das seguintes:

  • race condition

  • data consistency

  • starvation

  • mutual exclusion

Explicação

Questão 2 de 95

1

Which one of the following is the address generated by CPU?

Selecione uma das seguintes:

  • logical address

  • physical address

  • absolute address

  • none of the above

Explicação

Questão 3 de 95

1

What is the ready state of a process?

Selecione uma das seguintes:

  • when process is scheduled to run after some execution

  • none of the above

  • when process is using CPU

  • when process is unable to run until some task has been completed

Explicação

Questão 4 de 95

1

Mutual exclusion can be provided by the:

Selecione uma das seguintes:

  • none of the above maint

  • mutex locks

  • both

  • binary semaphores

Explicação

Questão 5 de 95

1

What is a long-term scheduler?

Selecione uma das seguintes:

  • 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

Explicação

Questão 6 de 95

1

Operating system maintains the page table for

Selecione uma das seguintes:

  • each process

  • each thread

  • each instruction

  • each address

Explicação

Questão 7 de 95

1

If a page number is not found in the TLB, then it is known as a:

Selecione uma das seguintes:

  • TLB miss

  • buffer miss

  • TLB hit

  • page fault

Explicação

Questão 8 de 95

1

Part of a program where the shared memory is accessed and which should be executed invisibly, is called:

Selecione uma das seguintes:

  • semaphores

  • mutual exclusion

  • critical section

  • directory

Explicação

Questão 9 de 95

1

In memory systems, boundary registers?

Selecione uma das seguintes:

  • track the beginning and ending of programs

  • track page boundaries

  • are only necessary with fixed partitions

  • are used for temporary program variable storage

Explicação

Questão 10 de 95

1

The resource vector defines

Selecione uma das seguintes:

  • 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

Explicação

Questão 11 de 95

1

When each process in the set is blocked awaiting for resource seized by another blocked process

Selecione uma das seguintes:

  • it is a deadend

  • it is a deadlock

  • it is a softlock

  • it is a mortallock

Explicação

Questão 12 de 95

1

The number of resources requested be a process:

Selecione uma das seguintes:

  • must exceed the total number of resources available in the system

  • must always be equal to the total number of resources available in the system

  • must not exceed the total number of resources available in the system

  • must always be less than the total number of resources available in the system

Explicação

Questão 13 de 95

1

What is interprocess communication?

Selecione uma das seguintes:

  • communication between two process

  • communication between two threads of same process

  • none of the above

  • communication within the process

Explicação

Questão 14 de 95

1

The degree of multi-programming is:

Selecione uma das seguintes:

  • the number of processes executed per unit time

  • the number of processes in the I/O queue

  • the number of processes in the ready queue

  • the number of processes in memory

Explicação

Questão 15 de 95

1

This matrix defines the amount of resources of type j requested by process i

Selecione uma das seguintes:

  • Allocation matrix

  • Resource matrix

  • Request matrix

  • Claim matrix

Explicação

Questão 16 de 95

1

To avoid the race condition, the number of processes that may be simultaneously inside their critical section is:

Selecione uma das seguintes:

  • 10

  • 0

  • 1

  • 2

Explicação

Questão 17 de 95

1

Which process can be affected by other processes executing in the system?

Selecione uma das seguintes:

  • init process

  • cooperating process

  • child process

  • parent process

Explicação

Questão 18 de 95

1

Which of the following registers are used by the processor to exchange data with memory?

Selecione uma das seguintes:

  • MAR and MBR

  • PC and IR

  • Program status word

  • I/OAR and I/OBR

Explicação

Questão 19 de 95

1

Which of the following registers are used by the processor to exchange data with input/output module?

Selecione uma das seguintes:

  • MAR and MBR

  • PC and IR

  • Program status word

  • I/OAR and I/OBR

Explicação

Questão 20 de 95

1

The main disadvantage of this technique: consumes a lot of processor time, because every word

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 21 de 95

1

The processor issues an I/O command to a module and then go on to some other useful work. The I/O module performs the requested action and alerts the processor to request service when it is ready to exchange data with the processor. The described technique is:

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 22 de 95

1

Which of the following is not a technique possible for I/O operations?

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 23 de 95

1

If a page table entry is not in main memory, then it is known as a:

Selecione uma das seguintes:

  • page fault

  • buffer miss

  • TLB hit

  • TLB miss

Explicação

Questão 24 de 95

1

We have

Ts = average (system) access time

T1 = access time of M1 (cache)

T2 = access time of M2 (main memory)

T3 = access time of M3 (disk)

H1 = hit ratio, fraction of time reference is found i M1

H2 = hit ratio, fraction of time reference is found i M2

The average time to access an item, in case the item in disk is:

Selecione uma das seguintes:

  • Ts = H1*T1 + H2*T2 + (1-H2)*T3

  • Ts = H1*T1 + (1-H1)*(H1*T1 + H2*(T1 + T2) + (1 - H2)*(T2 + T3))

  • Ts = H1*T1 + (1-H1)*H2*(T2 + T3)

  • Ts = H1*T1 + (1-H1)*(H2*(T1 + T2) + (1 - H2)*(T1 + T2 + T3))

Explicação

Questão 25 de 95

1

This chooses which block to replace when a new block is to be loaded into the cache and the cache already had all slots filled with other blocks:

Selecione uma das seguintes:

  • replacement algorithm

  • write policy

  • cache size

  • locality of reference

Explicação

Questão 26 de 95

1

If the accessed word is found in the faster memory, that is defined as a:

Selecione uma das seguintes:

  • bingo

  • win

  • hit

  • evrika

Explicação

Questão 27 de 95

1

If the accessed word is not found in the faster memory, that is defined as a:

Selecione uma das seguintes:

  • ricochet

  • miss

  • zero

  • loss

Explicação

Questão 28 de 95

1

The processor contains a single data register, called

Selecione uma das seguintes:

  • PSW

  • PC

  • IR

  • AC

Explicação

Questão 29 de 95

1

Which register contains the instruction most recently fetched?

Selecione uma das seguintes:

  • instruction register

  • execution register

  • program counter

  • process counter

Explicação

Questão 30 de 95

1

This register specifies the location in memory for the next read or write

Selecione uma das seguintes:

  • Memory address register

  • I/OAR

  • Memory buffer register

  • I/OBR

Explicação

Questão 31 de 95

1

Which of the following element of a computer system moves data between the computer and its external environment?

Selecione uma das seguintes:

  • Main memory

  • Processor

  • System bus

  • I/O modules

Explicação

Questão 32 de 95

1

This main disadvantage of this technique: consumes a lot of processor time, because every word of data that goes from memory to I/O module or from I/O module to memory must pass through the processor

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 33 de 95

1

The processor issues an I/O command to a separate module, by sending the type of operation (read/write), the address of the I/O device, the starting location in memory for data, number of words. Then the processor continues with other work. The module transfers the entire block of data to/from memory without going through the processor. The described technique is:

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 34 de 95

1

The processor issues an I/O command to a module and waits, periodically checking the status of the I/O module until it finds that the operation is complete.
The I/O module performs the requested action and then sets the appropriate bits in the I/O status register but takes no further action to alert the processor.
The described technique is:

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 35 de 95

1

The processor is executing "Load AC from memory" instruction. Choose the correct micro-instruction:

Selecione uma das seguintes:

  • PC -> MAR
    M -> MBR
    MBR -> AC
    IR -> MAR
    M -> MBR
    MBR -> AC

  • PC -> MBR
    M -> MAR
    MAR -> IR
    IR -> MAR
    M -> MBR
    MBR -> AC

  • PC -> MAR
    M -> MBR
    MBR -> IR
    IR -> MAR
    M -> MBR
    MBR -> AC

  • PC -> MAR
    M -> MBR
    MBR -> IR
    IR -> MBR
    M -> MAR
    MAR -> AC

Explicação

Questão 36 de 95

1

If there no interrupts, after each write operation, the processor must:

Selecione uma das seguintes:

  • Load new PC value

  • Finish execution of current instruction

  • Save the PSW and PC onto control stack

  • Pause and remain idle until the I/O operation finishes

Explicação

Questão 37 de 95

1

Complete the relationship concerning the memory systems: greater capacity

Selecione uma das seguintes:

  • lower capacity

  • greater cost per bit

  • faster access speed

  • smaller cost per bit

Explicação

Questão 38 de 95

1

User-visible registers minimize main memory references by optimizing register use

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 39 de 95

1

This register contains the data to be written into memory or which receives the data read from memory

Selecione uma das seguintes:

  • I/OAR

  • memory buffer register

  • memory address register

  • I/OBR

Explicação

Questão 40 de 95

1

Which of the following element of a computer system controls the operation of the computer and performs its data processing functions?

Selecione uma das seguintes:

  • System bus

  • Main memory

  • I/O modules

  • Processor

Explicação

Questão 41 de 95

1

The main disadvantages of this technique: there is a competition for bus usage

Selecione uma das seguintes:

  • Interrupt-driven I/O

  • Programmed I/O

  • Manual memory access

  • Direct memory access (DMA)

Explicação

Questão 42 de 95

1

At the beginning of each instruction cycle, the processor fetches an instruction from the memory. The address of the instruction is held in

Selecione uma das seguintes:

  • IR

  • MBR

  • MAR

  • PC

Explicação

Questão 43 de 95

1

The smaller, more expensive, faster memory is:

Selecione uma das seguintes:

  • Disk drive

  • Cache

  • Main memory

  • Register

Explicação

Questão 44 de 95

1

There were no OS with

Selecione uma das seguintes:

  • Simple batch systems

  • Serial processing

  • Time-sharing-systems

  • Multiprogrammed batch systems

Explicação

Questão 45 de 95

1

The principal objective of the time-sharing system is to

Selecione uma das seguintes:

  • Minimize response time

  • Minimize processor utilization

  • Maximize response time

  • Maximize processor utilization

Explicação

Questão 46 de 95

1

Serial processing was used

Selecione uma das seguintes:

  • In early 1960s

  • From late 1940s to the mid-1950s

  • From the mid-1950s to early 1960s

Explicação

Questão 47 de 95

1

The programmer interacted directly with the computer hardware with

Selecione uma das seguintes:

  • Simple batch systems

  • Serial processing

  • Time-sharing-systems

  • Multiprogrammed batch systems

Explicação

Questão 48 de 95

1

In operation system security and protection, availability is:

Selecione uma das seguintes:

  • Concerned with the proper verification of the identity of users and the validity of messages or data

  • Assuring that users cannot read data for which access is unauthorized

  • Protection of data from unauthorized modification

  • Concerned with protecting the system against interruption

Explicação

Questão 49 de 95

1

Choose the storage management responsibility for "The OS can achieve efficiency by assigning memory to jobs only as needed"

Selecione uma das seguintes:

  • Process isolation

  • Protection and access control

  • Long-term storage

  • Support of modular programming

  • Automatic allocation and management

Explicação

Questão 50 de 95

1

The limit register

Selecione uma das seguintes:

  • Defines the size of the region of memory occupied by the process (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

Explicação

Questão 51 de 95

1

In operating system security and protection, authenticity is:

Selecione uma das seguintes:

  • Concerned with the proper verification of the identity of users and the validity of messages or data

  • Assuring that users cannot read data for which access is unauthorized

  • Protection of data from unauthorized modification

  • Concerned with protecting the system against interruption

Explicação

Questão 52 de 95

1

An application programs is developed by the

Selecione uma das seguintes:

  • Application programmer

  • End user

  • Operating system

  • Hardware

Explicação

Questão 53 de 95

1

"The OS as a User/Computer interface" corresponds to the following objective

Selecione uma das seguintes:

  • Efficiency

  • Convenience

  • Ability to evolve

Explicação

Questão 54 de 95

1

Process is

Selecione uma das seguintes:

  • Program in High level language kept on disk

  • Contents of main memory

  • A job in secondary memory

  • A program in execution

Explicação

Questão 55 de 95

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

Selecione uma das seguintes:

  • Synchronous exclusion

  • Critical exclusion

  • Asynchronous exclusion

  • Mutual exclusion

Explicação

Questão 56 de 95

1

In operating system security and protection, confidentiality is:

Selecione uma das seguintes:

  • Concerned with the proper verification of the identity of users and the validity of messages or data

  • Assuring that users cannot read data for which access is unauthorized

  • Protection of data from unauthorized modification

  • Concerned with protecting the system against interruption

Explicação

Questão 57 de 95

1

In operating system security and protection, Data integrity is:

Selecione uma das seguintes:

  • Concerned with the proper verification of the identity of users and the validity of messages or data

  • Assuring that users cannot read data for which access is unauthorized

  • Protection of data from unauthorized modification

  • Concerned with protecting the system against interruption

Explicação

Questão 58 de 95

1

When the time required for the I/O operation is less that the time to complete the execution of instructions between write operations in the user program, it is:

Selecione uma das seguintes:

  • Fast I/O wait

  • Slow I/O wait

  • Long I/O wait

  • Short I/O wait

Explicação

Questão 59 de 95

1

This type of memory is nonvolatile:

Selecione uma das seguintes:

  • Register

  • Secondary memory

  • Cache

  • Main memory

Explicação

Questão 60 de 95

1

If the contents of a block in the cache are altered, then it is needed to save it back to main memory before replacing it. This is called:

Selecione uma das seguintes:

  • write policy

  • mapping function

  • locality of reference

  • replacement algorithm

Explicação

Questão 61 de 95

1

What is not a structural element of a computer system?

Selecione uma das seguintes:

  • System bus

  • Main memory

  • Operating system

  • Processor

Explicação

Questão 62 de 95

1

The main disadvantage of this technique: it is a time-consuming process that keeps the processor busy needlessly

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 63 de 95

1

Which of the following element of a computer system stores data and programs

Selecione uma das seguintes:

  • Main memory

  • System bus

  • Processor

  • I/O modules

Explicação

Questão 64 de 95

1

When an I/O device completes an I/O operation, the device issues an interrupt signal to the processor and then:

Selecione uma das seguintes:

  • The processor stops execution of the current instruction without finishing it and responds to the interrupt

  • The processor loads the program counter with the entry location of the interrupt-handling routine

  • The processor saves information needed to resume the current program at the point if interrupt

  • The processor finishes execution of the current instruction before responding to the interrupt

Explicação

Questão 65 de 95

1

Complete the relationship concerning the memory systems: greater capacity

Selecione uma das seguintes:

  • lower capacity

  • slower access speed

  • greater cost per bit

  • faster access speed

Explicação

Questão 66 de 95

1

Which register contains condition codes set by the processor hardware as the result of operations?

Selecione uma das seguintes:

  • Program counter

  • Accumulator

  • Program status word

  • Stack pointer

Explicação

Questão 67 de 95

1

Which of the following provides for communication among elements of a computer system?

Selecione uma das seguintes:

  • main memory

  • system bus

  • processor

  • I/O modules

Explicação

Questão 68 de 95

1

We have
Ts = average (system) access time

T1 = access time of M1 (cache)

T2 = access time of M2 (main memory)

T3 = access time of M3 (disk)

H1 = hit ratio, fraction of time reference is found i M1

H2 = hit ratio, fraction of time reference is found i M2

The average time to access an item, in case the item in main memory is:

Selecione uma das seguintes:

  • Ts = H1*T1 + H2*T2 + (1-H2)*T3

  • Ts = H1*T1 + (1-H1)*(H1*T1 + H2*(T1 + T2) + (1 - H2)*(T2 + T3))

  • Ts = H1*T1 + (1-H1)*(T1+T2)

  • Ts = H1*T1 + (1-H1)*(H2*(T1 + T2) + (1 - H2)*(T1 + T2 + T3))

Explicação

Questão 69 de 95

1

Control and status registers control the operation of the processor and the execution of programs

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 70 de 95

1

This type of system was developed at MIT by a group known as Project MAC for the IBM 709 in 1961

Selecione uma das seguintes:

  • Serial processing

  • Multiprogrammed batch system

  • Simple batch system

  • Time-sharing-system

Explicação

Questão 71 de 95

1

The concept of codes of operation (user mode, system mode) was introduced with

Selecione uma das seguintes:

  • Time-sharing-system

  • Simple batch system

  • Multiprogrammed batch system

  • Serial processing

Explicação

Questão 72 de 95

1

Short-term scheduler, or dispatcher, picks a process. Each process in the queue is given some time in turn. This strategy is called:

Selecione uma das seguintes:

  • Round-robin technique

  • Prioritizing

  • Carousel technique

  • Merry-go-round technique

Explicação

Questão 73 de 95

1

Central idea in this system was the use of piece of software known as the monitor:

Selecione uma das seguintes:

  • Time-sharing-system

  • Simple batch system

  • Multiprogrammed batch system

  • Serial processing

Explicação

Questão 74 de 95

1

'More than one program attempts to make use of a shared resource at the same time'. This is

Selecione uma das seguintes:

  • Failed mutual exclusion

  • Improper synchronization

  • Deadlocks

  • Nondeterminate program operation

Explicação

Questão 75 de 95

1

The term was first used by the designers of Multics in 1960s:

Selecione uma das seguintes:

  • Monitor

  • Process

  • Multiprogramming

  • Time sharing

Explicação

Questão 76 de 95

1

Utilities are

Selecione uma das seguintes:

  • Application program

  • System programs

  • Opcodes

  • Processor registers

Explicação

Questão 77 de 95

1

"When program shares memory and their execution is interleaved by the processor, they may interfere with each other by overwriting common memory areas in unpredictable ways. The result of a particular program depend on the activities of other programs in shared systems".
This is:

Selecione uma das seguintes:

  • Falled mutual exclusions

  • Deadlocks

  • Nondeterminate program operation

  • Improper synchronisation

Explicação

Questão 78 de 95

1

The state of a processor is defined by:

Selecione uma das seguintes:

  • the activity just executed by the process

  • the current activity of the process

  • the final activity of the process

  • the activity to next be executed by the process

Explicação

Questão 79 de 95

1

The hardware and software used in providing applications to a user can be viewed in:

Selecione uma das seguintes:

  • classified fashion

  • layered fashion

  • sandwich fashion

  • leveled fashion

Explicação

Questão 80 de 95

1

Suppose that a process is in "Blocked" state waiting for some I/O device.
When the service is completed, it goes to the:

Selecione uma das seguintes:

  • Suspended state

  • Terminated state

  • Ready state

  • Running state

Explicação

Questão 81 de 95

1

We have
Ts = average (system) access time
T1 = access time of M1 (cache)

T2 = access time of M2 (main memory)
T3 = access time of M3 (disk)

H1 = hit ratio, fraction of time reference is found i M1

H2 = hit ratio, fraction of time reference is found i M2

The average time to access an item, in case the item in cache is:

Selecione uma das seguintes:

  • Ts = H1*T1 + H2*T2 + (1-H2)*T3

  • Ts = H1*T1 + (1-H1)*(H1*T1 + H2*(T1 + T2) + (1 - H2)*(T2 + T3))

  • Ts = H1*T1

  • Ts = H1*T1 + (1-H1)*(H2*(T1 + T2) + (1 - H2)*(T1 + T2 + T3))

Explicação

Questão 82 de 95

1

The serial processing presented two main problems:

Selecione uma ou mais das seguintes:

  • setup time

  • using a monitor

  • time slicing

  • multiprogramming

  • scheduling

Explicação

Questão 83 de 95

1

The process index register:

Selecione uma das seguintes:

  • contains the index into a process list of the process currently controlling the processor

  • define the region in memory occupied by the process

  • points to the next instruction in that process to be executed

  • contains the starting address of the region of memory occupied by the process

Explicação

Questão 84 de 95

1

The concept of a batch operating system was developed to

Selecione uma das seguintes:

  • Maximize processor utilization

  • Minimize response time

  • Support interactive mode

  • Minimize processor utilization

Explicação

Questão 85 de 95

1

Batch operating system were used

Selecione uma das seguintes:

  • From the late 1940s to the mid-1950s

  • From the mid-1950 to early 1960s

  • In early 1960s

Explicação

Questão 86 de 95

1

"More than one programs hung up waiting for each other".
This is

Selecione uma das seguintes:

  • Failed mutual exclusions

  • Deadlocks

  • Nondeterminate program operation

  • Improper synchronization

Explicação

Questão 87 de 95

1

This contains the most frequently used functions in the OS:

Selecione uma das seguintes:

  • Centre

  • Base

  • Root

  • Kernel

Explicação

Questão 88 de 95

1

The end user views a computer system in terms of:

Selecione uma das seguintes:

  • a set of machine instructions

  • utilities

  • a set of system programs

  • a set of applications

Explicação

Questão 89 de 95

1

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

Selecione uma ou mais das seguintes:

  • new

  • waiting

  • terminated

  • ready

  • running

  • old

Explicação

Questão 90 de 95

1

The fetched instruction is loaded into the

Selecione uma das seguintes:

  • IR

  • Accumulator

  • Memory

  • PC

Explicação

Questão 91 de 95

1

When the time required for the I/O operation will take much more time than executing a sequence of user instructions, it is:

Selecione uma das seguintes:

  • Slow I/O wait

  • Long I/O wait

  • Fast I/O wait

  • Short I/O wait

Explicação

Questão 92 de 95

1

The system handles multiple interactive jobs

Selecione uma das seguintes:

  • Time-sharing-system

  • Simple batch system

  • Serial processing

  • Multiprogrammed batch system

Explicação

Questão 93 de 95

1

A system clock generates interrupts at a rate of approximately one every 0.2 seconds. At each clock interrupt, the OS regained control and could assign the processor to another user. This technique is known as

Selecione uma das seguintes:

  • Time scheduling

  • Time sliding

  • Time slicing

  • Time allocating

Explicação

Questão 94 de 95

1

Choose the storage management responsibility for "Programmers should be able to define programs modules, and to create, destroy, and alter the size of modules dynamically":

Selecione uma das seguintes:

  • Protection and access control

  • Long-term storage

  • automatic allocation and management

  • process isolation

  • support of modular programming

Explicação

Questão 95 de 95

1

'Lost signals, duplicate signals received'. This is

Selecione uma das seguintes:

  • Improper synchronization

  • Nondeterminate program operation

  • Deadlocks

  • Failed mutual exclusion

Explicação