You are on page 1of 3

WRITTEN -------------There were 25 questions, 60 mins.

They covered almost everything like aptitude, basic C, recursion, C++ classes, function complexity(big O notation), SQL, JAVA.......... 1-2 question on each. Some of them are1. If p and q are the probability of getting sum 20 and 21 on throwing 4 dices. p/q=? 2. Void fun(int x) { If(x>0); Fun(--x); Cout<< <<x; } X=5. What will be the output. 3. How many 4 digit numbers can u form from digit 0 to 9? 4. If we draw a no of lines(say n) in a plane, it will be divided in several part (say f(n)). Then what will be the complexity of f(n)? 5. O(n)=O(8n/9) + n What is its time complexity? 6. There was a question in which they made a class with 2 virtual function. Then they derived another class from this, in which one was redefined under public and another as private. Then they called both function from main(), and asked about output. 7. In OS, they give a list of 6 processes with arriving time and completion time. Premptive OS would choose a process with least completion time at moment. Arrange process according to completion order. Rest of question were mostly from other topics.

PROGRAMMING ROUND --------------------------------1. We had to write a code which will read a XML file from system and check if its syntactically correct. They gave us hint to use Stack 2. If u have completed the 1st part, modify it so that it will print string between tags . After coding, they called us one by one and asked to explain our code, no matter if its running or not. For input set they had 3 incorrect XML code and 1 correct XML code. My program was compiling but while running, system crashed. I pointed out 4th kind of possible syntax error which they had missed, they were a little impressed by this.

INTERVIEW ROUND ----------------------------I do not know what to write about interview experience, so I will simply put up everything that is coming in my mind . Round-1 -----------Q1. U r a electronics guy so why do u want to come in software. Q2. U know C++, so imagine a problem which u can solve using Objects. when I failed to come up with something, He asked me that suppose u have to handle an Online library. What objects will u make and how will u arrange books for efficient search? I come up with solution (which I guess He wanted to listen) after step by step hints he gave. Round-2 -----------This guy was waiting with my answer sheet of written and started asking how did I come up with solution. I frankly told him about shortcuts I used(some of them were wrong) and tukkas. Then he asked, If I want to know anything from him? -> Sir how many guys do u send to US every year and what are the criteria for that. He explained that I will be joining Yahoo India, and they generally do not send many employee to US unlike CTS or TCS. If I want to go to US, I will have to apply separately for Yahoo US. Round-3 -----------Q1. Any thing u want to know from me. -> Sir on which profile we will be joining and on what platform does Yahoo works? He explained me for about 10-12 mins on this. Q2. Write a full c++ function to check if there is a word starting from abc in given string. If there is a word, return its address else return -1. (Piece of cake :D ) I mentioned that I know basic SQl, so he asked me a very-very basic SQL question i.e. to insert values in a table. Then I told him that I like solving puzzles, so He said, OK I will find a puzzle for u and after 5 min told me that he is not able to come up with any puzzle right now, so lets not waste time. He then asked another SQL question, related to rollback. Q. There are 9 cities and 3 frnds have to visit 3-3 each. How will u optimize the distance, how will u choose cities to start with? Any algorithm? Round-4 -----------It was HR+Puzzle round. Q. Long day, did u missed classes? -> I told him that I had to give ppt on Paper batteries. So he asked me about Paper batteries and I explained this to him for around 5 minutes. Q. Do u know SQL?

-> Yes sir, I read it a few days ago from w3schools.com for Oracle interview. (I think I made a mistake here by mentioning Oracle) Then he asked, If I know about normalization. I explained him 1st,2nd and 3rd Normal form and told him that I do not know about rest. Then he started with puzzle, There are 9 similar looking balls......I completed his puzzle and gave him answer and explained him why its the solution. (I guess another mistake) so he told me, OK I will find u a new puzzle famous game theory puzzle of 100 lions and 1 ship. If a lion eats the ship, he will defiantly sleep and then another lion may eat him. Every lion is intelligent and wants to save himself. Will ship survive? (I knew this one too but decided not to do the same thing). Q.why do u want to join Yahoo? Q. Do u use any Yahoo product? I said Yahoo mail then he asked me if it can be improved. Q. Anything u want to know from me. -> Sir your ppt video was very impressive, everyone was so happy. But sir its quiet obvious that any company will only show their happy faces in such videos. What kind of work environment should I expect at Yahoo? (after completeing my question, I thought ki mai to gaya, but he was a nice guy ;) explained me about many things) Round-5 -----------It was pure HR round, we were mostly chatting in English and Hindi mixed. some questions Q1. On which companies did u appeared in? Q2. What do u do apart from study? Q3.Why do u practice Tae-Kwon -Do? Do u want people to fear u? I accidently mentioned the word anger, so I had to do a lot of damage control. She asked Q4. What make u angry. Q5. What do u do when u feel anger. Q6. So I think u do not have many frnds I told her that Yes I had Q7. Why do u like ur frnds, their qualities. Q8. What qualities do u not like about ur frnds. Q9. So Hari, do u want to know something about us? ->since I had already mentioned Tae-Kwon-Do too many times, I asked if there is anything like Martial art teacher or Martial art group at Yahoo??

In the end I would like to add, mujhe nahi pata what worked for me, But I guess it was because I was very honest and frank about things I know and do not know. Maine bina matlab k fatte nahi diye.

You might also like