Kernel & User Space Flashcards

1
Q

How many modes Does a computer has and name them.

A

User Mode

Kernel Mode

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

User Mode

A

Applications Run in user mode. This run in private virtual address space. Each application has its own space and if it crashes only that application crashes.

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

Kernel Mode

A

System components run in kernel mode. All code that run in kernel model shares a single virtual address space.

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

Draw the separation of User mode and kernel mode.

A

Application API ||| Drivers Hardware.

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

What are the standard run levels and their #..

A

0 – shutdown

1 – Run single mode

6 – reboot

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

How many linux run levels are there? and name them.

A

0 - System halt. The system could be shut down

1 - Single User Mode

2 - Multiple user mode with no NFS

3 - Multiple user mode under the command line interface and no under GUI

4 - user definable

5 - Multiple user mode under guidelines and this is the stand run level for most of the linux based systems.

6 - Reboot which is used to restart the system

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