GA-1 · General Aptitude: quantitative
Averages
1. The average age of 27 students in a class is 14 years. When the teacher’s age is included, the average rises by 1 year. How old is the teacher?
GA-2 · General Aptitude: analytical
Coding and decoding
2. In a certain code, WHEAT is written as ZKHDW. How is JUICE written in that code?
EM · Engineering Mathematics
Differential equations
3. What is the general solution of y″ + 1y′ + 0y = 0?
Subject · Computer Science and Information Technology
Algorithms
4. An undirected weighted graph has edges A–B (1), B–C (4), A–D (5), D–E (3), E–B (2), E–A (9), C–E (6). What is the length of the shortest path from A to E?
5. What does T(n) = 9T(n/3) + n solve to?
6. Keys 91, 26, 28, 76, 45 are inserted in that order into an empty hash table of size 7 with h(k) = k mod 7 and linear probing. In which slot (0 to 6) does 45 end up? (revision: Programming and data structures)