Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2015 Dec – III | Question 16

View Discussion
Improve Article
Save Article
  • Last Updated : 11 Jun, 2018
View Discussion
Improve Article
Save Article

In Activity – Selection problem, each activity i has a start time si and a finish time fi where si ≤ fi. Activities i and j are compatible if:

(A) si ≥ fj
(B) sj ≥ fi
(C) si ≥ fj or sj ≥ fi
(D) si ≥ fj and sj ≥ fi or


Answer: (C)

Explanation: Two activities are compatible if their starting time and finish time does not overlap i.e. their execution must not overlap and starting time of one process must be greater then or equal to second process.
i.e. si ≥ fj or sj ≥ fi.
So, option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!