logo

Crowdly

Browser

Додати до Chrome

IN1011 Operating Systems (PRD2 A 2024/25)

Шукаєте відповіді та рішення тестів для IN1011 Operating Systems (PRD2 A 2024/25)? Перегляньте нашу велику колекцію перевірених відповідей для IN1011 Operating Systems (PRD2 A 2024/25) в moodle4.city.ac.uk.

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

Password of the day:

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

A LINUX program uses POSIX-compliant API methods (i.e. pthread_create, pthread_join, etc.) to create and synchronise 14 threads. How many PCBs does the OS need, to manage these threads' executions? 

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

Using the information in the table below, what is the parent process ID for the process that printed this table to the Linux shell?

A table of Linux process information

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

Under the 5-state process model, processes with IDs 3, 7, 15, 20 and 24 are executing on a system. They arrived in the ready queue in the order they are listed, starting with process 3. The processes do not fail and do not make I/O requests. The short-term scheduler uses the following preemptive priority scheduling algorithm (processes with larger priority numbers have higher priority):

- the process with the highest priority runs on the CPU (FCFS is used, in case of a tie);

- a process has priority 0 when it first enters the ready queue;

- the priorities of all processes in the ready queue continuously decrease at the same rate;

- the priority of the process running on the CPU also continuously decreases, but more slowly than the priorities for processes in the ready queue.

Based only on this information, what is the order in which the processes finish executing?

0%
0%
0%
0%
0%
Переглянути це питання
Assume the 5 state process model. Suppose 13 processes have been admitted from the "new" state and are all executing on a system with a single CPU, where 9 of these processes make I/O requests. Assume that at any given time, one of these processes is assigned to the CPU. Based only on this information, before any of these processes terminate, what is the minimum number of processes that can be in the:

1) ready state;

2) blocked state?

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

Suppose 20-bit instructions are copied to a CPU's instruction register, and suppose that each instruction dedicates the first 6 bits for the "opcode", with the remaining bits for specifying a memory location. What is the total number of possible memory locations that could be referenced by these instructions?

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

A number is represented as 14 (in base x) and 110 (in base y). You are told x minus y equals 5. What is x

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

A hypothetical CPU executes instructions formatted in binary. The opcode in these instructions can be represented by 2 octal digits (i.e., each digit is in base 8). Which of the following options is a valid opcode format in binary that the CPU expects?

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

An instruction for a hypothetical CPU is 1940 in hexadecimal. The "19" is the opcode. How many bits are used to represent the opcode in this architecture? Give your answer in bytes.

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

Хочете миттєвий доступ до всіх перевірених відповідей на moodle4.city.ac.uk?

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

Browser

Додати до Chrome