Thursday, September 3, 2009

Aricent Interview of Kanika Gupta

Hello,

My experience of the Aricent Interview was as follows:

-> I entered and was asked, which language are you comfortable in, C or C++.

-> Then he asked me to write a function to insert a node in a sorted linked list at its correct position so that the final list is also sorted.

-> Then he asked me difference between a structure and a union.

-> Given the structure:
struct s{ int i; char a;};
What is the size of this structure.
I gave the answer 5.
But then he asked if i know the concept of padding.
I explained the same and the size of structure to be 8 due to padding.
Then he asked what are holes.

-> Then he asked if we can compare two structure objects of different types.
Then again can we compare two structure objects of same type.

-> What are preprocessor directives?
How are they useful? Explain use of #ifdef and #ifndef.
What will happen if i use something as follows:
#define chk sizeof
Will this work when used between statements to get size of a type.

-> What is an inode?

-> What is the file system used in Windows?

-> What is Hashing?
What is bucketting?


-> Then he switched to HR where he asked me to elaborate whatever answers were written in the Critical Incidence Form.

No comments:

Post a Comment