Online Big Flashcards
Which one is data register?
AC
A control/status register that contains the address of the next instruction to be fetched is called the:
Program Counter (PC)
A fetched instruction is normally loaded into the:
Instruction Register (IR)
By what method of dealing with multiple interrupts, interrupts are handled in strict sequential order?
Disable interrupts while an interrupt is being processed
As one proceeds down the memory hierarchy (i.e. from inboard memory to offline storage), the following condition(s) apply:
increasing access time
The _____ routine determines the nature of the interrupt and performs whatever actions are needed.
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.
memory controller
_____ refers to the tendency of execution to involve a number of memory locations that are clustered in physical memory, therefore the performance can be improved by cache
spatial locality
What is the problem of I/O process without interrupt, compared to the one with interrupt?
Waste CPU Cycles on periodically check the status of I/O devices
Interrupt-driven I/O, although more efficient than simple Programmed I/O, still requires the use of the _____ to transfer data between memory and an I/O module
CPU
In multiprocessor environments, two copies of the same data may reside in the local cache of each CPU. Whenever one CPU alters the data, the cache of the other CPU must receive an updated version of this data. This is called Cache _____
coherency
_____ was an early innovation that helped decrease the amount time the computer wasted between jobs.
Batch processing
The _____ defines the system call interface to the operating system
Application binary interface (API)
The _____ is the interface that is the boundary between hardware and software.
ISA
In a SMP system, “availability” is improved because
The failure of a single processor does not halt the system
A major problem with early serial processing systems was
Setup time
What is the name of Operating System for the early Serial Processing computer systems?
There is none (not Monitor, JCL, Main Frame)
The principle objective for a time sharing system is to:
Reduce response time
In a “Simple Batch System”, _____ is used to prevent a single job from monopolizing the system, if it expires, the user program is stopped, and control returns to the monitor.
Timer
Mean time to repair (MTTR) can be seen as average _____.
downtime
What statement about microkernel is NOT true?
It is a implemented as a single process, with all elements sharing the same address space
Early operating systems that were designed with little concern about structure are typically referred to as:
Monolithic Operating Systems
The operating system provides many types of services to end-users, programmers and system designers, including:
Error detection and response
In time sharing systems, 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
An example of a hardware feature that is desirable in a batch-processing system is:
privileged instructions
Which statement about multiprogramming is wrong?
Multiprogramming means several jobs can be on a single processor at a point of time.
_____ provide(s) an interface to the services provided by an operating system.
System calls
The two basic types of processor registers are:
User-visible and control/status registers
Small, fast memory located between the processor and main memory is called:
Cache memory
The _____ routine determines the nature of the interrupt and performs whatever actions are needed.
Interrupt handler
_____ refers to the tendency for a processor to access memory locations that have been used recently, therefore the performance can be improved by cache. For Example, when an iteration loop is executed, the processor executes the same set of instructions repeatedly.
Temporal Locality
_____ is more efficient than interrupt-driven or programmed I/O for a multiple-word I/O transfer.
Direct memory access
What component is considered to be the cache of hard disk?
real memory
The four main structural elements of a computer system are:
Processor, Main Memory, I/O Modules, System Bus
Multitasking in a computer with only one CPU is accomplished by a technique called
multiprogramming
Mean time to failure (MTTF) can be seen as average _____.
uptime
Apple’s Mac OS X is based on
FreeBSD UNIX
To allow for programs to access and execute operating system instructions, operating systems provide _____.
system calls
Linux kernel is classified as
monolithic kernel
A microkernel is a kernel _____.
that is stripped of all nonessential components
Key to the success of Linux has been it’s character as a free software package available under the auspices of the:
Free Software Foundation
Most UNIX systems are _____, in that they include virtually all of the O/S functionality in a single large block of code that runs in a single process with a single address space.
monolithic
_____ assigns a processor to the first process in the ready queue.
Dispatching
A(n) _____ is a set of instructions to be executed in response to a certain type of interrupt.
interrupt handler
An operating system must be designed such that _____.
context switches are transparent to processes
What operation is particularly useful for detecting security threats and debugging software?
suspend
How many processes truly execute concurrently in a system at any time?
at most as many as there are processors
A process may transition to the Ready state by which of the following actions?
all of the above (completion of an IO event, newly-admitted process, selected by the dispatcher)
A process control block ____.
includes information on the process’s states
The _____ refers to the number of processes in memory.
Degree of multiprogramming
The _____ of a process contains temporary data such as function parameters, return addresses, and local variables.
stack
The list of processes waiting for a particular I/O device is called a(n) _____.
event queue
The operating system acts as an interface between the computer hardware and the human user.
TRUE
A fetched instruction is normally loaded into the Instruction Register (IR)
TRUE
User-visible registers are typically accessible to system programs but are not typically available to application programs.
FALSE
One of the processor’s main functions is to exchange data with memory.
TRUE
An interrupt is a mechanism used by system modules to signal the processor that normal processing should be temporarily suspended.
TRUE
One of the driving forces in operating system evolution is advancement in the underlying hardware technology
TRUE
An operating system controls the execution of applications and acts as an interface between applications and the computer hardware.
TRUE
Time-Sharing Systems is designed to maximize response time
FALSE
RAID Disks are classified as what kind of fault tolerance method?
Information redundancy
The text segment of a process address space contains:
the executable code associated with the process
For a single processor system, _____ (choose the best answer)
there will never bw more than one running process
Which of the following states is not a discrete process state?
unblocked state
In the Five-State Process model, the following represents a valid state transition:
Running -> Blocked
The scheduling strategy where each process in the queue is given a certain amount of time, in turn, to execute and then returned to the queue, unless blocked is referred to as:
Round-Robin
The Process Image element that contains the collection of attributes needed by the O/S to control a particular process is called the:
Process Control Block
When one process spawns another, the spawned process is referred to as the _____.
child process
The portion of the operating system that selects the next process to run is called the _____.
dispatcher
The state transition from READY to RUNNING happens when a process _____
is dispatched by the scheduler
the concept of a process in an operating system embodies two primary characteristics, one of which is:
Resource Ownership
In a Linux system, when a new process is cloned, two processes share the same
Virtual Memory
*In Linux, the state of a task will be ____, if it is blocked, waiting directly on hardware conditions and not handle any signals.
Uninterruptible
Threads in user space can be more appropriate than kernel thread because ____.
All of the above (Application developers can tune the threading library’s scheduling algorithm to meet the needs of specific application, user-level thread do not require the operating system to support threads, user-level threads do not invoke the kernel for synchronization, which can reduce overhead)
Which of the following statements about kernel-level threads is false?
Software that employs kernel-level threads often is more portable than software that employs user-level threads
Which type of components Android Applications corresponds to a single screen as a UI?
Activities
Which of the following placement algorithms is considered to be the best and fastest?
First
____ temporarily removes a process from main memory to allow another process to make use of the system’s resources.
Swapping
____ strategies determine which pieces of data to remove from main memory to free space for a new process.
Replacement
Which of the following statements is false?
Real memory management is unimportant in today’s systems.
The chunks of a process are known as ____.
pages
Available chunks of memory are known as ____.
frames