logo

Crowdly

Browser

Додати до Chrome

Operating systems (MESIIN477625)

Шукаєте відповіді та рішення тестів для Operating systems (MESIIN477625)? Перегляньте нашу велику колекцію перевірених відповідей для Operating systems (MESIIN477625) в learning.devinci.fr.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

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?

Переглянути це питання

From where does the CPU get the address of the

next instruction of a program to execute it?

2%
2%
96%
Переглянути це питання

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?

Переглянути це питання

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%
Переглянути це питання

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%
Переглянути це питання

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%
Переглянути це питання

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?

Переглянути це питання

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?

Переглянути це питання

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

Переглянути це питання

Which of the following statements about file allocation

methods is correct?

0%
2%
0%
98%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на learning.devinci.fr?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome