Question
Given a set of activities with start and finish times: (1,4), (3,5), (0,6), (5,7), (3,9), (5,9), (6,10), (8,11), (8,12), (2,14), (12,16). If you apply the greedy activity selection algorithm (sort by finish time), which activities are selected?
More IT Operating System Questions
- What is the output of the following C program? #include int main() { int a=2, b=3, c=4; printf("%d", a<<1 | b&c); return 0; }
- Which of the following statements about a decoder is correct?
- Which of the following is a property of an admissible heuristic in A* search?
- Which access specifier allows data to be accessed only within the class?
- What is the output of the following pseudocode? SET x = 10 SET result = 0 WHILE x > 0 result = result + x x = x - 3 END WHILE PRINT result
- What is the worst-case time complexity of Quick Sort?
- Which of the following is NOT part of CIA triad?
- State True or False Semi-structured data is data that does not conform to a data model but has some structure. It lacks a fixed or rigid schema. It is th...
- You are building a system that needs to process tasks in order of their priority. Which data structure would be most appropriate?
- You are designing a system where multiple threads need to access and modify a shared counter variable. What is a critical concern you must address to ensur...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)