logo

Crowdly

Browser

Add to Chrome

Operating systems (MESIIN477625)

Looking for Operating systems (MESIIN477625) test answers and solutions? Browse our comprehensive collection of verified answers for Operating systems (MESIIN477625) at learning.devinci.fr.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Read

the following C program and answer the questions :

1 - After calling this program, how many processes exist?

2 - What distinguishes the parent

from the child?

3 - What is the purpose of the wait() system call in

a parent process?

4 - After execv("/bin/date", args), what

happens to the child’s original code?

5 - If /bin/date does not exist, what will happen?

View this question

From where does the CPU get the address of the

next instruction of a program to execute it?

2%
2%
96%
View this question

You

are given the following processes:

Process

Arrival time

Burst time

Priority

 P1

 0 ms

 4 ms

 2

 P2

 1 ms

 3 ms

 1

 P3

 2 ms

 5 ms

 3

 P4

 3 ms

 2 ms

 2

 P5

 6 ms

 3 ms

 1

For each of these scheduling algorithms:

- Priority Scheduling (preemptive + FIFO in case of similar priorities)

- Round Robin (quantum = 3 ms)

Write the execution order of processes as a sequence of time intervals.

Example format: FIFO: P1(0–8), P2(8–12), P3(12–21), ...

Note: We assume that low numbers represent high priority (P3 has the lowest priority here).

For each algorithm, compute the average waiting time. Which scheduling algorithm minimizes waiting time?

View this question

In a university library system, 5 students can read a numeric book at the same time, but only one librarian can update the catalog

at a time.

Which synchronization mechanism applies to each resource?

91%
0%
0%
9%
View this question

Given the following ARM assembly code, what is

the final value of register r2?  

Hint :

o cmp compare two

values by subtracting the second operand from the first.

o bne means branch

if not equal.

0%
0%
0%
100%
0%
View this question

Given the following ARM assembly code, what is

the final value of register r2?  

Hint :

o cmp compare two

values by subtracting the second operand from the first.

o bne means branch

if not equal.

0%
0%
0%
100%
0%
View this question

In many applications, developers can choose between creating threads or spawning new processes to achieve concurrency.

1 - Explain the key differences between threads and processes in terms of memory usage, communication, and overhead.

2 - Why is creating threads often considered preferable to creating new processes?

View this question

Read

the following C program and answer the questions :

1 - After calling this program, how many processes exist?

2 - What distinguishes the parent

from the child?

3 - What is the purpose of the wait() system call in

a parent process?

4 - After execv("/bin/date", args), what

happens to the child’s original code?

5 - If /bin/date does not exist, what will happen?

View this question

What are these processes states ? (Running, Ready or Blocked)

View this question

Which of the following statements about file allocation

methods is correct?

0%
2%
0%
98%
View this question

Want instant access to all verified answers on learning.devinci.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome