Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Non-Preemptive CPU Scheduling Techniques

Process Arrival Time Burst Time Priority Level
A 0 4 3
B 1 9 4
C 2 2 2
D 3 5 1

What is the correct sequence of the process when served by the CPU?

ACDB

ADBC

ABCD

ACBD

  
  
Posted one year ago
Votes Newest

Answers


ChatGPT:
It depends on the scheduling algorithm used. Based on the information provided, it is not possible to determine the correct sequence of the process when served by the CPU.

If the scheduling algorithm is based on "Priority Scheduling" the correct sequence would be:
D -> C -> B -> A ( as we have to serve the process with the highest priority first)

If the scheduling algorithm is based on "First Come First Serve" the correct sequence would be:
A -> B -> C -> D ( as we have to serve the process that came first)

If the scheduling algorithm is based on "Shortest Job First" the correct sequence would be:
C -> A -> D -> B ( as we have to serve the process with the least burst time first)

  
  
Posted one year ago
Rish
430 × 6 Administrator
784 Views
1 Answer
one year ago
one year ago