Csse 1502
Quiz por , criado more than 1 year ago

Operating Systems (OS) Quiz sobre os, criado por Csse 1502 em 17-12-2017.

1526
14
0
Csse 1502
Criado por Csse 1502 mais de 6 anos atrás
Fechar

os

Questão 1 de 200

1

What is not a main structural element of a computer system?

Selecione uma das seguintes:

  • Processor

  • Main Memory

  • I/O Modules

  • System Bus

  • Operating system

Explicação

Questão 2 de 200

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 3 de 200

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 4 de 200

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 5 de 200

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 6 de 200

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 7 de 200

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 8 de 200

1

The processor contains a single data register, called

Selecione uma das seguintes:

  • PSW

  • PC

  • IR

  • AC

Explicação

Questão 9 de 200

1

This register specifies a particular input/output device

Selecione uma das seguintes:

  • Memory address register

  • I/OAR

  • Memory buffer register

  • I/OBR

Explicação

Questão 10 de 200

1

This register is used for the exchange of data between an I/O module and the processor

Selecione uma das seguintes:

  • Memory address register

  • I/OAR

  • Memory buffer register

  • I/OBR

Explicação

Questão 11 de 200

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 12 de 200

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 13 de 200

1

Index register, segment register, and stack register are example of:

Selecione uma das seguintes:

  • Address register

  • Data registers

  • Control registers

  • Status registers

Explicação

Questão 14 de 200

1

Which register contains the address of the next instruction to be fetched?

Selecione uma das seguintes:

  • instruction register

  • execution register

  • program counter

  • process counter

Explicação

Questão 15 de 200

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 16 de 200

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 17 de 200

1

The fetched instruction is loaded into the

Selecione uma das seguintes:

  • IR

  • Accumulator

  • Memory

  • PC

Explicação

Questão 18 de 200

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 19 de 200

1

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

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 20 de 200

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 21 de 200

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 22 de 200

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 23 de 200

1

Most I/O devices are:

Selecione uma das seguintes:

  • much slower than the processor

  • much faster than the processor

  • much shorter than the processor

  • much longer than the processor

Explicação

Questão 24 de 200

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 25 de 200

1

Complete the relationship concerning the memory systems: faster access time –

Selecione uma das seguintes:

  • lower capacity

  • greater cost per bit

  • faster access speed

  • smaller cost per bit

Explicação

Questão 26 de 200

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 27 de 200

1

Complete the relationship concerning the memory systems: greater capacity –

Selecione uma das seguintes:

  • lower capacity

  • slower access time

  • greater cost per bit

  • faster access speed

Explicação

Questão 28 de 200

1

The smaller, more expensive, faster memory is:

Selecione uma das seguintes:

  • Disk drive

  • Cache

  • Main memory

  • Register

Explicação

Questão 29 de 200

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 30 de 200

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 31 de 200

1

The central idea in this system was the use of a 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 32 de 200

1

The concept of a batch operating system was developed to

Selecione uma das seguintes:

  • Maximize processor utilization (To improve utilization)

  • Minimize response time

  • Support interactive mode

  • Minimize processor utilization

Explicação

Questão 33 de 200

1

The concept of modes 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 34 de 200

1

'Ease of evolution of an OS' corresponds to the following objective:

Selecione uma das seguintes:

  • Efficiency

  • Convenience

  • Ability to evolve

Explicação

Questão 35 de 200

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 36 de 200

1

The processor was often idle waiting for the I/O instruction to conclude. To overcome the problem the following approach was introduced: when one job needs to wait for I/O, the processor can switch to the other job. This was a

Selecione uma das seguintes:

  • Multiprogramming or multitasking batch system

  • Simple batch system

  • Serial processing

  • Time-sharing-system

Explicação

Questão 37 de 200

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 38 de 200

1

Semaphore is a/an_to solve the critical section problem?

Selecione uma das seguintes:

  • integer variable

  • special program for a system

  • complex structure

  • hardware for a system

Explicação

Questão 39 de 200

1

'The OS as a resource manager' corresponds to the following objective:

Selecione uma das seguintes:

  • Efficiency

  • Convenience

  • Ability to evolve

Explicação

Questão 40 de 200

1

An un-interruptible unit is known as:

Selecione uma das seguintes:

  • atomic

  • none of the above

  • static

  • single

Explicação

Questão 41 de 200

1

A state is safe, if:

Selecione uma das seguintes:

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

  • the system does not crash due to deadlock occurrence

  • all of the above

  • the state keeps the system protected and safe

Explicação

Questão 42 de 200

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 43 de 200

1

This type of memory is nonvolatile

Selecione uma das seguintes:

  • Secondary memory

  • Main memory

  • Register

  • Cache

Explicação

Questão 44 de 200

1

An application programs is developed by the

Selecione uma das seguintes:

  • Application programmer

  • End user

  • Operating system

  • Hardware

Explicação

Questão 45 de 200

1

When a processor attempts to read a byte or word of memory, it firstly checks the:

Selecione uma das seguintes:

  • Secondary memory

  • Register

  • Cache

  • Main memory

Explicação

Questão 46 de 200

1

The end user views a computer system in terms of

Selecione uma das seguintes:

  • a set of applications

  • a set of machine instructions

  • utilities

  • a set of system programs

Explicação

Questão 47 de 200

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 48 de 200

1

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

Selecione uma das seguintes:

  • layered fashion

  • classified fashion

  • sandwich fashion

  • leveled fashion

Explicação

Questão 49 de 200

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:

  • data consistency

  • mutual exclusion

  • race condition

  • starvation

Explicação

Questão 50 de 200

1

This contains the most frequently used functions in the OS:

Selecione uma das seguintes:

  • Kernel (или nucleus)

  • Centre

  • Base

  • Root

Explicação

Questão 51 de 200

1

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

Selecione uma das seguintes:

  • 1

  • 10

  • 2

  • 0

Explicação

Questão 52 de 200

1

Utilities are

Selecione uma das seguintes:

  • Application program

  • System programs

  • Opcodes

  • Processor registers

Explicação

Questão 53 de 200

1

Block size is:

Selecione uma ou mais das seguintes:

  • The unit of data exchanged between cache and main memory

  • Larger block size yields more hits until probability of using newly fetched data becomes less than the probability of reusing data that have to be moved out of cache

  • (How much data should be transferred from main memory to cache)

Explicação

Questão 54 de 200

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 55 de 200

1

Which of the following cannot be interrupted?

Selecione uma das seguintes:

  • Process

  • Thread

  • Module

  • Atomic operation

Explicação

Questão 56 de 200

1

Process is

Selecione uma das seguintes:

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

  • a job in secondary memory

  • contents of main memory

  • program in high level language kept on disk

Explicação

Questão 57 de 200

1

Preencha o espaço em branco para completar o texto.

This determines which cache location the block will occupy:

Explicação

Questão 58 de 200

1

This resource can be created and destroyed

Selecione uma das seguintes:

  • resumable resource

  • restartable resource

  • consumable resource

  • finite resource

Explicação

Questão 59 de 200

1

This system handles multiple interactive jobs

Selecione uma das seguintes:

  • Time-sharing-system

  • Simple batch system

  • Serial processing

  • Multiprogrammed batch system

Explicação

Questão 60 de 200

1

Process(2.0) is:

Selecione uma das seguintes:

  • A program in execution

  • Program in High level language kept on disk

  • Contents of main memory

  • A job in secondary memory

Explicação

Questão 61 de 200

1

This system was developed by General Motors for the use on an IBM 701

Selecione uma das seguintes:

  • Simple Batch Systems or GM-NAA I/O

  • Serial processing

  • Multiprogrammed batch system

  • Time-sharing system

Explicação

Questão 62 de 200

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 63 de 200

1

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

Selecione uma das seguintes:

  • hold and wait

  • deadlock avoidance

  • starvation

  • race condition

Explicação

Questão 64 de 200

1

A task in a blocked state

Selecione uma das seguintes:

  • is waiting for same temporarily unavailable resources

  • must still be placed in the run queues

  • is executable

  • is running

Explicação

Questão 65 de 200

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 66 de 200

1

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

