Quiz 10 Functions of an Operating System

Ace your homework & exams now with Quizwiz!

All of the following a differences between Windows and Linux/Unix servers, except

Linux/Unix generally costs more than Windows servers

An operating system that supports multitasking allows multiple programs to execute concurrently.

True

The operating system kernel is responsible for allocating hardware resources to application programs.

True

The scheduler determines which thread to move to the running state.

True

A significant problem with contiguous memory allocation using fixed size memory partitions is ____.

wasted memory

Which of the following is not an operating system function?

Database management

A process queue may be used for interprocess communication when no data needs to be passed.

False

A real time process always contains subunits that can be executed concurrently or simultaneously.

False

A service call is a processing request made by an application program to the operating system kernel.

False

A thread is the unit of memory read or written to the swap space.

False

An operating system that supports multitasking allows a single program to be divided into components that can execute concurrently

False

Device drivers are located within the operating system service layer

False

Dispatching a thread moves it from the running state to the ready state.

False

Explicit priority scheduling chooses the next process to be dispatched based on the expected amount of CPU time needed to complete the process

False

First-come first-serve scheduling guarantees that a process will receive sufficient resources to complete one program cycle within a stated time interval

False

Information about a single process' execution state (e.g., register values, status, etc.) is held in a page table for use by the scheduler.

False

Memory pages not held in primary storage are held in the page table of a secondary storage device.

False

The command layer, service layer, and interrupt control layer are the primary layers of an operating system.

False

The hardware resources consumed by the resource allocation functions of the kernel are sometimes referred to as supervisor overhead.

False

The service layer directly interacts with storage and I/O devices.

False

The supervisor determines which thread to move to the running state.

False

The term real time scheduling describes to any type of scheduling in which a running thread may lose control of the CPU to another thread.

False

Under contiguous memory allocation, portions of a single process may be physically located in scattered segments of main memory.

False

Under virtual memory management, a page hit occurs when a program attempts to access a page not held in physical memory.

False

Which of the following is not an example of a command language?

Java

The process of converting an address operand into a physical address within a memory partition or page frame is called address resolution.

True

The term preemptive scheduling describes any type of scheduling in which a running thread may lose control of the CPU to another thread

True

To achieve efficient use of memory and a large number of concurrently executing processes, most operating systems utilize virtual memory management

True

Under contiguous memory allocation, all portions of a process must be loaded into sequential physical memory locations.

True

Under the shortest time remaining (STR) scheduling method, processes requiring the least CPU time are dispatched first.

True

Under the shortest time remaining scheduling method, processes requiring the least CPU time are dispatched first.

True

Under virtual memory management, the location of a memory page is determined by searching a page table

True

Under virtual memory management, the location of a memory page is determined by searching a page table.

True

When a thread makes an I/O service request, it is placed in the blocked state until processing of the request is completed

True

When a thread makes an I/O service request, it is placed in the blocked state until processing of the request is completed.

True

What operating system component does application software call to perform functions such as file manipulation and printer control?

service layer

The command layer of the operating system is sometimes called the ____.

shell

Most service calls are actually indirect requests for ____.

system resources

A(n) ____ can execute instructions to process a single transaction, retrieve and store data from an I/O device, or retrieve and analyze one set of process variables.

thread cycle

A request to execute a service layer function is called a(n) ____.

service call

A thread in the running state requires only access to the CPU to continue execution

False

The operating system keeps track of thread-specific information in a thread control block.

True

A primary resource allocation goal in most operating systems is efficient use of hardware and other resources

True

A process is a unit of executing software that is managed independently by the operating system.

True

A process is moved to the blocked state because it directly or indirectly requests a resource that cannot be immediately provided.

True

A process or program that divides itself into multiple threads is said to be multithreaded.

True

A virtual resource is apparent to a process or user, although it may not physically exist.

True

A(n) thread is an executable subunit of a process that is scheduled independently but shares memory and I/O resources with its parent.

True

Application programmers reuse services already present in the service layer so they don't have to rewrite them each time they build an new application.

True

Application software makes calls to the operating system service layer to perform functions such as file manipulation and printer control.

True

In the first come first served (FCFS) scheduling method, thread are dispatched in order of their arrival.

True

In the first come first served (FCFS) scheduling method, threads are dispatched in order of their arrival.

True

Most service calls are indirect requests for resources, while the kernel directly interacts with the hardware

True

No more than one process or thread can execute simultaneously on a single CPU but multiple processes or threads can execute concurrently by taking interleaved turns.

True

On a single processor computer, multitasking is achieved through concurrent execution of processes.

True

Process control blocks are normally organized into a linked or circular list called the process queue or run queue.

True

Real-time scheduling guarantees that a process will receive sufficient resources to complete one program cycle within a stated time interval.

True

The CPU periodically generates a timer interrupt to guarantee the scheduler an opportunity to allocate the CPU to another ready thread.

True

The act of giving control of a CPU to a ready thread is called dispatching.

True

The command layer is the user interface to an operating system.

True

Periodic ____ is required to combine unallocated partitions when contiguous memory allocation is used.

compaction

CPU control is lost whenever a(n) ____ is received and the CPU pushes the current thread onto the stack and transfers control to the operating system.

interrupt

_____ refers to the process that prevents memory allocated to one program from unauthorized use of another program

memory protection

A group of processes descended from a common ancestor, including the common ancestor itself, is called a(n) ____.

process family

Process control blocks are normally organized into a linked list called the ____.

process queue

Dispatching a thread moves it from the ____ state to the ____ state.

ready, running


Related study sets

Chapter 32: Fluid, Electrolytes, and Acid-Base

View Set

Bio 2 UTC mindtap chapter 26 test

View Set

Chapter 7 - Demand Forecasting in a Supply Chain

View Set

Fotosíntesis, Metabolismo, Respiración Celular y fermentación

View Set

FIN - Ch 15 - Foreign Exchange Market

View Set

15 Invaluable Laws of Growth - JCM

View Set

Chapter 2 - Job Order Absorption Costing

View Set

Geography Final (Chapters 6/7/8)

View Set