M1

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

True or False? Assuming a modern OS implementation without bugs, a user program cannot run in kernel mode on a computer system that uses a CPU with dual mode.

True

Select the best answer. Timesharing requires ____________ scheduling.

CPU

Matching. Match each computer system component to the most relevant role/definition. Computer Hardware Applications operating system Users

Computer Hardware = CPU, Memory, I/O Applications = Solve users's computational problems operating system = optimizes the use of a computer system Users = People or machines using a computer system

True or False? For efficiency reasons, the operating system (OS) is kept on the disk to run. Running the OS from the disk frees the main memory for the user programs.

False

True or False? On modern general purpose computer systems, software may directly trigger an interrupt onto the CPU.

False

True or False? Using any CPU, the operating system can be designed to maintain full control of the computer system, i.e., to be the boss in charge

False

Select all that apply. The operating system is needed because ______________________.

I/O operations are frequent and slow CPU cannot be kept busy all time by ANY application

Select all that apply. The operating system is needed because __________________

I/O operations are frequent and slow users and/or applications must share the computer hardware resources

Select the best answer. Memory-I/O data transfers are efficiently performed by the ______________.

DMA

Select all that apply. Process management include:

Deadlock Handling Process Synchronization Process Communication

Select the best answer. _______________ is an intruder as a component of hardware. *An intruder is an element that does not belong to a group (made by the other options).

Devices drivers

Check all that apply. These components of the computer hardware actively and concurrently access the shared memory through a shared bus.

Direct Memory Access Device Central Processing Unit

Select all that apply. OS duties include these:

Process Management Memory Management I/O Management

Select the best answer. The bootstrap program is precisely _______________.

a piece of firmware

Select all that apply. The operating system is __________________

a resource allocator a control program a piece of software

Select the best answer. A system call is made by ____________ .

a user program

Select the best answer from each dropdown menu. On a computer system, [ Select ] ["operating system", "applications", "computer hardware"] is/are an intermediary component serving directly [ Select ] ["applications", "operating system", "users", "computer hardware"] while receiving service directly from operating system

applications users operating system

Select all that apply. These algorithms will exhibit a good spatial locality.

displaying sequentially items in a large array matrices addition

Check all that apply. From the user view, these features of an operating system are paramount.

ease of use

Fill in the blank. The operating system is in charge of: 1) Process Management 2) I/O subsystem 3) Protection and security 4) __________ Management 5) Storage Management

memory

Select all that apply. The operating system manages the sharing of these resources.

memory system I/O system central processing unit (CPU)

Fill in the blank. Software may trigger an interrupt by executing a special operation called a _______________.

monitor call

Matching. We want to sort the different memory levels from the lowest to the highest access time. The level with the smallest access time is assigned the number 1 Registers = 1 Cache = 2 Main memory = 3 Hard drive = 4 Network storage = 5

1 2 3 4 5

Matching. We want to sort the different memory levels from the smallest to the largest storage capacity. The level with the smallest storage capacity is assigned the number 1. Registers = 1 Cache = 2 Main memory = 3 Hard drive = 4 Network storage = 5

1 2 3 4 5

Matching. We want to sort the different memory levels from the cheapest to the most expensive cost to store a bit. The level with the cheapest cost is assigned the number 1 Registers = 5 Cache = 4 Main memory = 3 Hard drive = 2 Network storage = 1

5 4 3 2 1

Select the best answer. _______________ is an intruder as a component of a computer system. *An intruder is an element that does not belong to a group (made by the other choices).

Apple Inc

Select all that apply. For filesystem management, the OS activities are:

Back up files on non volatile storage creating, opening, or deleting files or directories

Select all that apply. Check all statements that apply to the DMA.

DMA is faster than the CPU to perform data transfers DMA is a hardware device

Select all that apply. For mass storage management, the OS activities are:

Free-space management Storage allocation Disk scheduling

Check all that apply. These components of the computer hardware actively and simultaneously access the shared memory through a shared bus.

None of these answers

Select all that apply. Variables referenced in the body of theses constructs will surely exhibit high spatial locality.

None of these answers

Select the best answer. ______________ is not a responsibility or a duty of an operating system.

None of these answers

Fill in the blank. The program that loads the operating system kernel and starts execution is the ___________________ program.

bootstrap

Select the best answer from each dropdown menu. The [ Select ] ["bootstrap program", "operating system", "application", "kernel"] is small program that runs at start up or reboot. It is NOT initially stored in the [ Select ] ["EPROM", "Non volatile memory", "RAM", "ROM"] .

bootstrap program RAM

Select the best answer from each dropdown menu. The [ Select ] ["application", "bootstrap program", "the full operating system", "operating system kernel"] loads at start up the [ Select ] ["application", "full operating system", "operating system kernel", "bootstrap"] . The [ Select ] loads at start up the [ Select ]

