Operating Systems Flashcards

1
Q

Middleware

A

Software that acts as a bridge between an operating system or database and applications , especially on a network

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

Operating System

A

it’s basically the piece of system software that manages computer hardware and the rest of the software

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

Stack

A

a stack,which stores local variables
A stack frame is created/pushed whenever a function is called
A stack frame is deleted/popped whenever a function returns .

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

Heap

A

A heap , for dynamically allocated memory(typically handled by libc)
one can request memory for an object(contiguous chunk of bytes )

one should declare when an object is not in use anymore ,so memory can be reclaimed

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

Threads

A

“Threads are independent units of computation (sequences of instructions, plus some small context) that can be scheduled for execution on a CPU.
The scheduler is part of the operating system.
Threads are created within a process, and share the same process address space (i.e. two threads could modify the same variable in a process).”

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

Why are threads needed?

A

-to enhance parralel processing
-to increase response to the user
-to utilise the idle time of the cpu

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