GA-1 · General Aptitude: quantitative
Time and work
1. A alone can do a piece of work in 30 days and B alone in 60 days. They work together for 18 days, after which B leaves. In how many more days will A finish the work?
GA-2 · General Aptitude: analytical
Direction sense
2. Starting from home, Ravi walks 4 km north, turns left and walks 3 km, turns left again and walks 1 km, then turns right and walks 1 km. How far is he from home, and in which direction?
EM · Engineering Mathematics
Probability and statistics
3. A condition affects 2% of a population. A test detects it in 99% of those who have it and gives a false positive in 5% of those who do not. A person tests positive. What is the probability they have the condition?
Subject · Computer Science and Information Technology
Algorithms
4. An undirected weighted graph has edges A–B (8), A–C (7), A–D (7), B–E (8), B–D (9), D–C (7), C–B (5). What is the length of the shortest path from A to E?
5. What does T(n) = 2T(n/2) + n^2 solve to?
6. Which bottom-up parser accepts the largest class of grammars? (revision: Compiler design)