(A CSE student(VIT University) with a CGPA 8.92 and a percentage of 96(10) std. -CBSE Board and a percentage of 94.45(12) 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:VIT University, CGPA 8.26 and a percentage of 76.87(10th),CBSE Board and a percentage of (91.87)12th 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?
How can you determine the size of an allocated portion of memory?
What is a pragma?
What is the difference between a free-standing and a hosted environment?
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(VIT University) with a CGPA-7.64 and a percentage of 82.33(10), percentage of 91.87(12))
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.77 in Graduation, 84% in 12th and 78.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?