Exam Flashcards

1
Q

Advantage of threads compared to forking separate processes

A

.

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

Strace command Linux

A

.

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

Kill command Linux

A

.

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

Explain purpose of the test_and_set of compare_and_swap processor instructions using an example

A

.

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

Explain deadlock using an example. Describe requirements for a deadlock to occur

A

.

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

Difference between hard and soft links

A

.

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

Purpose of translation lockaside buffer in paging, what would be impact on importance if not used.

A

.

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

Using a 32 bit or 64 bit virtual address as an example, describe implications of using small versus large frame/page size. What might be negative impacts of using it

A

.

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

What is a system call. Name and describe one

A

.

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

Size and pstree Linux command.l

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

Difference between preemptive and non-preemptive schedueling. Describe one preemptive schedueling algorithm and use an example

A

.

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

What is processor affinity. Give one benefit

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

Two different ways inter process communication can be achieved in Linux

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

A semaphore is a type of synchronisation primative. Explain the wait() and signal() operations of semaphores. Explain how counting semaphore differs from binary semaphore

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

Is this true or false. Swapping/ a backing store must be enabled for paging to work

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

Using an example explain the benefit of acrylic graph directory structures

A