It was a pool campus drive for Full time employment and Internship (Batch 2019 B.Tech/M.tech). 3 colleges were called at NXP Noida office: IIIT Delhi (my college), IGDTUW and Punjab Engineering College.
50 students in total registered for the drive.
We were called at 8 am. They provided breakfast and Round 1 started at 9:30 am.
Round 1: (Pen paper round)
The paper had two sections.
Section I: 8 questions(Theory + Programming)
Section II: 22 questions (C MCQs)
Both sections have to be completed in 90 minutes.
Section I:Theory + Programming Questions:
- Write a C Program to implement atoi function. Handle all corner cases including wrong inputs.
That is, implement the following functionality:
int val = atoi (“1234”)
printf(“%d”, val); // output = 1234 ( a integer equivalent number)
- What is reentrant code?
- What is a critical section?
- Explain the DMA technique with specific 4-5 points.
- Explain declaration and definition of a variable with suitable example.
- Aptitude question
- Aptitude question
- Write a C program to create a structure having one field to input age, and another field to store next pointer to the next node. Create a linked list and take input the ages of 10 people in those nodes in a for loop.
Section II: C MCQs
Questions were mainly from following topics: Need of Volatile keyword, normal pointers operations including dangling pointers, questions to check the understanding of uninitialized pointers, arrays.
They gave the lunch after Round 1 was over, and after it they announced the results of Round 1.
They shorlisted a total of 19 students for Round 2 (i.e. Interviews)
(Rounds 2, 3 and 4 consisted of 2 interviewers).
Round 2: C and Data structure based
- Have you made any project using C language?
I made one project in M.Tech (Implementing the Demand Paging in xv6 OS), but forgot to tell and I answered as No.
- Tell Compilation process of C program.
- Print Hello World without semicolon in C.
- Then he asked what all data structures I know.
- He asked to write code: Given an integer number, check if that number is a power of 2 or not. I wrote the code using bitwise operator.
- Given a Binary Search Tree, Write a C code to insert a new node in it.
- Other interviewer asked:
Given 2 sorted linked list, write code to merge these linked lists to output 3rd linked list which is also sorted. (Do not use extra space)
- Given an 8 x 8 chessboard with all the white and black pieces and 2 players have to play. Construct suitable data structure to represent the chessboard and pieces.
- Then the interviewers asked me do I have any questions to ask them?
Round 2: Computer Architecture and OS based:
- First interviewer asked me to rate myself in CA out of 5. I answered 3/5
He asked me to show the interfacing of microprocessor with memory using microprocessor pins.
I said I don’t know this much of pins interfacing.He said it’s ok.
(But later I realized I can tell about read, write pins, address bus, data bus by giving a little reference to pins at least).
- Then he asked what are interrupts? I told it and gave reference to internal and external interrupts.
Then he asked me about these with examples.
- What is ISR? How is it different form normal functions?
- Where is ISR stored?
- Then he asked me to explain Interrupts and its handling as soon as I press keyboard key.
- Now the other interviewer asked OS questions:
(Firstly, he asked which subjects have I taught during teaching Job.)
He asked me that you have teaching Experience in College(I have 5 years of Teaching Experience at Graphic Era Hill University, Dehradun), so tell me what is the basic difference between process and thread.Why actually do we need thread and in what scenario will it be useful to use thread.
- If our system is multcore and I wrote a program.Will the program be run by threads on its own or user has to do something in code to utilize threads concept in multicore system?
- Draw process state Diagram. Explain the scenarios/events in which the transitions from one state to other will occur. He asked it for all states.
- Why do we need process synchronization and tell mechanisms to deal with it?
Round 3:(Mixed) HR + C based
- Tell me about your family and hobbies.
In hobbies, I told reading motivational books as one of my hobbies. He asked which book have I read recently? I told the book name. He asked what have I learned from it.
- Which subjects have I taught during my teaching Job?
- Where do I see myself after 5 years from now?
- Then he asked have you worked on Linux or windows? I said I am familiar with both.
- Static keyword in C and its scope.
- Then he asked: You have a header file which contains a static variable. You wrote a C program and included that header file in both programs. Now explain what will happen to static variable value?
- Explain the process of generating a .exe file from a C source program.
- Other interviewer asked me about one of my project from my resume (It was made in a team of 2). He asked me to explain my contribution to this project. I explained it.
- Then he asked who amongst the two of us teammates contributed most of the part in the project. I said both had equal contributions. He smiled at this.
HR person asked me to feel free and was talking in Hindi and English Both.
- Tell me about your positive and negative points?
- Asked me about my family and fathers Job?
- Why I joined teaching after B.Tech, not IT company?
I told him the reasons and he grilled me on this.
- The culture in the teaching profession and corporate is different.Will you be able to manage?
- So, are you comfortable if I give you the joining for Banglore location now?
(I am from Dehradun. The interviewer asks this question to the candidate to check if he is comfortable with relocation)
- Then he asked me to ask any question if I have for him. I asked him do they have any fixed number of people to hire for this drive. He answered.
After that, he said that they will send the results to the College Placement office.
After 4 days, results were declared and I was offered an Internship at Noida location.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.