Chapter 2 System Structures Flashcards

1
Q

What is Resource Allocation

A

When multiple users or multiple jobs running concurrently, resources must be allocated to each of them.

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

What’s some advantages of higher-level languages?

A

Code can be written faster, easier to understand and modify, improved complier technology, easier to port (to move to some other hardware platform)

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

What are some disadvantages of higher-level languages in OS?

A

Reduced speed and higher storage requirements.

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

Why is it a better to use APIs rather than system calls?

A

To ensure portability and hide some of the details of the system call from the application programmer.

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

What are the three most common API’s

A

Win32 API , POSIX API, Java API

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

What’s the purpose of System Programs?

A

Can be thought of as bundles of useful system calls. They provide basic functionality to users to they don’t have to write their own programs to solve common problems

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

What’s the main advantage of the layered approach?

A

The system is easier to debug and modify since changes affect only limited sections of the system opposed to touching all sections of the operating system. Another advantage is the simplicity of it’s construction.

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

What’s the purpose of the command interpreter?

A

It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls.

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

Why is the command interpreter separate from the kernel?

A

It’s usually not apart of the kernel because the command interpreter is subject to changes.

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

What are the three major activities of an operating system with regard to secondary storage management?

A

Free-space management, storage allocation, disk scheduling

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

What are the three major activities of an operating system with regard to memory management?

A

Keep track of which parts of memory are currently being used and by whom, decide which processes are to be loaded into memory when memory space becomes available, allocate and deallocate memory space as needed.

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

What is the purpose of system calls?

A

System calls allow user-level processes to request services of the operating system.

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

What are some problems with the layered approach?

A

Appropriately defining the various layers, less efficient than other types.

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

How does Solaris pass parameters?

A

Parameters stored in a block, or table in memory and address of block passed as a parameter in a register.

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

What language is MS DOS written in?

A

Assembly for intel 8088, Linux in C

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

What are the seven types of loadable kernel modules in a Solaris operating system structure.

A

Scheduling classes, file systems, loadable system calls, executable formats, STEAMS modules, miscellaneous, Device and bus drivers

17
Q

List two services of the file manager.

A

organizes files by importance and locates files.

18
Q

What are the three approaches used to pass parameters for system calls?

A

registers, stacks, addresses

19
Q

How are system calls implemented and why are they implemented in that manner?

A

They are implemented through the use of API’s and implemented this way because it allows for more portability, compatibility, and easier modification. Flexibility is also important as it prevents overhead.

20
Q

In the microkernel structuring, what functionality remains in the kernel?

A

Memory and Cpu management/functionality

21
Q

How are the modular and layered approach similar?

A

They both utilize object oriented functions, easy to understand and modify.

22
Q

Why is MAC OS X considered a hybrid environment?

A

It uses multiple Os environments