OS, context switch, buffer, CPU scheduler Flashcards

1
Q

What is an Operating System (OS)?

A

A piece of software that makes it easier to create and run apps

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

The OS manages what?

A

Manages a system’s hardware and software resources

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

The OS provides what?

A

Provides a User Interface

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

The OS does two things with common tasks:

A

Simplifies and unifies common tasks

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

Desktop OS

A

Multi-user, UI, and user focused

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

Server OS

A

Services, 24/7, and not intended for users directly.

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

Mobile OS

A

1 user, small screen, and battery focused.

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

Real-time OS

A

Embedded, Event driven, and no keyboard/mouse/screen

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

Context switch

A

When a process that is executing is switched out for another.

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

When does Context switch occur in a CPU?

A

When a process is blocked, or to give another process some time to work

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

Buffer Overflow attack

A

The CPU can’t distinguish data and instructions. The CPU fetches and treats data as an instruction.

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

CPU scheduler

A

Controls time sharing in the CPU, and handles time slicing, process execution and prioritisation.

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