Infogain Interview Questions

 Excerpts from Interview #1:
(CGPA 8.3 in Graduation, 84% in 12th and 89% in 10th.)
Technical Interview:
  • What is the concatenation operator?
  • What is a "null pointer assignment" error? What are bus errors, memory faults, and core dumps?
  • How can you be sure that a program follows the ANSI C standard?
  • What is a "locale"?
  • How do you declare an array that will hold more than 64KB of data?
  • What is the difference between NULL and NUL?
  • Can a file other than a .h file be included with #include?
  • Can you define which header file to include at compile time?
HR Interview:
  • What kind of person would you refuse to work with?
  • What is more important to you: the money or the work?
  • If you are not selected for any reason, what would be your opinion about the company for your friends and juniors?
  • What motivates you to do your best on the job?
Excerpts from Interview #2:
(A B.E. IT student with a CGPA 7.5 and a percentage of 76 in 12th std. and 89 in 10th std. –CBSE Board)
Technical interview:
  • How to remove the trailing spaces from a string?
  • What is indirection? How many levels of pointers can you have?
  • How can I right-justify a string?
  • What is a void pointer? When is a void pointer used?
  • Can include files be nested? How many levels deep can include files be nested?
  • How can you determine the size of an allocated portion of memory?
  • What are the difference between a free-standing and a hosted environment?
HR Interview:
  • What kind of person would you refuse to work with?
  • What is more important to you: the money or the work?
  • If you are not selected for any reason, what would be your opinion about the company for your friends and juniors?
  • What motivates you to do your best on the job?
Excerpts from Interview #3:
(A CSE student with a CGPA 8.92 and a percentage of 85.3 in 12th  std. -CBSE Board and a percentage of 95.1in 10th  std)
Technical interview:
  • What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
  • What advantages does DBMS have over traditional file systems?
  • What is constant keyword in C++? Illustrate its various uses.
  • What are the differences between DDL, DML and DCL in SQL?
  • What will happen if a thrown exception is not handled?
  • Five pirates have 100 gold coins. They have to divide up the loot in order of seniority (Suppose pirate 5 is most senior, pirate 1 is least senior), the most senior pirate proposes a distribution of the loot .If they vote and if at least 50% accept the proposal, the loot is divided as proposed. Otherwise the most senior pirate is executed and they start over again with the next senior pirate. What solution should the most senior pirate propose? (Assume that all the pirates are very intelligent and extremely greedy and that they would prefer not to die).
  • What do the functions atoi(), itoa() and gcvt() do?
  • How would you use the functions fseek(), freed(), fwrite() and ftell()?
  • What are the two forms of #include directive?
HR Interview:
  • What would you consider your most difficult assignment?
  • What position do you prefer on a team working on a project?
  • What do you regard as the significant achievement in your life?
  • If you have given a project to take illegal step by a company, what will you do?
Excerpts from Interview #4:
(A B.E. CSE having CGPA 7.8 and a percentage of 76.87(12th),CBSE Board and a percentage of (91.87)10th std. –CBSE Board.)
Technical interview:
  • What is the most efficient way to store 1 million phone numbers memory-wise?
  • Write the definition for this function without using any built-in functions.
  • “If the pStr is null, then return 0. If pStr contains non-numeric characters, either return 0 or return the number derived so far.”
  • You have 100 doors in a row that are all initially closed. You make 100 passes through the doors starting with the first door every time. The first time your visit every first door and then toggle the door (if the door is closed, you open it, if it’s open, you close it). The second time you only visit every 2nd door (door #2, #4, #6), the third time, every 3rd door (door #3, #6, #9), etc, until you only visit the 100th door.
  • What state are the doors in after the last pass? Which of the doors are now open and which ones are closed?
  • Write a program to find the whether a number is an Armstrong number or not?
  • Can include files be nested? How many levels deep can include files be nested?
HR Interview:
  • What is your philosophy towards work?
  • How will you ensure your learning once you join the organization?
  • What is the relation between fun and work? What do you think is most important for growth of company?
  • What is the difference between Recruitment and Selection?
Excerpts from Interview #5:
(An ECE student with a CGPA-7.64 and a percentage of 83 in 12th, percentage of 91.7 in 10th )
Technical interview:
  • Given a certain range, produce all numbers in that range that fit the criteria. The criteria is as follows: a number that starts with 2 of the same number, and then the sum of the previous 2 is that of the next number, and etc. For example: 112358, 121224, 448
  • An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
  • If you are able to determine the flow for your analyzed application, how will you ensure that the flow result is the correct one?
  • What is the concatenation operator?
  • What is a "null pointer assignment" error? What are bus errors, memory faults, and core dumps?
  • How can you be sure that a program follows the ANSI C standard?
  • What is a "locale"?
HR Interview:
  • How will you prove yourself as an innovative person at work?
  • What have you done to improve your knowledge in the last year?
  • In what sort of company do you like to work in? Why?
  • Describe your work ethics.
Excerpts from Interview #6:
(CGPA 6.9  in Graduation, 82% in 12th and 77.4% in 10th).
Technical interview:
  • Is it better to use malloc () or calloc()?
  • When should a far pointer be used?
  • What will the preprocessor do for a program?
  • What is the benefit of using enum to declare a constant?
  • What is meant by data hiding?
  • What do you by Function Overloading?
  • Explain the key functions of data binding?
  • State two uses of pointers in C?
  • Explain the importance of method overloading?
  • What do you mean Abstraction?
HR Interview:
  • Introduce Yourself?
  • State your three strengths.
  • Who is the present President of US?
  • What has been your biggest regret and achievement up to date?
  • What does success mean to you?
  • Where do you see yourself after 10 years?
Test Site