GA-1 · General Aptitude: quantitative
Averages
1. The average age of 32 students in a class is 21 years. When the teacher’s age is included, the average rises by 2 years. How old is the teacher?
GA-2 · General Aptitude: analytical
Coding and decoding
2. In a certain code, LEMON is written as KDLNM. How is TABLE written in that code?
EM · Engineering Mathematics
Differential equations
3. What is the general solution of y″ − 5y′ + 6y = 0?
Subject · Computer Science and Information Technology
Programming and data structures
4. Keys 22, 25, 71, 76, 25 are inserted in that order into an empty hash table of size 13 with h(k) = k mod 13 and linear probing. In which slot (0 to 12) does 25 end up?
5. A binary tree has height 3 (a tree with one node has height 0). What is the largest number of nodes it can have?
6. How many states does the minimal DFA have that accepts strings over {a, b} whose length is divisible by 9? (revision: Theory of computation)