Chapter 2 - Operating System Structures Flashcards

1
Q

What does an operating system provide?

A

An operating system provides an environment for the execution of programs by providing services to users and programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three primary approaches for interacting with an operating system?

A
  1. command interpreters
  2. graphical user interface
  3. touchscreen
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do system calls provide?

A

System calls provide an interface to the services made available by an operating system. Programmers use a system call’s application programming interface (API) for accessing system-call services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the six major categories of system calls?

A
  1. process control
  2. file management
  3. device management
  4. information maintenance
  5. communications
  6. protection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What provides the system-call interface for UNIX and LINUX systems?

A

The standard C library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does a linker do?

A

A linker combines several relocatable object modules into a single binary executable file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does a loader do?

A

A loader loads the executable file into memory, where it becomes eligible to run on an available CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List some reasons why applications are operating-system specific.

A

There are several reasons why applications are operating-system specific. These include different binary formats for program executables, different instruction sets for different CPUs, and system calls that vary from one operating system to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a monolithic operating system?

A

A monolithic operating system has no structure; all functionality is provided in a single, static binary file that runs in a single address space. Although such systems are difficult to modify, their primary benefit is efficiency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is a layered operating system divided?

A

A layered operating system is divided into a number of discrete layers, where the bottom layer is the hardware interface and the highest layer is the user interface. Although layered software systems have had some success, this approach is generally not ideal for designing operating systems due to performance problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a boot loader do?

A

A boot loader loads an operating system into memory, performs initialization, and begins system execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can the performance of an operating system be monitored?

A

The performance of an operating system can be monitored using either counters or tracing. Counters are a collection of system-wide or per process statistics, while tracing follows the execution of a program through the operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly