slides02 Flashcards

1
Q

3 ways of allowing users to interact with machine

A
  1. command-line interfaces - most fault tolerant
  2. graphical user interfaces
  3. touch screen interfaces
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

system calls

A
  • provides an interface to services made available by OS
  • computer makes a system call when it makes a request to the OS’ kernel
  • mode switch from user mode to kernel mode
  • downside: slows down program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

OS architectures (3)

A
  1. layered approach
  2. monolithic structure
  3. microkernel OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

layered approach

A
  • layer i only depends on layer i-1 or below
  • hard to organize OS like this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

monolithic structure

A
  • no structure
  • all functionality thrown into kernel
  • user+ kernel in same address space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

microkernel OS

A
  • only basic functions offered by kernel - rest is in user mode
  • kernel and user services in different address spaces (isolated)
  • isolation: fault tolerant + intercommunication is expensive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

monolithic kernel vs microkernel

A
  • file system always running in a monolithic kernel
  • not the case for microkernels - not all components of file system are needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

linux system structure

A
  • applications interact with the kernel through standard C library
  • kernel is monolithic structure in a single address space
  • kernel split into modules for dynamic loading
  • no message passing btwn modules - they all talk to the core
  • core has important functions like CPU scheduling and memory management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly