Short Conecpts Flashcards

(23 cards)

1
Q

Starvation is

A

when a process doesn’t receive CPU in extended periods of time

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

A semaphore is

A

synchronization primitive that supports two methods: wait()
and signal()

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

External fragmentation is

A

memory holes left in the free list after allocation

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

A frame is

A

a unit of allocation for physical memory when using paging

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

Thrashing is

A

IO and page replacement activity that occurs when the WS of
all processes cannot fit in physical memory

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

The working set is

A

pages that the process will need in a given time interval

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

Internal fragmentation is

A

unused memory in allocated memory

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

Thrashing is

A

when the working set of all processes in memory is larger than
the physical memory available

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

A page fault is

A

when a referred page is not loaded into memory

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

The super-block is

A

the part of a file system where we store metadata for the
file system itself

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

A deadlock is

A

two or more processes are waiting indefinitely for an event
that can be caused by only one of the waiting processes

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

A mandatory file lock is

A

access is denied depending on locks held and
requested

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

A range lock is

A

a type of lock used in databases or file systems to control access to a specific range of data, such as a subset of rows in a table or bytes in a file?

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

An advisory file lock is

A

processes can find status of locks and decide
what to do

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

A monitor is

A

A high-level abstraction that provides a convenient and effective
mechanism for process synchronization

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

An Inode is

A

a data structure used in many Unix-like file systems to store metadata about a file or directory?

17
Q

A frame is

A

a fixed-sized block of physical memory used by the operating system’s memory manager?

18
Q

A Virtual address is

A

the address used by a program to access memory, which is translated by the system (usually via the MMU – Memory Management Unit) into a physical address in the actual RAM?

19
Q

A trap is

A

an operating system is a software-generated interrupt that occurs when a user-mode process requests a service from the kernel, or when an error or exception occurs during program execution?

20
Q

A soft or symbolic link is

A

a type of file in Unix-like operating systems that acts as a pointer or shortcut to another file or directory?

21
Q

A hard link is

A

a direct reference to the same data on disk as another file. It creates a second name for a file, and both names point to the same inode (the internal data structure that stores the file’s content and metadata)?

22
Q

A hard drive cylinder is

A

a set of tracks that are vertically aligned across all platters of a hard disk drive?

23
Q

A working set of a process is

A

the set of pages in the virtual memory that a process is currently using or has recently used and is likely to use again soon?