Intro Flashcards

1
Q

What are the three Linux?

A

Linux kernel
Linux OS
various Linux distributions

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

What is an operating system?

A

It’s the kernel with a bunch of programs that you need to get anything done.

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

What are some programs included with an operating system?

A

a shell, a program to copy files, a program to delete files, etc.

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

What company owns Unix?

A

At&T Bell Labs

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

Who wrote Linux?

A

Linus Torvalds and a loosely knit team of volunteers.

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

How is Linux Licensed?

A

Linus has placed the Linux kernel under the GNU General Public License, which basically means that you may freely copy, change, and distribute it, but you may not impose any restriction on further distribution, and you must make the source code available.

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

A ______ or ______ is a classification (or grouping) of a component according to where that component sits between the user and the hardware.

A

layer

level

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

The kernel is software _______.

A

residing in memory that tells the CPU what to do

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

The kernel manages the hardware and acts primarily as an ____

A

interface between the hardware and any running program.

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

Processes–________________–collectively make up the system’s upper level, called user space.

A

the running programs that the kernel manages

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

A more specific term for process is _____, regardless of whether a ___ directly interacts with the process. For example, all web servers run as _________.

A

user process
user
user processes

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

Give three examples of user processes.

A

Graphical User Interface
Servers
Shell

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

Give four examples of processes controlled by the Linux Kernel.

A

System Calls
Process Management
Memory Management
Device Drivers

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

Give four examples of hardware.

A

Processor (CPU)
Main Memory (RAM)
Disks
Network Ports

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

The area that only the kernel can access is called ________.

A

kernel space

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

Of all the hardware on a computer system, _____ is perhaps the most important.

A

main memory

17
Q

In its most raw form, main memory is just a big storage area for a bunch of ______.

A

0s and 1s.

18
Q

Each 0 or 1 is called a ____.

A

bit

19
Q

Strictly speaking, a ____ is a particular arrangement of bits.

A

state

20
Q

What is a state?

A

A particular arrangement of bits.

21
Q

Because it’s common to refer to the state in abstract terms rather than to the actual bits, the term ____ refers to a particular physical arrangement of bits.

A

image

22
Q

The kernel is responsible for determining which processes ______

A

are allowed to use the CPU.

23
Q

The kernel needs to keep track of all memory. What three things does this mean?

A

What is currenlty allocated to a particular process
What might be shared between processes
What is free

24
Q

Processes normally use _____ to communicate with the kernel.

A

system calls

25
Q

Process management describes what four actions?

A

starting
pausing
resuming
terminating

26
Q

The act of one process giving up control of the CPU to another process is called a _______.

A

context switch

27
Q

What is a context switch?

A

The act of one process giving up control of the CPU to another process.