operating systems Flashcards

1
Q

what is the onion model?

A

the onion model describes each part of the computers operating system. the system is split into sections to make it easier to understand.

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

what is hardware?

A

central processing unit
memory
storage

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

what is kernel

A

controls the hardware directly
provides resources and services to applications
manages access to privileged reources

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

what is applications?

A

programs to do something for the user

services are programs that run behind the scenes

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

what is the shell?

A

also known as the command line interface

a programs that makes a set of commands available to the user

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

what is UNIX?

A

an operating system which has been used continuously since 1969. it is efficient, stable and relatively secure.

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

what is a file system?

A

part of the operating system that manages data.

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

theory of trees?

A

a tree is a collection of nodes along a relation (parenthood)

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

what are tracks?

A

concentric rings on the platter

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

what are heads?

A

reads data from a platter

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

what are cylinders?

A

collection of all tracks on platters

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

what are sectors?

A

part of a track of data

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

what is a partition?

A

subdivision of a disk

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

what is a block?

A

the operating system views all disk space as an array of fixed size logical blocks

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

what are the file allocation methods?

A

contiguous, chained and indexed

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

let n be the number of blocks in a file. to find a particular block it takes how many disk accesses?

A

contiguous: O(1) about 1
chained: O(n) roughly n blocks
indexed: O(logk(n)) blocks