• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/100

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

100 Cards in this Set

  • Front
  • Back

T or F?




The processor controls the operation of the computer and performs its data processing functions.

True

T or F?




It is not possible for a communications interrupt to occur while a printer interrupt is being processed.

False

T or F?




Cache Memory is invisible to the OS.

True

T or F?




The fetched instruction is loaded into the Program Counter.

False

T or F?




The interrupt can occur at any time and therefore at any point in the execution of a user program.

True

T or F?




Over the years memory access speed has consistently increased more rapidly than processor speed.

False

T or F?




An SMP can be defined as a stand-alone computer system with two or more similar processors of comparable capability.

True

T or F?




The operating system acts as an interface between the computer hardware and the human user.

True

The four main structural elements of a computer system are:

A) Processor, Main Memory, I/O Modules and System Bus

The ___________ routine determines the nature of the interrupt and performs whatever actions are needed.

A) interrupt handler

The _________ chooses which block to replace when a new block is to be loaded into the cache and the cache already has all slots filled with other blocks.

D) Replacement Algo

In a uniprocessor system, multiprogramming increases processor efficiency by:

A) Taking advantage of time wasted by long wait interrupt handling

The __________ is a device for staging the movement of data between main memory and processor registers to improve performance and is not usually visible to the programmer or processor.

Cache

The concept of multiple programs taking turns in execution is known as __________.

Multiprogramming

T or F?




The OS masks the details of the hardware from the programmer and provides the programmer with a convenient interface for using the system.

True

T or F?




The OS frequently relinquishes control and must depend on the processor to allow it to regain control.

True

T or F?




Uniprogramming typically provides better utilization of system resources than multiprogramming.

False

T or F?




A monolithic kernel is implemented as a single process with all elements sharing the same address space.

True

Operating systems must evolve over time because:

A) new hardware is designed and implemented in the computer system

The technique where a system clock generates interrupts, and at each clock interrupt the OS regains control and assigns the processor to another user, is __________ .

Time Slicing

__________ is where the OS must prevent independent processes from interfering with each other's memory, both data and instructions.

Process Isolation

The portion of the monitor that is always in main memory and available for execution is referred to as the _________ .

Resident Monitor

__________ is a technique in which a process, executing an application, is divided into threads that can run concurrently.

Multithreading

T or F?




A design change in the structure or semantics of the process control block could affect a number of modules in the OS.

True

T or F?




The process control block is the key tool that enables the OS to support multiple processes and to provide for multiprocessing.

True

T or F?




It is not the responsibility of the operating system to control the execution of processes.

False

T or F?




The OS may create a process on behalf of an application.

True

T or F?




A process that is not in main memory is immediately available for execution, regardless of whether or not it is awaiting an event.

False

T or F?




A process switch may occur any time that the OS has gained control from the currently running process.

True

When one process spawns another, the spawned process is referred to as the __________ .

Child Process

When a process is in the _________ state it is in secondary memory but is available for execution as soon as it is loaded into main memory.

Ready/Suspend

__________ involves moving part or all of a process from main memory to disk.

Swapping

The collection of program, data, stack, and attributes is referred to as the _________ .

Process Image

The portion of the operating system that selects the next process to run is called the _________ .

Dispatcher

Two essential elements of a process are __________ and a set of data associated with that code.

Program Code

A significant point about the __________ is that it contains sufficient information so that it is possible to interrupt a running process and later resume execution as if the interruption had not occurred

Process Control Block

A process in the _________ state is in main memory and available for execution.

Ready

When a process is not running, the processor status information is stored in the _________ context area.

Register

T or F?




In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread.

True

T or F?




It takes less time to terminate a process than a thread.

False

T or F?




Termination of a process does not terminate all threads within that process.

False

T or F?




if a process is swapped out, all of its threads are necessarily swapped out because they all share the address space of the process.

True

T or F?




Any alteration of a resource by one thread affects the environment of the other threads in the same process.

True

The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a __________ .

Single-threaded approach

The principal disadvantage of the _________ approach is that the transfer of control from one thread to another within the same process requires a mode switch to the kernel.

KLT

A ________ is a user-created unit of execution within a process.

ULT

A thread enters the _________ state, after waiting, if it is ready to run but the resources are not available.

Transition

__________ refers to the ability of an OS to support multiple, concurrent paths of execution within a single process.

multithreading

There are four basic thread operations associated with a change in thread state: Block, Unblock, Finish, and _________ .

Spawn

It is necessary to __________ the activities of various threads so they do not interfere with each other or corrupt data structures.

synchronize

The basic form of communication between processes or threads in a microkernel operating system is/are _________ .

Messages

T or F?




As an extension of the principles of modular design and structured programming, some applications can be effectively programmed as a set of concurrent processes.

True

T or F


Race condition is a situation in which two or more processes continuously change their states in response to changes in the other process(es) without doing any useful work.

False

T or F?




