Scheduling - Intermediate Level: schedule logic INTERMEDIATE

Master scheduling concepts through this excellence pursuit practice set. Worksheet 16 of 30 contains 20 intermediate-level problems. Deep dive into schedule logic while learning time allocation, day scheduling, timetable puzzles. Recommended for mid-level learners aiming for moderate complexity with mixed patterns.

๐Ÿ“ Worksheet 16 of 30 โ€ข 20 questions โ€ข โฑ๏ธ Estimated time: 20 minutes โ€ข ๐ŸŽฏ Intermediate level

What you'll learn in this worksheet:
Your progress through Scheduling
Worksheet 16 of 30 (53% complete)

Question 1

A project involves two events, Event A (Meeting) and Event B (Training). The constraints are: - **Event A:** Duration 90 minutes. Must start between 9:00 AM and 11:00 AM. - **Event B:** Duration 60 minutes. Must finish by 3:00 PM. - **Gap:** A minimum of 2 hours is required between the end of Event A and the start of Event B. Assuming all constraints must be met, what is the earliest possible start time for Event B?
Step-by-step solution (Time Arithmetic):

1. Goal: To find the earliest start time for Event B, we must use the earliest possible schedule for Event A.
2. Calculate Earliest Finish Time for Event A:
- Earliest Start for A: 9:00 AM
- Duration of A: 90 minutes (1 hour 30 minutes)
- Earliest Finish for A: 9:00 AM + 1 hour 30 minutes = 10:30 AM.
3. Apply Minimum Gap:
- Earliest Start for B = (Earliest Finish A) + (Minimum Gap)
- Minimum Gap: 2 hours (120 minutes)
- Earliest Start for B: 10:30 AM + 2 hours = 12:30 PM.
4. Check Deadline for Event B:
- If B starts at 12:30 PM, its finish time is 12:30 PM + 60 minutes = 1:30 PM.
- The latest finish time for B is 3:00 PM. Since 1:30 PM is before 3:00 PM, the schedule is valid.
Answer: The earliest possible start time for Event B is 12:30 PM.
Key Strategy: To find the minimum time for the second event, use the minimum time for the first event, plus the mandatory gap.

Question 2

A manager has 4 tasks to complete over 8 working hours. The task details are: - Report: Priority High, Duration 3 hours, Deadline 5 hours - Email: Priority Low, Duration 1 hours, Deadline 6 hours - Presentation: Priority High, Duration 2 hours, Deadline 4 hours - Analysis: Priority Medium, Duration 2 hours, Deadline 7 hours If tasks are scheduled based on priority first and deadline second, which task should be completed first?
Step-by-step solution:

Priority-Deadline Scheduling Algorithm:
1. Assign priority weights:
- High = 3, Medium = 2, Low = 1

2. Create priority-deadline table:
Task | Priority | Deadline | Duration
--------------|----------|----------|----------
Report | High | 5 | 3
Email | Low | 6 | 1
Presentation | High | 4 | 2
Analysis | Medium | 7 | 2

3. Sorting criteria:
- Primary: Highest priority first
- Secondary: Earliest deadline (if priority is same)

4. Sorted order:
1. Presentation (Priority: High, Deadline: 4)
2. Report (Priority: High, Deadline: 5)
3. Analysis (Priority: Medium, Deadline: 7)
4. Email (Priority: Low, Deadline: 6)

Answer: Presentation should be completed first

Key Strategy: Sort by priority first (descending), then by deadline (ascending) for tasks with equal priority.

Question 3

A delivery company has vehicles with capacity 11 units. Customer demands: - C1: 5 units - C2: 7 units - C3: 3 units - C4: 5 units What is the minimum number of vehicles needed to serve all customers?
Step-by-step solution:

1. Total demand: 20
2. Vehicle capacity: 11
3. Minimum vehicles: โŒˆ20 รท 11โŒ‰ = 2

Answer: 2 vehicles

Question 4

A factory has 3 production lines: Line 1, Line 2, Line 3. Three products require the following operations: **Product X:** - Cut: 30 min on Line 1 - Assemble: 45 min on Line 1 - Package: 15 min on Line 1 **Product Y:** - Cut: 20 min on Line 1 - Assemble: 60 min on Line 3 - Package: 20 min on Line 2 **Product Z:** - Cut: 40 min on Line 3 - Assemble: 30 min on Line 3 - Package: 25 min on Line 1 All products must be completed (all 3 operations each). Multiple operations can run in parallel on different lines. Which production line is the bottleneck, and what is its total load (in minutes)?
Step-by-step solution (Bottleneck Analysis):

1. Calculate total load per production line:
- Line 1: 135 minutes
- Line 2: 20 minutes
- Line 3: 130 minutes

2. Identify bottleneck: The line with maximum load = Line 1
3. Bottleneck load: 135 minutes

Answer: Line 1 (135 minutes)

Key Strategy: The bottleneck determines maximum throughput; optimize the bottleneck first for overall efficiency.

Question 5

A hospital ward has 15 patients. Each nurse can handle at most 5 patients. What is the minimum number of nurses required?
Step-by-step solution:

1. Patients: 15
2. Capacity per nurse: 5
3. Minimum nurses: โŒˆ15 รท 5โŒ‰ = 3

Answer: 3 nurses

Question 6

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 3, Period 30 - Task B: Execution 2, Period 10 - Task C: Execution 2, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 3/30 = 0.100
- Task B: 2/10 = 0.200
- Task C: 2/50 = 0.040
Total U = 0.340
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.340 โ‰ค 0.780 (RM bound)

Answer: Schedulable

Question 7

Four tasks (Task 4, Task 3, Task 2, Task 1) must be scheduled with these constraints: 1. Task 4 must be before Task 3 2. Task 3 must be before Task 2 3. Task 4 must be before Task 2 4. Task 1 must be after Task 2 Which constraint is REDUNDANT (does not add new information beyond the others)?
Step-by-step solution (Redundancy Detection):

1. List all constraints:
1. Task 4 must be before Task 3
2. Task 3 must be before Task 2
3. Task 4 must be before Task 2
4. Task 1 must be after Task 2

2. Check for transitive relationships:
- From Constraint 1: Task 4 before Task 3
- From Constraint 2: Task 3 before Task 2
- By transitivity: Task 4 before Task 2
- This makes Constraint 3 unnecessary (redundant)

3. Verify other constraints are independent:
- Constraint 4 (Task 1 after Task 2) adds unique information

Answer: Constraint 3 is redundant

Key Strategy: Look for transitive relationships (Aโ†’B, Bโ†’C implies Aโ†’C).

Question 8

Arrange the following activities in chronological order: Evening Walk, Office Work, Morning Yoga, Breakfast
Step-by-step solution:

Timeline Approach:
1. Convert all times to 24-hour format for easy comparison
- Evening Walk: 6:00 PM
- Office Work: 9:00 AM
- Morning Yoga: 6:00 AM
- Breakfast: 7:30 AM

2. Arrange in chronological order:
1. Morning Yoga at 6:00 AM
2. Evening Walk at 6:00 PM
3. Breakfast at 7:30 AM
4. Office Work at 9:00 AM

Final Schedule: Morning Yoga -> Evening Walk -> Breakfast -> Office Work

Key Strategy: Convert all times to 24-hour format and arrange from earliest to latest.

Question 9

**Data Sufficiency Question** Five friends A, B, C, D, E are standing in a queue. **Question:** Who is standing at the front of the queue? **Statement (1):** A is standing immediately before C. **Statement (2):** There are exactly two people between B and E. **Options:** A. Statement (1) ALONE is sufficient, but statement (2) alone is NOT sufficient B. Statement (2) ALONE is sufficient, but statement (1) alone is NOT sufficient C. BOTH statements TOGETHER are sufficient, but NEITHER alone is sufficient D. EACH statement ALONE is sufficient E. Statements (1) and (2) TOGETHER are NOT sufficient
Data Sufficiency Reasoning:

Step 1 - Analyze Statement (1) alone: A is standing immediately before C.
This gives partial information but not enough to determine the answer uniquely.

Step 2 - Analyze Statement (2) alone: There are exactly two people between B and E.
This also gives partial information insufficient by itself.

Step 3 - Combine statements:
Together, they provide enough constraints to solve uniquely.

Conclusion: Both statements together are sufficient but neither alone is sufficient.

Key Strategy: Test each statement independently first, then combine only if neither alone works.

Question 10

An event runs for 6 hours. Staff needed per hour: - Hour 1: 3 - Hour 2: 3 - Hour 3: 3 - Hour 4: 6 (PEAK) - Hour 5: 4 - Hour 6: 5 What is the minimum number of staff needed if staff can work multiple consecutive hours?
Step-by-step solution:

1. Identify peak demand: 6 staff at hour 4
2. Staff can work multiple hours โ†’ schedule around peak
3. Minimum staff needed: 6

Answer: 6 staff

Question 11

Four employees need to be scheduled for three shifts over three days. The constraints are: - Each employee works exactly one shift per day - No employee works the same shift two days in a row - Alice works Morning shift on Monday - Bob cannot work Night shift - Charlie works Evening shift on Tuesday Who works the Evening shift on Wednesday?
Step-by-step solution:

Table Method with Constraint Elimination:
1. Create a 3D table: Days x Shifts x Employees

2. Apply direct constraints:
- Monday Morning: Alice (fixed)
- Tuesday Evening: Charlie (fixed)
- Bob: Never Night shift (all days)

3. Apply rotation constraint:
- Alice (Morning Mon) cannot be Morning Tue
- Charlie (Evening Tue) cannot be Evening Wed

4. Fill Monday:
- Morning: Alice
- Evening: Charlie (can work evening)
- Night: Diana (Bob can't do night)

5. Fill Tuesday:
- Morning: Bob (Alice can't repeat, Charlie is evening)
- Evening: Charlie (fixed)
- Night: Diana (Bob can't)

6. Fill Wednesday:
- Charlie can't be Evening (was Evening Tue)
- Alice can be Evening (was Morning Mon, okay to shift)
- Answer: Alice works Evening on Wednesday

Key Strategy: Apply fixed constraints first, then use rotation rules to eliminate impossible assignments systematically.

Question 12

A job shop has 3 machines. Jobs and their routes: - Job A: M1 โ†’ M2 โ†’ M3 with times 30, 19, 12 - Job B: M2 โ†’ M1 โ†’ M3 with times 27, 23, 21 - Job C: M3 โ†’ M2 โ†’ M1 with times 15, 24, 10 What is a lower bound on the minimum makespan?
Step-by-step solution:

1. Machine load bound: 70
2. Job processing bound: 71
3. Lower bound: 71

Answer: 71

Question 13

Four tasks (Task 1, Task 2, Task 3, Task 4) must be scheduled with these constraints: 1. Task 1 must be before Task 2 2. Task 2 must be before Task 3 3. Task 1 must be before Task 3 4. Task 4 must be after Task 3 Which constraint is REDUNDANT (does not add new information beyond the others)?
Step-by-step solution (Redundancy Detection):

1. List all constraints:
1. Task 1 must be before Task 2
2. Task 2 must be before Task 3
3. Task 1 must be before Task 3
4. Task 4 must be after Task 3

2. Check for transitive relationships:
- From Constraint 1: Task 1 before Task 2
- From Constraint 2: Task 2 before Task 3
- By transitivity: Task 1 before Task 3
- This makes Constraint 3 unnecessary (redundant)

3. Verify other constraints are independent:
- Constraint 4 (Task 4 after Task 3) adds unique information

Answer: Constraint 3 is redundant

Key Strategy: Look for transitive relationships (Aโ†’B, Bโ†’C implies Aโ†’C).

Question 14

A flow shop has 2 machines (M1 โ†’ M2). Jobs and processing times (M1, M2): - Job A: (39, 15) - Job B: (16, 35) - Job C: (45, 46) - Job D: (13, 41) - Job E: (16, 32) - Job F: (20, 18) Using Johnson's Rule, what is the minimum makespan?
Step-by-step solution (Johnson's Rule):

1. Apply Johnson's Rule:
- If M1 time < M2 time, schedule early
- If M2 time < M1 time, schedule late
2. Optimal sequence: Job F โ†’ Job A โ†’ Job D โ†’ Job B โ†’ Job E โ†’ Job C
3. Calculate makespan: 228

Answer: 228

Question 15

A bus route takes 46 minutes one-way. Peak frequency: 1 bus every 12 minutes. What is the minimum number of buses needed to maintain this frequency in both directions?
Step-by-step solution:

1. Round trip time: 46 ร— 2 = 92 minutes
2. Headway: 12 minutes
3. Buses needed: โŒˆ92 รท 12โŒ‰ = 8

Answer: 8 buses

Question 16

Eight people attend seminars in four different months (January, March, May, July) on two dates (5th and 15th). Two people attend per month. The constraints are: - V attends in March - Q attends on the 15th - Exactly two people attend between S and R - P attends in the same month as T In which month does S attend?
Step-by-step solution:

Timeline Grid Method:
1. Create month-date grid:
Jan 5 | Jan 15 | Mar 5 | Mar 15 | May 5 | May 15 | Jul 5 | Jul 15

2. Apply constraints:
- V in March (Mar 5 or Mar 15)
- Q on 15th (any month, date 15)
- Two people between S and R
(If S at position 1, R at position 4)
- P and T in same month

3. Systematic placement:
- Place V at Mar 5 (satisfies March constraint)
- Place Q at Mar 15 (satisfies 15th constraint)
- For 'two between' constraint: If S at Jan 5, R at Mar 15
- P and T together: May 5 & May 15

4. Verification:
All constraints satisfied with S in March

Key Strategy: Use grid to visualize all slots, apply direct constraints first, then deduce positions using gap constraints.

Question 17

Five patients need appointments. Their preferences are: - Patient A: Dr. Patel at 10:00 AM - Patient B: Dr. Kumar at 10:00 AM - Patient C: Dr. Patel at 10:30 AM - Patient D: Dr. Shah at 10:00 AM - Patient E: Dr. Patel at 11:00 AM Each doctor can see one patient per 30-minute slot. If all preferences are honored, how many patients need to be rescheduled?
Step-by-step solution:

Conflict Detection Method:
1. Create doctor-time matrix:
Doctor | 10:00 | 10:30 | 11:00 | 11:30
------------|-------|-------|-------|-------
Dr. Patel | A | C | E | ---
Dr. Kumar | B | --- | --- | ---
Dr. Shah | D | --- | --- | ---

2. Check for conflicts:
- Dr. Patel at 10:00: Only Patient A (No conflict)
- Dr. Patel at 10:30: Only Patient C (No conflict)
- Dr. Patel at 11:00: Only Patient E (No conflict)
- Dr. Kumar at 10:00: Only Patient B (No conflict)
- Dr. Shah at 10:00: Only Patient D (No conflict)

3. Verification:
- No doctor has multiple patients in same slot
- All preferences can be honored

Answer: 0 patients need rescheduling

Key Strategy: Map all appointments to a doctor-time grid and identify slots where multiple patients request the same doctor.

Question 18

Four colleagues need to schedule a meeting. Their available time slots are: - Alex: 9:00 AM, 10:00 AM, 2:00 PM, 3:00 PM - Ben: 10:00 AM, 11:00 AM, 2:00 PM - Cara: 9:00 AM, 11:00 AM, 12:00 PM, 3:00 PM - Diana: 10:00 AM, 12:00 PM, 2:00 PM, 3:00 PM What is the earliest time slot when all four can meet?
Step-by-step solution:

Set Intersection Method:
1. List all availability:
- Alex: {9:00 AM, 10:00 AM, 2:00 PM, 3:00 PM}
- Ben: {10:00 AM, 11:00 AM, 2:00 PM}
- Cara: {9:00 AM, 11:00 AM, 12:00 PM, 3:00 PM}
- Diana: {10:00 AM, 12:00 PM, 2:00 PM, 3:00 PM}

2. Find common slots (intersection):
- Common to all = Alex AND Ben AND Cara AND Diana
- Result: Empty set (No common time)

3. Conclusion: No common time slot available

Key Strategy: Use set intersection to find common availability, then choose the earliest time.

Question 19

In a round-robin tournament with 4 teams, each round consists of disjoint matches (no team plays twice in a round). What is the minimum number of rounds needed?
Step-by-step solution:

1. **Model as edge coloring of complete graph K_4
2. Vizing's theorem: ฯ‡'(K_n) = n-1 for even n, n for odd n
3. For 4 teams: 3 colors/rounds needed

Answer: 3 rounds

Question 20

A hospital needs to schedule 5 staff for 7 days (Wednesday, Monday, Tuesday...). Each day has 3 shifts: Morning, Evening, Night. Undesirable shifts (higher weight = more undesirable): - Weekend Night: weight 3 - Weekend Evening: weight 2 - Any Night: weight 1 After creating a fair schedule, what is the fairness gap (difference between max and min undesirable weights assigned to any staff)?
Step-by-step solution (Fairness Scheduling):

1. Total shifts to assign:
- 7 days ร— 3 shifts = 21 shifts
2. Shifts per person: 21 รท 5 = 4 with 1 extra shifts
3. Undesirable weight distribution:
- Alice: 2 points
- Bob: 5 points
- David: 2 points
- Emma: 3 points
- Frank: 3 points

4. Fairness gap: 5 - 2 = 3

Key Strategy: Fair scheduling aims to minimize the maximum difference in undesirable shift assignments across all staff.
Previous Worksheet Next Worksheet