• RSS
  • Facebook
  • Twitter

Knowledge is Power.

  • Who you are ?

    Working on machines without understanding them ? Then you should be here..

  • Where you are ?

    Geographical location should not become a barrier to Share our knowledge.

  • What do you do ?

    Puzzles and Interview question are intended to be discussed here.

    Friday, April 3, 2015

    Hi Guys,
    Its been Long have updated my blog. I have attended an Interview at Cognizant on 28th March 2015 at Powai (Mumbai) for "C" Developer position.

    I was contacted by the HR. Interview consisted of 2 Technical rounds. One with a Sr developer and other with Manager and another Senior developer.

    I can recollect some of the question asked to me. Here are those...

    1) How do we allocate dynamic memory in C. (write the syntax of malloc)
    2) How do we free it ?.
    3) How does free understand how much memory to free as we just pass a pointer to it.
    4) Return type of free.
    ==> First interview had these question and he asked me to design a solution to a problem. He was quite helpful. I had already told that I don't have much hands-on with IPC.

    5) How to allocate 1 bit to a variable.
    6) Go to the 3rd last node of a list.
    7) What are zombies ?
    8) How to identify the zombies in Linux.
    9) What does fork do ?
    10) Whether to use fork or system calls ?
    11) How to create a daemon process ?
    12) What is a race condition.
    13) He asked about thread local memory. (I wasn't quite sure what he exactly meant)