GA-1 · General Aptitude: quantitative
Averages
1. The average age of 18 students in a class is 17 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, HONEY is written as GNMDX. How is SMILE written in that code?
EM · Probability, linear algebra and calculus
Probability and statistics
3. A bag has 5 red and 8 blue balls. Two are drawn without replacement. What is the probability that both are red?
Subject · Data Science and Artificial Intelligence
Algorithms
4. An undirected weighted graph has edges A–B (2), A–C (7), B–D (6), C–E (9), A–E (6), C–B (7), C–D (1). What is the length of the shortest path from A to E?
5. What does T(n) = 2T(n/2) + n solve to?
6. Training points on a line (value, class): (8, A), (5, B), (1, A), (10, B), (19, A), (12, B). What class does 3-nearest-neighbour classification give the point 14.3? (revision: Machine learning)