0% found this document useful (0 votes)
18 views2 pages

Chapter 8

The document discusses operating systems and their key services like program creation, execution, I/O device access, file access control, system access control, error detection and accounting. It also defines major OS scheduling types like long-term, mid-term, short-term and I/O scheduling. The difference between a process and a program is explained along with the purpose of swapping and translation lookaside buffers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

Chapter 8

The document discusses operating systems and their key services like program creation, execution, I/O device access, file access control, system access control, error detection and accounting. It also defines major OS scheduling types like long-term, mid-term, short-term and I/O scheduling. The difference between a process and a program is explained along with the purpose of swapping and translation lookaside buffers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Chapter 8

What is an operating system?

is a program that controls execution of application programs and acts as an interface between
applications and computer hardware.

List and briefly define the key services provided by an OS.

Program creation. - provides tools e.g. editors, debuggers, IDEs.

Program execution.

Access to I/O devices.

Controlled access to files.

System access. - protection of resources and data from unauthorized users. Resolves conflicts for
resource contention.

Error detection and response.

Accounting - collects usage statistics for various resources and monitors performance parameters e.g.
response time

8.3 List and briefly define the major types of OS scheduling.

Long-term scheduling

Mid-term scheduling

Short-term scheduling

I/O scheduling

What is the difference between a process and a program?

Process is more specific than job.

Is the entity to which a processor is assigned.

Is any running program with its own address space.

A program is an application

Job - Any program interactively started that does not detach

What is the purpose of swapping?

keep memory free for processes that are running at the moment. Allows temporary removing processes
not in ready state to replace with processes in ready state
If a process may be dynamically assigned to different locations in main memory, what

is the implication for the addressing mechanism?

must keep track of the physical addresses of the process as well as logical addresses used for swapping
out the process

What is the purpose of a translation lookaside buffer?

special cache for page table entries to cut down on memory access time, to cut down on physical
memory access. translation of virtual memory to physical memory

You might also like