Concurrent processes do not come into conflict with each other when they are competing for the use of the same resource.

False

T or F?




Two or more processes can cooperate by means of simple signals, such that a process can be forced to stop at a specified place until it has received a specific signal.

True

T or F?




It is possible for one process to lock the mutex and for another process to unlock it.

False

A situation in which a runnable process is overlooked indefinitely by the scheduler, although it is able to proceed, is _________ .


A) mutual exclusion B) deadlockC) starvation D) livelock

C. Starvation

The requirement that when one process is in a critical section that accesses shared resources, no other process may be in a critical section that accesses any of those shared resources is ________ .




A) critical section B) livelock C) mutual exclusion D) atomic operation

C. Mutual Exclusion

________ is when the sequence of instruction is guaranteed to execute as a group, or not execute at all, having no visible effect on system state.


A) Critical section B) Mutual exclusion C) Atomic operation D) Starvation

C. Atomic Operation

The term _______ refers to a technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an instruction or set of instructions that tests the appropriate variable to gain entrance.

Spin waiting

The ________ is a programming language construct that provides equivalent functionality to that of semaphores and is easier to control. A) atomic operation B) coroutine C) critical section D) monitor

D. Monitor

In the case of competing processes three control problems must be faced: mutual exclusion, deadlock, and ________ .

Starvation

A _______ is a semaphore that takes on only the values of 0 and 1

Binary Semaphore

In the case of _______ , messages are not sent directly from sender to receiver but rather are sent to a shared data structure consisting of queues that can temporarily hold messages.

Indirect addressing

T or F?




All deadlocks involve conflicting needs for resources by two or more processes.

True

T or F?




Interrupts, signals, messages, and information in I/O buffers are all examples of reusable resources.

False

T or F?




A useful tool in characterizing the allocation of resources to processes is the resource allocation graph.

True

T or F?




For deadlock to occur, there must not only be a fatal region, but also a sequence of resource requests that has led into the fatal region.

True

T or F?




Deadlock avoidance requires knowledge of future process resource requests.

True

With _________ only one process may use a resource at a time and no process may access a resource unit that has been allocated to another process.

Mutual Exclusion

A closed chain of processes exists, such that each process holds at least one resource needed by the next process in the chain is the condition of __________ .

Circular wait

The __________ condition can be prevented by defining a linear ordering of resource types.

Circular Wait

A _________ resource is one that can be created and destroyed.

Consumable

The strategy of resource allocation denial is referred to as the ___________ .

Banker's algorithm

T or F?




The use of unequal size partitions provides a degree of flexibility to fixed partitioning

True

T or F?




Programs in other processes should not be able to reference memory locations in a process for reading or writing purposes without permission

True

T or F?




Secondary memory provides fast access at relatively high cost.

False

T or F?




A hardware mechanism is needed for translating relative addresses to physical main memory addresses at the time of execution of the instruction that contains the reference.

True

T or F?




The principal operation of memory management is to bring processes into main memory for execution by the processor.

True

Main memory divided into a number of static partitions at system generation time is _______ .

Fixed partitioning

With __________ a process is loaded by loading all of its segments into dynamic partitions that need not be contiguous.

Simple Segmentation

The chunks of a process are known as __________ .

Pages

Available chunks of memory are known as ___________ .

Frames

The concept of Memory Management satisfies certain system requirements including:

all of the above (Relocation, Protection and Physical Organization)

A __________ is a variable length block of data that resides in secondary memory.

Segment

A fixed length block of data that resides in secondary memory is a __________ .

Page

When there is wasted space internal to a partition due to the fact that the block of data loaded is smaller than the partition is referred to as __________.

Internal Fragmentation

A __________ is a reference to a memory location independent of the current assignment of data to memory.

Logical Address

The basic tools of memory management are paging and __________ .

Segmentation

T or F?




The addresses a program may use to reference memory are distinguished from the addresses the memory system uses to identify physical storage sites.

True

T or F?




Most of the memory management issues confronting the operating system designer are in the area of paging when segmentation is combined with paging.

True

T or F?




Virtual memory allows for very effective multiprogramming and relieves the user of the unnecessarily tight constraints of main memory.

True

T or F?




The principle of locality states that program and data references within a process do not tend to cluster.

False

The address of a storage location in main memory is the __________ .

Real Address

A _________ is issued if a desired page is not in main memory.

Page Fault

The _________ determines when a page should be brought into main memory.

Fetch Policy

The address assigned to a location in virtual memory to allow that location to be accessed as though it were part of main memory is the __________ .

Virtual Address

The size of virtual storage is limited by the addressing scheme of the computer system and by the amount of __________ available.

Secondary Memory

When the system spends most of its time swapping pieces rather than executing instructions it leads to a condition known as _________ .

Thrashing

To overcome the problem of doubling the memory access time, most virtual memory schemes make use of a special high-speed cache for page table entries called a __________ .

translation lookaside buffer (TLB)