Selecione uma das seguintes:

  • refurbished resource

  • replenishing resource

  • reusable resource

  • refreshing resource

Explicação

Questão 67 de 200

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 68 de 200

1

'Lost signals, duplicate signals received'. This is

Selecione uma das seguintes:

  • Improper synchronization

  • Nondeterminate program operation

  • Failed mutual exclusion

  • Deadlocks

Explicação

Questão 69 de 200

1

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

Selecione uma das seguintes:

  • uniprogramming systems

  • unitasking systems

  • uniprocessing systems

  • unicasting systems

Explicação

Questão 70 de 200

1

Deadlock inevitable region can be referred to as a

Selecione uma das seguintes:

  • fun region

  • fatal region

  • final region

  • false region

Explicação

Questão 71 de 200

1

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

Selecione uma das seguintes:

  • the sending process keeps sending until it receives a message

  • the sending process sends the message and resumes operation

  • neither of processes are required to wait

  • the sending process keeps sending until the message is received

Explicação

Questão 72 de 200

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 73 de 200

1

'Two or more programs hung up waiting for each other'. This error is caused by

Selecione uma das seguintes:

  • Falled mutual exclusions

  • Deadlocks

  • Nondeterminate program operation

  • Improper synchronization

Explicação

Questão 74 de 200

1

This illustrates the progress of two processes competing for two resources

Selecione uma das seguintes:

  • joint process diagram

  • joint ingres diagram

  • joint regress diagram

  • joint progress diagram

Explicação

Questão 75 de 200

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.

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 76 de 200

1

A monitor is a type of:

Selecione uma das seguintes:

  • deadlock

  • low level synchronization construct

  • high level synchronization construct

  • none of the above

Explicação

Questão 77 de 200

1

The state of a process is defined by:

Selecione uma das seguintes:

  • the current activity of the process

  • the activity to next be executed by the process

  • the final activity of the process

  • the activity is just executed by the process

Explicação

Questão 78 de 200

1

'When programs share memory and their execution is interleaved by the processor, they may interfere with each other by overwriting common memory areas in unpredictable ways. The results of a particular program depend on the activities of other programs in a shared system'. This is

Selecione uma das seguintes:

  • Falled mutual exclusions

  • Deadlocks

  • Nondeterminate program operation

  • Improper syncronization

Explicação

Questão 79 de 200

1

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.

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 80 de 200

1

When each process in the set is blocked awaiting for resource siezed 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 81 de 200

1

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

Selecione uma das seguintes:

  • Old

  • terminated

  • running

  • new

  • ready

Explicação

Questão 82 de 200

1

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 83 de 200

1

Choose the storage management responsibility for "Many application programs require means for storing information for extended periods of time, after the computer has been powered down"

Selecione uma das seguintes:

  • Long-term storage

  • Protection and access control

  • Automatic allocation and management

  • Process isolation

  • Support of modular programming

Explicação

Questão 84 de 200

1

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

Selecione uma das seguintes:

  • Ready state

  • Running state

  • Terminated state

  • Suspended state

Explicação

Questão 85 de 200

1

Which of the following statements is false:

Selecione uma das seguintes:

  • compaction does not involve relocation of programs

  • the technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage

  • compaction is also known as garbage collection

  • the system must stop everything while it performs the compaction

Explicação

Questão 86 de 200

1

Choose the storage management responsibility for "Programmers should be able to define program 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 87 de 200

1

Which of the following state transitions is not possible?

Selecione uma das seguintes:

  • blocked to running

  • running to blocked

  • blocked to ready

  • ready to running

Explicação

Questão 88 de 200

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 89 de 200

1

Memory is:

Selecione uma das seguintes:

  • 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

Explicação

Questão 90 de 200

1

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

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 91 de 200

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:

  • mutual exclusion

  • asynchronous exclusion

  • critical exclusion

  • synchronous exclusion

Explicação

Questão 92 de 200

1

The processor issues an I/O command to a module and then go on to some other useful work.

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 93 de 200

1

Processor is:

Selecione uma das seguintes:

  • 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

Explicação

Questão 94 de 200

1

Choose the storage management responsibility for "The OS must allow portions of memory to be accessible in various ways by various users"

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 200

1

Interprocess communication:

Selecione uma das seguintes:

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

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

  • allows the processes to only synchronize their actions without communication

  • none of the above

Explicação

Questão 96 de 200

1

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

Selecione uma das seguintes:

  • Direct memory access (DMA)

  • Manual memory access

  • Interrupt-driven I/O

  • Programmed I/O

Explicação

Questão 97 de 200

1

Choose the storage management responsibility for "The OS must prevent independent processes from interfering with each other's memory, both data and instructions"

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 98 de 200

1

Program is:

Selecione uma das seguintes:

  • 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

Explicação

Questão 99 de 200

1

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

Selecione uma das seguintes:

  • program

  • process

  • instruction

  • algorithm

Explicação

Questão 100 de 200

1

In operating system security and protection, authenticity:

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 101 de 200

1

The 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 102 de 200

1

In operating system, each process has its own:

Selecione uma das seguintes:

  • all of the mentioned

  • address space and global variables

  • set of data

  • program code

Explicação

Questão 103 de 200

1

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

Selecione uma das seguintes:

  • segmentation

  • swapping

  • multiple contiguous fixed partitionings

  • pure demand paging

Explicação

Questão 104 de 200

1

In operating 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 105 de 200

1

For each process OS creates and manages:

Selecione uma das seguintes:

  • Process control block

  • Program code

  • Program

  • Thread control block

Explicação

Questão 106 de 200

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.

Selecione uma das seguintes:

  • Interrupt-driven I/O

  • Programmed I/O

  • Manual memory access

  • Direct memory access (DMA)

Explicação

Questão 107 de 200

1

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

Selecione uma das seguintes:

  • segmentation

  • swapping

  • multiple contiguous fixed partitionings

  • pure demand paging

Explicação

Questão 108 de 200

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 109 de 200

1

The module transfers the entire block of data to/from memory without going through the processor.

Selecione uma das seguintes:

  • Interrupt-driven I/O

  • Programmed I/O

  • Manual memory access

  • Direct memory access (DMA)

Explicação

Questão 110 de 200

1

The available vector defines

Selecione uma das seguintes:

  • total amount of each resource NOT allocated to any process

  • total amount of each resource allocated to all processes

  • total amount of each resource in the system

  • total amount of resources required for all processes

Explicação

Questão 111 de 200

1

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

Selecione uma das seguintes:

  • internal fragmentation

  • segmentation

  • paging

  • external fragmentation

Explicação

Questão 112 de 200

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 113 de 200

1

The main disadvantage 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 114 de 200

1

A binary semaphore is a semaphore with integer values:

Selecione uma ou mais das seguintes:

  • 1

  • 0,5

  • 0

  • -1

Explicação

Questão 115 de 200

1

The resource vector define

Selecione uma das seguintes:

  • total amount of each resource in the system

  • 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

Explicação

Questão 116 de 200

1

A hardcopy sign-up sheet was used to reserve computer time with

Selecione uma das seguintes:

  • Time slicing

  • Time sliding

  • Time scheduling

  • Time allocating

Explicação

Questão 117 de 200

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 118 de 200

1

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

Selecione uma das seguintes:

  • Allocation matrix

  • Resource matrix

  • Request matrix

  • Claim matrix

Explicação

Questão 119 de 200

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 120 de 200

1

The base register

Selecione uma das seguintes:

  • 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

Explicação

Questão 121 de 200

1

The two atomic operations permissible on semaphores are:

Selecione uma das seguintes:

  • hold

  • stop

  • signal

  • wait

Explicação

Questão 122 de 200

1

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

Selecione uma das seguintes:

  • Request matrix

  • Allocation matrix

  • Resource matrix

  • Claim matrix

Explicação

Questão 123 de 200

1

How to solve problem of equal-size partitions?
swapping (?) ----- page 318 book

Selecione uma das seguintes:

  • swapping (?) ----- page 318 book
    unequal-size partitions

  • segmentation

  • compaction

  • virtual memory segmentation

Explicação

Questão 124 de 200

1

The limit register

Selecione uma das seguintes:

  • 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

Explicação

Questão 125 de 200

1

Batch operating systems were used (years)

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 126 de 200

1

This matrix defines requirements of processes i for the resources j

Selecione uma das seguintes:

  • Claim matrix

  • Allocation matrix

  • Resource matrix

  • Request matrix

Explicação

Questão 127 de 200

1

How to solve problem of "external" fragmentation?

Selecione uma das seguintes:

  • compaction

  • larger memory space

  • smaller memory space

  • none of these

Explicação

Questão 128 de 200

1

The principal tool available to system programmers in developing the early multiprogramming and multiuser interactive systems

Selecione uma das seguintes:

  • Interrupt

  • Job control language

  • Monitor

  • Add hec method

Explicação

Questão 129 de 200

1

The banker's algorithm is referred to as

Selecione uma das seguintes:

  • resource allocation denial

  • denial of service

  • loan allocation denial

  • resource allocation refusal

Explicação

Questão 130 de 200

1

A page fault?

Selecione uma das seguintes:

  • 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

Explicação

Questão 131 de 200

1

Job control language was used

Selecione uma ou mais das seguintes:

  • used to provide instructions to the monitor,In early 1960s

  • From late 1940s to the mid-1950s

  • From the mid-1950s to early 1960s

  • Execute instructions

  • Control the sequence of events as the resident monitor

  • Translate the user’s program into object code

  • Provide instructions to the monitor to improve job setup time

Explicação

Questão 132 de 200

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 133 de 200

1

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

Selecione uma das seguintes:

  • mutual exclusion

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

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

  • all of the above

Explicação

Questão 134 de 200

1

'Hold and wait' condition for deadlock is defined as

Selecione uma das seguintes:

  • Process holds a resource while awaiting for other resource

  • Each process holds 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

Explicação

Questão 135 de 200

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 136 de 200

1

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

Selecione uma das seguintes:

  • Monitor

  • Process

  • Multiprogramming

  • Time sharing

Explicação

Questão 137 de 200

1

Which of the following statements is false?

Selecione uma das seguintes:

  • 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

Explicação

Questão 138 de 200

1

Banker’s algorithm for resource allocation deals with:

Selecione uma das seguintes:

  • deadlock recovery

  • deadlock prevention

  • mutual exclusion

  • deadlock avoidance

Explicação

Questão 139 de 200

1

'Circular wait' condition for deadlock is defined as

Selecione uma das seguintes:

  • Each process holds resource needed by next process in chain

  • 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

Explicação

Questão 140 de 200

1

'Ease of evolution of an OS' corresponds to the following objective:

Selecione uma das seguintes:

  • Efficiency

  • Convenience

  • Ability to evolve

Explicação

Questão 141 de 200

1

Swapping

Selecione uma das seguintes:

  • 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

Explicação

Questão 142 de 200

1

'No preemption' condition for deadlock is defined as

Selecione uma das seguintes:

  • 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

Explicação

Questão 143 de 200

1

A system is in the safe state if:

Selecione uma das seguintes:

  • b)there exist a safe sequence

  • none of the above

  • both a and b

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

Explicação

Questão 144 de 200

1

Virtual address is a

Selecione uma das seguintes:

  • Virtual address is a page number and an offset within the page

  • Другого варианта нет)

Explicação

Questão 145 de 200

1

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

Selecione uma das seguintes:

  • virtual memory is used only in multi-user systems

  • segmentation suffers from external fragmentation

  • paging suffers from internal fragmentation

  • segmented memory can be paged

  • None of the above

Explicação

Questão 146 de 200

1

True or false: segmentation suffers from external fragmentation?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 147 de 200

1

'Mutual exclusion' condition for deadlock is defined as

Selecione uma das seguintes:

  • 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

Explicação

Questão 148 de 200

1

True or false: paging suffers from external fragmentation?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 149 de 200

1

What is NOT an example of consumable resource?

Selecione uma das seguintes:

  • Main memory

  • Information in I\O buffers

  • Signals

  • Messages

Explicação

Questão 150 de 200

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?

Selecione uma das seguintes:

  • virtual memory

  • segmentation

  • paging

  • partition

Explicação

Questão 151 de 200

1

