Quiz 2 Flashcards

1
Q

a message passing model is: easier to implement than shared memory model for intercomputer communication, only useful for small simple operating systems, a network protocol and does not apply to operating systems, is faster than the shared memory model

A

only useful for small simple operating systems

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

the major difficulty in designing a layered operating system approach is

A

appropriately defining the various layers

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

a microkernel is a kernel

A

that is stripped of all nonessential components

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

which is not an example of a benefit of virtual machines: ability to concurrently run several different operating systems, ability to run several different operating systems that all share the same hardware, protects the host system from guest operating system, uses less physical memory than an actual operating system

A

uses less physical memory than an actual operating system

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

what are techniques for passing parameters from an application to a system call

A

stack, registers, special blocks in memory (NOT cache memory)

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

what provides an interface to the services provided by an operating system

A

system calls

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

a spinlock

A

does not require a context switch when a process must wait on a lock

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

when a process creates a new process using the fork() operation what states is shared between parent process and the child process if possible?

A

shared memory segments

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