Respuesta :

Answer:

"B" is the answer for the above question.

Explanation:

  • The full form of SJN is the shortest job next algorithm which is working to execute the process if there is more than one process present in the ready queue.
  • This processor takes that process which has the smallest execution time among the process which is present in the ready queue.
  • The above question states the four processes, in which the B process has the smallest execution time. So the B process will be executed first.
  • The above question asked which is executed first. So "B" is the answer.

The B job is run first.

Given data,

  • Job A has CPU cycle of 5.
  • Job B has CPU cycle of 2.
  • Job C has CPU cycle of 6.
  • Job D has CPU cycle of 4.

SJN algorithm stands for shortest job next algorithm. According to the SJN algorithm, the job with the shortest CPU cycle executes first.

As job B has shortest CPU cycle (i.e 2), it will execute first.

Learn more: brainly.com/question/15247828