Monday, February 22, 2010

Cognizant Interview Questions

I've attended the walkin(for experienced) on 20th feb2010. My skill set was c,unix. Around 20+ people attended with the same skill set. The interviews were scheduled based on the skill set. Initially the testing ,java/j2ee..etc guys got scheduled and for us the interviews started at around 3:30pm(we were waiting from 9:30am). Finally the interview panel was so tired that they did not show any interest in us, they rejected almost everyone citing the reasons that they are in need of the guys with shell scripting/sql knowledge. Following are the interview questions:
1/ What is a make file? why do you need it?How do you write it?
2/ what are libraries? why do you need them and How do you create them?
3/what is an header file? why do you require and how do you create it?
4/ Do you really need a main() function?
5/ What is statical linking and dynamic linking?Which is better??
6/what are the different files generated when you compile a file?
7/ Do you really need a .exe file? Can we link .exe of other file?
8/when is heap memory created?

After he was done with the interview again the same universal reply "WE WILL GET BACK TO YOU IN x DAYS" ;)

Good Luck guys!!!

CMC Ltd Interview Questions

The interview was scheduled in chennai. The requirement was in c/c++, unix for 3+yrs experience people. My scheduled time was at 2:30pm on 20th feb2010. Around 20+ people had come to the interview. They gave a question paper comprising of around 15 questions mostly in c++ and unix. As I had no experience in c++ I have answered only 2 c based questions in the paper. The following are the c questions:
1/ How do you allocate memory for 10 elements of type car(car is a structure) and release the memory?
2/ Write c code for strcmp()
I informed the interviewer that I have no exp in c++ and I could answer only c questions, then he asked me the following c/unix questions which I think was just for a formality :)
1/ What is global variable and where it is stored in memory
2/ what if I want to use the global in other file?
3/write a reverse string program
4/what is a circular linked list? Is it a singular or double linked list?
5/ what is the finger command in unix?
6/ what is fork()?
7/ how to find a string in a file and return the number of times it is repeated in that file(expecting a unix command)
Finally they were done with the interview and the same UNIVERSAL reply " HR WILL GET BACK TO YOU IN x DAYS" ;)

Actually they were looking for a guy with c++ and unix cli knowledge too.

Good luck guys !!!

Thursday, February 4, 2010

Juniper Networks Interview Questions-- Telephonic

Hope this post will be useful for the guys who are going to attend telephonic interview in Juniper networks.
They were looking for 3yrs experience guy with a knowledge in c, broadband(ppp,l2tp) technologies. I was shortlisted and they had scheduled a telephonic discussion.

Below are the questions asked:
---------------------------------
what happens when a interrupt is generated?
>> when intr is generated current process contents are saved and it jumps to isr to execute and returns back to the process.. However,this answer was not sufficient,they wanted a detailed/depth answer. What happens if many number of interrupts are generated,how the cpu handles them?
Explain l2tp setup(client-lac-lns), what is the function of each??
How PPP works?
>> Expected a detailed answer, what the LCP does,what happens when CONFREQ is sent,In what cases we receive CONFNACK and CONFREJ
What is Asynchronous mean in ATM?
What is Synchronous transmission?
What is MTU?
What does SAR do?
>>> For all these they wanted detailed answers not single line, they were not satisfied when a single line answer is given. Like how they operate internally in a router..etc
What is PPPoE and how it works??
What are the different types of storage types,explain them?where are they stored in memory?
If an int x is declared in a.c how can it be used in other file say b.c?
what is volatile? What do you mean by compiler optimisation?
what are structures and unions?
what is a macro?How it is compiled? What is the disadvantage?
What is inline function?How they are compiled?
--------------------------------
It was around 1Hr discussion.
I've answered all the programming questions,but on the networking part I've not reached their expectations.

My 2 cents... GOOD LUCK guys :)