Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Define what a 'greedy algorithm' is.
Think about how it relates to local choices.
What is 'lateness' in job scheduling?
Consider how this relates to deadlines.
What is the primary goal of minimizing lateness in job scheduling?
Consider what it means to arrive before deadlines.
True or False: The shortest job first strategy is guaranteed to minimize lateness.
Think of how choices impact overall outcomes.
Consider three jobs: Job A (3 hours, deadline 9), Job B (5 hours, deadline 5), and Job C (2 hours, deadline 7). Arrange them using the deadline-first approach and calculate the maximum lateness.
Pay attention to how each job’s completion time relates to its deadline.
Create a counterexample where the slack-first strategy leads to higher lateness than the deadline-first method.
Analyze job lengths and deadlines closely.
4 more questions in this section. Enroll free to practise them all.
Enroll free