What is NOT an example of reusable resource?

Selecione uma das seguintes:

  • interrupt

  • semaphores

  • processors

  • i/o channels

Explicação

Questão 152 de 200

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 153 de 200

1

Preencha os espaços em branco para completar o texto.

On all instruction cycles, the processor accesses memory at least once, to:
, and often one or more additional times, and/or .

Explicação

Questão 154 de 200

1

Operating System maintains the page table for:

Selecione uma das seguintes:

  • each process

  • each thread

  • each instruction

  • each address

Explicação

Questão 155 de 200

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 executed, is known as?

Selecione uma das seguintes:

  • Multitasking

  • Semaphore

  • Mutual exclusion

  • multiprogramming

Explicação

Questão 156 de 200

1

In contiguous memory allocation:

Selecione uma das seguintes:

  • 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

Explicação

Questão 157 de 200

1

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

Selecione uma das seguintes:

  • status register

  • program counter

  • instruction register

  • program status word

Explicação

Questão 158 de 200

1

When memory is divided into several fixed sized partitions, each partition may contain ________.

Selecione uma das seguintes:

  • exactly one process

  • none of the above

  • at least one process

  • multiple processes at once

Explicação

Questão 159 de 200

1

The number of resources requested by a process:

Selecione uma das seguintes:

  • must always be less than 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 exceed the total number of resources available in the system

Explicação

Questão 160 de 200

1

A memory used to provide a high speed is called?

Selecione uma das seguintes:

  • cache

  • main memory

  • disk buffer

  • stack pointer

Explicação

Questão 161 de 200

1

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

Selecione uma das seguintes:

  • the memory size

  • all of the above

  • the number of partitions

  • the CPU utilization

Explicação

Questão 162 de 200

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 163 de 200

1

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

Selecione uma das seguintes:

  • resource allocation state

  • operating system

  • resources

  • system storage state

Explicação

Questão 164 de 200

1

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

Selecione uma das seguintes:

  • 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

Explicação

Questão 165 de 200

1

Runtime mapping from virtual to physical address is done by?

Selecione uma das seguintes:

  • CPU

  • none of the above

  • memory management unit

  • PCI

Explicação

Questão 166 de 200

1

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

Selecione uma das seguintes:

  • is not being used

  • none of the above

  • is always used

  • is being used

Explicação

Questão 167 de 200

1

Which of the following is not one of the principles of dealing with deadlock?

Selecione uma das seguintes:

  • Initialization

  • Avoidance

  • Detection

  • Prevention

Explicação

Questão 168 de 200

1

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

Selecione uma das seguintes:

  • page table base register

  • stack pointer

  • page register

  • program counter

Explicação

Questão 169 de 200

1

A solution to the problem of external fragmentation is:

Selecione uma das seguintes:

  • compaction

  • larger memory size

  • unequal size parts

  • smaller memory space

Explicação

Questão 170 de 200

1

The Process Control Block is:

Selecione uma das seguintes:

  • a secondary storage section

  • Process type variable

  • Data Structure

  • Block in memory

Explicação

Questão 171 de 200

1

Program always deals with:

Selecione uma das seguintes:

  • logical address

  • physical address

  • relative address

  • absolute address

Explicação

Questão 172 de 200

1

__________ is generally faster than _________ .

Selecione uma das seguintes:

  • worst fit, best fit

  • best fit, first fit

  • first fit, best fit

  • none of the above

Explicação

Questão 173 de 200

1

Which one of the following is a synchronization tool?

Selecione uma das seguintes:

  • socket

  • thread

  • pipe

  • semaphore

Explicação

Questão 174 de 200

1

External fragmentation exists when:

Selecione uma das seguintes:

  • 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

Explicação

Questão 175 de 200

1

What is compaction?

Selecione uma das seguintes:

  • a paging technique

  • a technique for overcoming fatal error

  • a technique for overcoming internal fragmentation

  • a technique for overcoming external fragmentation

Explicação

Questão 176 de 200

1

What controls the process in a single-threaded process model?(не точно) из книги

Selecione uma das seguintes:

  • Process control block

  • User address space control block

  • User stack control block

  • Kernel stack control block

