Hi friends,
Recently TCS has conducted various campus drive in lots of colleges and selected students in huge quantity.I have collected lots of interview questions from various sites which is asked by TCS in 2011-2012 on campus placement drive.
I want to share these questions with you with solutions.Hope these will help to you in future TCS placement drive for 2011-2012 freshers.
All the Best!!!
Below are few basic questions that can be expected on TCS interviews. These are not hard to answer but a good preparation is necessary so that you don't miss any.
Interview Question 1 :
1) What is the prime difference between While and Do While Loop ?
Answer :
Though while and do-while are loop statements, in Do While it is assured that the statements within the loop will be executed at least once (even if the condition fails.)
Interview Question 2 :
2) What is the difference between a = ++b and a = b++ ?
Answer :
The first statement a = ++b can be broken down into two statements b = b + 1 followed by a = b. Hence b will be incremented first and will be assigned to a. Hence values of a and b will be same at the end.
The second statement a = b++ can be broken down into two statements a = b followed by b = b + 1. Hence b will be assigned to a. Only after this assignment b will be incremented. Hence values of a and b will be different at the end.
Interview Question 3 :
3) A C program is compiled into native (binary) code by the compiler. Similary what will be generated out of JAVA program source by JAVA compiler ?
Answer :
JAVA program will get compiled into bytecode instead of native (binary) code.
Interview Question 4 :
Practive Question For Your Thought :
Given a for statement for(i = 1;i < 10;i++)
{
printf("hello");
}
Now you can try by yourself rewriting the same logic using while statement.
This section covers HR Interview Questions & Answers for freshers and experienced. It helps job seekers who are about to attend HR interview round. Please go through each question to find out a number of sample answers.
ReplyDeleteClick On any question to find out a variety of sample answers:
1) Sample Answers - Tell Me Something About Yourself.
2) Sample Answers - What Are Your Strengths?
3) Sample Answers - What Are Your Weaknesses?
4) Sample Answers - Can You Work Well Under Pressure Or deadlines?
5) Sample Answers - What Are Your Short Term Goals?
6) Sample Answers - What Are Your Long Term Goals?
7) Sample Answers - Where Do You See yourself After Five Years?
8) Sample Answers - Why Should We Hire You?
9) Sample Answers - What Kind Of Salary Are You Looking For?
10) Sample Answers - Why Do You Want To Leave Your Current Job/Organization/Company?
11) Sample Answers - Are You A Team Player?
12) Sample Answers - Why Do You Want To Work For Us?
13) Sample Answers - What do You Know About Our Company/Organization?
This comment has been removed by the author.
ReplyDelete