GA-1 · General Aptitude: quantitative
Mixtures and alligation
1. Rice at ₹110 per kg is mixed with rice at ₹142 per kg so that the mixture costs ₹122 per kg. In what ratio are the two varieties mixed (cheaper : dearer)?
GA-2 · General Aptitude: analytical
Coding and decoding
2. In a certain code, FLAME is written as IODPH. How is TRAIN written in that code?
EM · Engineering Mathematics
Probability and statistics
3. A bag has 7 red and 5 blue balls. Two are drawn without replacement. What is the probability that both are red?
Subject · Computer Science and Information Technology
Programming and data structures
4. Keys 98, 89, 60, 90, 80 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 80 end up?
5. Keys 49, 34, 13, 34, 40 are inserted in that order into an empty hash table of size 11 with h(k) = k mod 11 and linear probing. In which slot (0 to 10) does 40 end up?
6. Which bottom-up parser accepts the largest class of grammars? (revision: Compiler design)