bootstrap program operating system kernel

Use the best combination to build a true statement out of this one: After not finding a datum in the [ Select ] ["cache", "registers", "network storage", "hard drive"] , the hardware will try to load it from [ Select ] ["cache", "main memory", "registers"] .

cache hardware main memory

Select all that apply. Data transfers between registers and cache are managed by the ___________.

compiler programmer

Select the best answer from each dropdown menu. DMA is a mechanism provided by the computer hardware to help operating system carry its mission efficiently.

computer hardware operating system

Select the best answer from each dropdown menu. Interrupts are a mechanism provided by the [ Select ] ["computer hardware", "applications", "Users", "Operating system"] to help [ Select ] ["applications", "operating system", "users", "computer hardware"] carry its mission efficiently.

computer hardware operating system

Select the best answer. On a computer hardware with multiple CPUs and a shared memory and bus system, I/O devices and the CPUs execute ______________.

concurrently

Fill in the blank. The operating system could be seen as a _______________ program.

control

Select the best answer from each dropdown menu. -Caching consists of copying information into a faster storage system; main memory can be viewed as a cache for the hard drive

faster main memory

Select all that apply. Data transfers between main memory and cache are managed by

hardware

Select the best answer from each dropdown menu. [ Select ] ["hardware", "operating system kernel", "application", "bootstrap program"] may trigger an interrupt at any time by sending a signal to the [ Select ] ["application", "operating system", "bootstrap program", "CPU"] .

hardware CPU

Fill in the blank. On modern computer systems, the memory system is organized as an ____________, rather than a flat system.

hierarchy

Select the best answer. The CPU ______________ the data transfers from/to main memory to/from local buffers.

initiates

Select all that apply. Timesharing is needed because _______________________.

interactivity requires switching the CPU between users frequently. smaller response time is desired by the users most users require interactivity

Fill in the blank. "The one program running at all times on the computer" is the ____________.

kernel

Fill in the blank. A more common definition, and the one that [the textbook author] usually follows, is that the operating system is the one program running at all times on the computer—usually called the ____________.

kernel

Select the best answer from each dropdown menu. A CPU with dual mode will run the OS under the kernel mode while a user program will run under the user mode.

kernel user

Select the best answer. After not finding a datum in the cache, the system will look next into the _____________.

main memory

Select all that apply. These algorithms will exhibit a good spatial locality

matrices addition displaying sequentially items in a large array

Select all that apply. Memory management aims to:

maximize CPU utilization minimize response time

Select all that apply. Variables referenced in the body of theses constructs will surely exhibit high temporal locality

nested loops for loops while loops

Select all that apply. Multiprogramming is needed because _____________________.

one process alone cannot keep CPU and I/O devices busy all times. it improves CPU utilization this increases the likelihood that some process is ready to use the CPU

Select the best answer. The kernel is a subset of the ___________________.

operating system

Select the best answer from each dropdown menu. On a computer system, the [ Select ] ["computer hardware", "operating system", "users"] is/are an intermediary component serving directly the [ Select ] ["operating system", "computer hardware", "users", "applications"] while receiving service directly from the [ Select ] ["computer hardware", "operating system", "users", "applications"]

operating system applications computer hardware

Select the best answer. Temporal locality refers to this property exhibited by most algorithms.

recently referenced variables will be referenced again soon

Fill in the blank. The operating system could be seen as a _______________ allocator.

resource

Select all that apply. Instructions referenced in the body of theses constructs will surely exhibit high spatial locality

sequential code with no loops nested loops while loops for loops

Select the best answer. For storage management of a modern computer system, the logical unit is ________.

the file

Select all that apply. Multiprogramming is needed because _____________________.

this increases the likelihood that some process is ready to use the CPU one process alone cannot keep CPU and I/O devices busy all times. it improves CPU utilization

Fill in the blank. "Another form of multiprogramming that improves interactivity is ____________.

time sharing

Fill in the blank. On modern computer systems, the CPU must have at least ____________ such the CPU can run with different sets of privileges or capabilities. This will allow the CPU to run the operating system with the highest set of privileges or capabilities.

two modes

Select all that apply. Data transfers between main memory and hard drive are managed by

user operating system

Select the best answer. Spatial locality refers to this property exhibited by most algorithms.

variables close (in the memory) to recently referenced variables will be referenced soon.


संबंधित स्टडी सेट्स

Psych/Mental Health Nursing Final Exam Review

View Set

TOEIC | Đọc hiểu 5 - Đề 14

View Set

Unit 1 "The Living World: Ecosystems" - AP Environmental Science Topic Questions

View Set

Evidence Based Practice- MIDTERM

View Set

Measures of Development Ch 17 APHG

View Set

Chapter 21 Law for Business and Personal Use

View Set

Pharmacological and parenteral therapies quiz

View Set