WorksheetsPOP FINAL (01) 1-20page
Total questions: 150
Worksheet time: 1hrs 15mins
The processor controls the operation of the computer and performs its data processing functions.
True
False
It is not possible for a communications interrupt to occur while a printer interrupt is being processed.
True
False
A system bus transfers data between the computer and its external environment.
True
False
Cache memory is invisible to the OS.
True
False
With interrupts, the processor can not be engaged in executing other instructions while an I/O operation is in progress.
True
False
Digital Signal Processors deal with streaming signals such as audio and video.
True
False
The fetched instruction is loaded into the Program Counter.
True
False
Interrupts are provided primarily as a way to improve processor utilization.
True
False
The interrupt can occur at any time and therefore at any point in the execution of a user program.
True
False
Over the years memory access speed has consistently increased more rapidly than processor speed.
True
False
An SMP can be defined as a stand-alone computer system with two or more similar processors of comparable capability.
True
False
The Program Status Word contains status information in the form of condition codes, which are bits typically set by the programmer as a result of program operation.
True
False
An example of a multicore system is the Intel Core i7.
True
False
In a two-level memory hierarchy the Hit Ratio is defined as the fraction of all memory accesses found in the slower memory.
True
False
The operating system acts as an interface between the computer hardware and the human user.
True
False
The invention of the blank was the hardware revolution that brought about desktop and handheld computing.
Microprocessor
Transistor
System bus
Assembler
To satisfy the requirements of handheld devices, the classic microprocessor is giving way to the blank, where not just the CPUs and caches are on the same chip, but also many of the other components of the system, such as DSPs, GPUs, I/O devices and main memory.
System on a chip
Symmetric multiprocessor
Multicore processor
Direct memory access
The processing required for a single instruction is called a(n) blank cycle.
Instruction
Fetch
Execute
Memory
The fetched instruction is loaded into the blank.
Instruction register
Program counter
Memory buffer register
Accumulator
When an external device is ready to accept more data from the processor, the I/O module for that external device sends an blank signal to the processor.
Interrupt request
Clock
Write enable
Program handler
The blank 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
Main memory
System bus
DMA controller
External, nonvolatile memory is also referred to as blank or auxiliary memory.
Secondary memory
Primary memory
Volatile memory
Direct memory
When a new block of data is read into the cache the blank determines which cache location the block will occupy.
Mapping function
Replacement algorithm
Write policy
Memory controller
In a blank multiprocessor all processors can perform the same functions so the failure of a single processor does not halt the machine.
Symmetric
Asymmetric
Clustered
Distributed
A blank computer combines two or more processors on a single piece of silicon.
Multicore
Mainframe
Embedded
Parallel
A Control/Status register that contains the address of the next instruction to be fetched is called the blank.
Program counter
Instruction register
Stack pointer
Memory address register
Each location in Main Memory contains a blank value that can be interpreted as either an instruction or data.
Binary number
Hexadecimal digit
ASCII character
Word-aligned pointer
A special type of address register required by a system that implements user visible stack addressing is called a blank.
Stack pointer
Frame pointer
Index register
Program counter
Registers that are used by system programs to minimize main memory references by optimizing register use are called blank.
User-visible registers
Control registers
Status flags
Cache tags
The concept of multiple programs taking turns in execution is known as blank.
Multiprogramming
Multithreading
Time slicing
Spooling
The four main structural elements of a computer system are:
Processor, Main Memory, I/O Modules and System Bus
Processor, I/O Modules, System Bus and Secondary Memory
Processor, Registers, Main Memory and System Bus
Processor, Registers, I/O Modules and Main Memory
The blank holds the address of the next instruction to be fetched.
Accumulator (AC)
Instruction Register (IR)
Instruction Counter (IC)
Program Counter (PC)
The blank contains the data to be written into memory and receives the data read from memory.
I/O address register
Memory address register
I/O buffer register
Memory buffer register
Instruction processing consists of two steps:
Fetch and execute
Instruction and execute
Instruction and halt
Fetch and instruction
The blank routine determines the nature of the interrupt and performs whatever actions are needed.
Interrupt handler
Instruction signal
Program handler
Interrupt signal
The unit of data exchanged between cache and main memory is blank.
Block size
Map size
Cache size
Slot size
The blank 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.
Memory controller
Mapping function
Write policy
Replacement algorithm
Blank is more efficient than interrupt-driven or programmed I/O for a multiple-word I/O transfer.
Spatial locality
Direct memory access
Stack access
Temporal locality
The blank is a point-to-point link electrical interconnect specification that enables high-speed communications among connected processor chips.
QPI
DDR3
LRUA
ISR
Small, fast memory located between the processor and main memory is called:
Block memory
Cache memory
Direct memory
WORM memory
In a uniprocessor system, multiprogramming increases processor efficiency by:
Taking advantage of time wasted by long wait interrupt handling
Disabling all interrupts except those of highest priority
Eliminating all idle processor cycles
Increasing processor speed
The two basic types of processor registers are:
User-visible registers and control/status registers
Data registers and memory buffers
Address registers and instruction registers
General-purpose registers and cache tags
When an external device becomes ready to be serviced by the processor the device sends a(n) ________ signal to the processor.
access
halt
handler
interrupt
One mechanism Intel uses to make its caches more effective is ________, in which the hardware examines memory access patterns and attempts to fill the caches speculatively with data that is likely to be requested soon.
mapping
handling
interconnecting
prefetching
A ________ organization has a number of potential advantages over a uniprocessor organization including performance, availability, incremental growth, and scaling.
temporal locality
symmetric multiprocessor
direct memory access
processor status word
An OS should be constructed in such a way as to permit the effective development, testing, and introduction of new system functions without interfering with service.
True
False
The OS masks the details of the hardware from the programmer and provides the programmer with a convenient interface for using the system.
True
False
The ABI gives a program access to the hardware resources and services available in a system through the user ISA.
True
False
The OS frequently relinquishes control and must depend on the processor to allow it to regain control.
True
False
One of the driving forces in operating system evolution is advancement in the underlying hardware technology.
True
False
The processor itself is not a resource so the OS is not involved in determining how much of the processor time is devoted to the execution of a user program.
True
False
A process consists of three components: an executable program, the associated data needed by the program, and the execution context of the program.
True
False
Uniprogramming typically provides better utilization of system resources than multiprogramming.
True
False
A monolithic kernel is implemented as a single process with all elements sharing the same address space.
True
False
The user has direct access to the processor with a batch-processing type of OS.
True
False
Both batch processing and time sharing use multiprogramming.
True
False
The phrase "control is passed to a job" means that the processor is now fetching and executing instructions from the monitor program.
True
False
In a time sharing system, a user's program is preempted at regular intervals, but due to relatively slow human reaction time this occurrence is usually transparent to the user.
True
False
The principle objective of Batch Multiprogramming is to minimize response time.
True
False
Virtualization technology enables a single PC or server to simultaneously run multiple operating systems or multiple sessions of a single OS.
True
False
The ________ is the interface that is the boundary between hardware and software.
ABI
ISA
IAS
API
A(n) ________ is a set of resources for the movement, storage, and processing of data and for the control of these functions.
architecture
program
computer
application
The operating system's ________ refers to its inherent flexibility in permitting functional modifications to the system without interfering with service.
efficiency
ability to evolve
controlled access
convenience
Operating systems must evolve over time because:
new hardware is designed and implemented in the computer system
hardware must be replaced when it fails
hardware is hierarchical
users will only purchase software that has a current copyright date
A special type of programming language used to provide instructions to the monitor is ________.
FPL
JCL
DML
SML
Hardware features desirable in a batch-processing operating system include memory protection, timer, privileged instructions, and ________.
clock cycles
associated data
interrupts
kernels
A user program executes in a ________, in which certain areas of memory are protected from the user's use, and in which certain instructions may not be executed.
kernel mode
user mode
task mode
batch mode
Multiprogramming operating systems are fairly sophisticated compared to single-program or ________ systems.
uniprogramming
time-sharing
multitasking
memory management
One of the first time-sharing operating systems to be developed was the ________.
Compatible Time-Sharing System
Real Time Transaction System
Multiple-Access System
Multiprogramming Operation 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
multithreading
round robin
clock cycle
The ________ is the internal data by which the OS is able to supervise and control the process.
executable program
associated data
nucleus
execution context
________ is where the OS must prevent independent processes from interfering with each other's memory, both data and instructions.
Support of modular programming
Process isolation
Automatic allocation and management
Protection and access control
________ is concerned with the proper verification of the identity of users and the validity of messages or data.
Availability
Confidentiality
Authenticity
A common strategy to give each process in the queue some time in turn is referred to as a technique.
multithreading
round-robin
time slicing
serial processing
The key to the success of Linux has been its character as a free software package available under the auspice of the
World Wide Web Consortium
Free Software Foundation
Berkeley Software Distribution
GNU Public License
An is a program that controls the execution of application programs and acts as an interface between applications and the computer hardware.
kernel module
operating system
device driver
application server
The portion of the monitor that is always in main memory and available for execution is referred to as the
resident monitor
interrupt handler
boot loader
scheduler
is a technique in which a process, executing an application, is divided into threads that can run concurrently.
time sharing
multithreading
pipelining
batch processing
Two major problems with early serial processing systems were scheduling and
context switching
setup time
deadlock
I/O starvation
The central idea behind the simple batch-processing scheme is the use of a piece of software known as the
kernel
monitor
dispatcher
loader
Any resource allocation and scheduling policy must consider three factors: Fairness, Differential responsiveness, and
security
efficiency
portability
scalability
A is set at the beginning of each job to prevent any single job from monopolizing the system.
quantum
timer
priority
checkpoint
The OS has five principal storage management responsibilities: process isolation, automatic allocation and management, support of modular programming, protection and access control, and
real-time scheduling
long-term storage
interrupt handling
network security
The earliest computers employed processing, a name derived by the way the users have access to the systems.
parallel
serial
interactive
distributed
was designed to keep the processor and I/O devices, including storage devices, simultaneously busy to achieve maximum efficiency.
Time slicing
Multiprogramming
Preemptive scheduling
Real-time processing
In a time-sharing, multiprogramming system, multiple users simultaneously access the system through
terminals
daemons
caches
interrupts
The principal objective of is to maximize processor use.
Batch Multiprogramming
Interactive computing
Real-time processing
Single-tasking
Three major lines of computer system development created problems in timing and synchronization that contributed to the development of the concept of the process: multiprogramming batch operation, time sharing, and
cloud computing
real-time transaction systems
virtual machines
microservices
is a facility that allows programs to address memory from a logical point of view, without regard to the amount of main memory physically available.
Cache memory
Virtual memory
Shared memory
Static memory
Security and protection as it relates to operating systems is grouped into four categories: Availability, Data integrity, Authenticity, and
Confidentiality
Usability
Portability
Maintainability
A computer platform consists of a collection of hardware resources, such as the processor, main memory, I/O modules, timers, and disk drives.
True
False
For efficiency, applications should be written directly for a given hardware platform.
True
False
A design change in the structure or semantics of the process control block could affect a number of modules in the OS.
True
False
The process control block is the key tool that enables the OS to support multiple processes and to provide for multiprocessing.
True
False
It is not the responsibility of the operating system to control the execution of processes.
True
False
The first step in designing an OS to control processes is to describe the behavior that we would like the processes to exhibit.
True
False
The OS may create a process on behalf of an application.
True
False
Swapping is not an I/O operation so it will not enhance performance.
True
False
If a system does not employ virtual memory each process to be executed must be fully loaded into main memory.
True
False
A process that is not in main memory is immediately available for execution, regardless of whether or not it is awaiting an event.
True
False
The OS may suspend a process if it detects or suspects a problem.
True
False
All processor designs include a register or set of registers, often known as the program status word, which contains status information.
True
False
The process control block is the least important data structure in an OS.
True
False
A process switch may occur any time that the OS has gained control from the currently running process.
True
False
The principal function of the OS is to create, manage, and terminate processes.
True
False
The processor itself provides only limited support for multiprogramming, and is needed to manage the sharing of the processor and other resources by multiple applications at the same time.
memory
data
software
hardware
"The process was placed in a suspended state by an agent; either itself, a parent process, or the OS, for the purpose of preventing its execution" is a characteristic of a process.
blocked
suspended
ready
swapped
A is a unit of activity characterized by the execution of a sequence of instructions, a current state, and an associated set of system resources.
identifier
process
state
kernel
We can characterize the behavior of an individual process by listing the sequence of instructions, referred to as a, that executes for that process.
state
trace
process block
priority
It is the principal responsibility of the to control the execution of processes.
OS
process control block
memory
dispatcher
When one process spawns another, the spawned process is referred to as the
trap process
child process
stack process
parent process
involves moving part or all of a process from main memory to disk.
Swapping
Relocating
Suspending
Blocking
A process is in the ______ state as soon as it is loaded into main memory.
Blocked
Blocked/Suspend
Ready
Ready/Suspend
A process is in the ______ state when it is in main memory and awaiting an event.
Blocked
Blocked/Suspend
Ready/Suspend
Ready
The OS must maintain ______ tables to manage processes.
process
I/O
memory
file
The collection of program, data, stack, and attributes is referred to as the ______.
process structure
process control block
process location
process image
The ______ is the less-privileged mode.
user mode
kernel mode
system mode
control mode
A ______ is an individual who seizes supervisory control of the system and uses this control to evade auditing and access controls or to suppress audit collection.
misfeasor
clandestine user
masquerader
legitimate user
A total of ______ process states are recognized by the UNIX SVR4 operating system.
3
9
21
15
The portion of the operating system that selects the next process to run is called the ______.
trace
process control block
dispatcher
PSW
The ______ is a layer of software between the applications and the computer hardware that supports applications and utilities.
operating system
kernel
device driver
process manager
A process is in the ______ state when it is in secondary memory and awaiting an event.
Blocked
Blocked/Suspend
Ready/Suspend
Ready
Two essential elements of a process are ______ and a set of data associated with that code.
program code
process control block
user interface
kernel mode
The ______ tables provide information about the existence of files, their location on secondary memory, their current status, and other attributes.
process
file
memory
I/O
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
program counter
stack pointer
process image
A ______ is a legitimate user who accesses data, programs, or resources for which such access is not authorized, or who is authorized for such access but misuses his or her privileges.
misfeasor
masquerader
clandestine user
intruder
When the OS creates a process at the explicit request of another process, the action is referred to as ______.
process spawning
process blocking
context switching
scheduling
The process is said to be operating in a ______ fashion if each process in the queue is given a certain amount of time, in turn, to execute and then returned to the queue, unless blocked.
round-robin
first-come, first-served
priority-based
shortest-job-first
A process in the ______ state is in main memory and available for execution.
Ready
Blocked
Running
New
______ tables are used to keep track of both main (real) and secondary (virtual) memory.
Memory
Process
File
I/O
The process control block information can be grouped into three general categories: process identification, ______ and process control information.
processor state information
device status
user privileges
file descriptors
A ______ is the maximum amount of time that a process can execute before being interrupted.
time slice
deadline
burst time
latency
System access threats fall into two general categories: ______ and malicious software.
intruders
misfeasors
spammers
hardware faults
A ______ is an individual who is not authorized to use the computer and who penetrates a system's access controls to exploit a legitimate user's account.
masquerader
clandestine user
misfeasor
legitimate user
An IDS comprises three logical components: sensors, ______, and user interface.
analyzers
controllers
buffers
dispatchers
The OS performs a protection function to prevent unwanted interference between processes with respect to resources.
True
False
Windows process design is driven by the need to provide support for a variety of OS environments.
True
False
The unit of dispatching is usually referred to as a process or task.
True
False
In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread.
True
False
It takes less time to terminate a process than a thread.
True
False
If there is an application or function that should be implemented as a set of related units of execution, it is far more efficient to do so as a collection of separate processes rather than a collection of threads.
True
False
An example of an application that could make use of threads is a file server.
True
False
Termination of a process does not terminate all threads within that process.
True
False
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
False
On a uniprocessor, multiprogramming does not enable the interleaving of multiple threads within multiple processes.
True
False
Any alteration of a resource by one thread affects the environment of the other threads in the same process.
True
False
In a pure ULT facility, all of the work of thread management is done by the application, and the kernel is not aware of the existence of threads.
True
False
As a default, the kernel dispatcher uses the policy of hard affinity in assigning threads to processors.
True
False
Windows is an example of a kernel-level thread approach.
True
False
The potential performance benefits of a multicore organization depend on the ability to effectively exploit the parallel resources available to the application.
True
False
