Roughly 300 candidates were called for M.Tech written test which was held from 9am to 11am followed by a programming test of 90 mins duration held from 11.30 am to about 2 pm (including instructions on how to use web editor/evaluation framework that was provided). After both of these test,@ around 4pm, 120 candidates were shortlisted for subjective test which was held from 5pm to 7pm.
Written test consisted of objective, fill in the blank, short answer type questions divided into 3 groups. Candidates were supposed to answer questions from any 2 groups. If you answer questions from all 3 groups, best of 2 group marks are considered for short listing.Candidates were not allowed to take the question papers with them, so whatever I can remember from my memory, I have jotted down below.
A.Written Questions : (3 groups, 30 questions)
1.Theory
Given complete graph Kn, what is number of distinct spanning trees possible from DFS? BFS?
Given adjucency matrix A of a graph, what is expression/algo for Reachability matrix? time complexity for this computation?
2202 (mod 101) =_____
T(n)=t(√n)+O(1), closed form expression for T(n)=____
S→aS|B, B→bB|ε, the language generated by the given grammar is _____ (multiple choices were given)
regEx which does not generate 2 consecutive b’s are ____ (multiple choices were given)
2.Systems
Linux command for searching all occurences of “hello” in file.c ______
Which segment in the process memory structure are the addresses of Dynamic Link Libraries (DLL) stored?___
(pipeline related question) Given Assembly Language instructions, calculate clock cycle difference with full bypass pipeline and non bypass pipeline?____
(another pipeline related question) similar to above question And (2 questions on cache memory and memory management )
3.Statastics and DataScience
(conditional probability related question) 10% of sick kids have measles and other 90% have flu. 80% of sick kids having measles develop skin rash where as 1% of sick kids having flue develop skin rash. what probability of a sick kid who is found to have rash is suffering from measles?
Batman and Robin are trying to keep the city of Gotham crime free.The criminals however come up with a plan to commit the crimes according to following schedule. 10-11 criminal A 11-12 criminal B 12-1 LUNCH BREAK (no crimes committed during this time) 1-2 criminal BEN 2-3 criminal C 3-4 criminal D Batman or Robin alone can defeat each of the criminals except for criminal BEN. Both batman and robin should fight together to defeat criminal BEN and each alone can’t defeat him. Batman and robin each independently select one of the above time slots and go fight crime. a. what is probability that exactly one criminal is defeated in a given day? b. what is probability that exactly 2 criminals are defeated in a given day? c. what is probability that exactly no criminal is defeated in a given day? d. what is probability that exactly at least 1 criminal is defeated in a given day?
Each point in a x-y plane can be colored with red or blue. what is the min number of points however colored should be able get separated by a line such that all red colored points will be on one side and all blue colored points will be on the other side?
given joint probability table, fill in the missing blank type question(something like this)
Which of the following is not a valid probability density : -0.01, 1, 100, 1.1
Given communication channel with X as input and y as out. X can take 0 or 1 and are equally probable. channel matrix is given below. Find the entropy.(I don’t remember source entropy or conditional entropy)
B.Programming test : (3 problems to be implemented in C language)
Program for Counting Number of Inversions in a sequence numbers
Given 2D array, program to find sum of elements a[i][j] which satisfy sum of elements of ith row = sum of elements on jth column
program to find Levenshtein distance between 2 strings. Refer Levenshtein distance (this is kind of complementary problem to Longest Common Subsequence (LCS) DP algo).Although the word “Levenshtein distance” was not mentioned, the described problem in essence is the same.
C.Subjective test : (again 3 groups, about 10 questions in total)
1.Theory
prove that If a graph is not (n-1) colorable, then the graph is a clique.
prove or disprove, If a graph is having independent set of size k, then can be colored with (n-k+1) colors
prove or disprove, If a graph having (n-k+1) chromatic number, then it has independent set of size k (it is actually the converse of the previous question statement)
write an algorithm to find a cycle in a graph in O(n) time. prove that the time it takes is O(n).
2.Systems
1 reason for using multilevel page table
find the problem in the following implementation of removing an element from que1 and adding it to que2. initial value of binary semaphore is 1. Q1→wait(); Q2→wait(); E→Q1.deque(); Q2→signal(); Q1→signal();
write the correct implementation for the above operation.
given 4 level page table, 4KB page size, 8B Page Table Entry size, what is virtual address size/space?
3.Statastics and DataScience
X and Y are independent random variables, give expression for E[X], E[Y] and prove that E[XY]=E[X] E[Y]
u and v are eigen vectors of real symmetric matrix, prove that uvT=0