Explicação

Questão 177 de 200

1

External fragmentation will not occur when:

Selecione uma das seguintes:

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

  • first fit is used

  • best fit is used

  • next fit is used

Explicação

Questão 178 de 200

1

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

Selecione uma das seguintes:

  • both will occur

  • external fragmentation occurs

  • internal fragmentation occurs

  • none of the above

Explicação

Questão 179 de 200

1

In the non-blocking send:

Selecione uma das seguintes:

  • the sending process sends the message and resumes operation

  • the sending process keeps sending unit it receives a message

  • the sending process keeps sending until the message is received

  • none of the above

Explicação

Questão 180 de 200

1

Main memory is broken into fixed-sized blocks called ________.:

Selecione uma das seguintes:

  • none of the above

  • pages

  • frames

  • segments

Explicação

Questão 181 de 200

1

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

Selecione uma das seguintes:

  • none of the above

  • frames

  • segments

  • pages

Explicação

Questão 182 de 200

1

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

Selecione uma das seguintes:

  • none of the above

  • frames

  • segments

  • pages

Explicação

Questão 183 de 200

1

The degree of multi-programming is:

Selecione uma das seguintes:

  • the number of processes in memory

  • the number of processes executed per unit time

  • the number of processes in the ready queue

  • the number of processes in the I/O queue

Explicação

Questão 184 de 200

1

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

Selecione uma das seguintes:

  • page number + page offset

  • Другого варианта нет

Explicação

Questão 185 de 200

1

The __________ is used as an index into the page table.

Selecione uma das seguintes:

  • page number

  • page offset

  • frame bit

  • frame offset

Explicação

Questão 186 de 200

1

Trace of the process is: (из книги)

Selecione uma das seguintes:

  • List of files that are opened

  • List of interactions of the process with other process

  • List of threads of the process

  • List of instructions that are executed

Explicação

Questão 187 de 200

1

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

Selecione uma das seguintes:

  • process

  • memory

  • page

  • frame

Explicação

Questão 188 de 200

1

With paging there is no ________ fragmentation.

Selecione uma das seguintes:

  • either type of

  • none of the above

  • external

  • internal

Explicação

Questão 189 de 200

1

A set of processes is deadlock if:

Selecione uma das seguintes:

  • none of the above

  • each process is blocked and will remain so forever

  • all processes are trying to kill each other

  • each process is terminated

Explicação

Questão 190 de 200

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.

Selecione uma das seguintes:

  • memory

  • page

  • frame

  • segment

Explicação

Questão 191 de 200

1

To find a free partition this algorithm starts searching from where it left off, not from the beginning (из книги)

Selecione uma das seguintes:

  • Worst fit

  • Next fit

  • Best fit

  • First fit

Explicação

Questão 192 de 200

1

For every process there is a __________.

Selecione uma das seguintes:

  • pointer to page table

  • copy of page table

  • frame table

  • page table

Explicação

Questão 193 de 200

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 ht

  • page fault

Explicação

Questão 194 de 200

1

Mutual exclusion can be provided by the:

Selecione uma das seguintes:

  • binary semaphores

  • none of the above

  • both

  • mutex locks

Explicação

Questão 195 de 200

1

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

Selecione uma das seguintes:

  • buffer miss

  • TLB miss

  • page fault

  • TLB hit

Explicação

Questão 196 de 200

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 197 de 200

1

What is a medium-term scheduler?

Selecione uma das seguintes:

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

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

  • None of the above

  • It selects which process to remove from memory by swapping

Explicação

Questão 198 de 200

1

In segmentation, each address is specified by (choose two):

Selecione uma ou mais das seguintes:

  • a segment number

  • an offset

  • a value

  • a key

Explicação

Questão 199 de 200

1

Which is the ready state of a process?

Selecione uma das seguintes:

  • when process is using the CPU

  • when process is scheduled to run after some execution

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

  • none of the above

Explicação

Questão 200 de 200

1

Which one of the following is the deadlock avoidance algorithm?

Selecione uma das seguintes:

  • round-robin algorithm

  • elevator algorithm

  • banker’s algorithm

  • dinning philosophers problem

Explicação