TCS Technical Interview Questions And Answers 2011-2012 : Set-1

These are Technical Interview Questions asked in TCS Placement Drive.Study these to make bold yourself for technical interview.

1. Which is your favourite language?

2. Basic concepts of C++ like this pointer, function overloading

3. Write a program to add two numbers in C++ using classes.

4. Tell me something about abstract classes?

5. Tell something about deadlock?

6. How can we prevent deadlock?

7. What is Insertion sort, selection sort, bubble sort( basic differences among the functionality of the three sorts and not the exact algorithms)

8. What is Doubly link list?

9. What is Deadlock and how it can be avoided?

10. Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.          

11. What is the best algorithm to sort out unique words from a list of more than 10 million words(1 crore+)? we need the best technique in the terms of execution time.

12. What is scope of a variable? (LOLZ)        

13. What is data Abstraction? and give example    

14. How to swap two numbers with out using temp variable    

15. What is importance of data sturture in a programming language?        

16. What is the Maximum Size that an Array can hold?        

17. What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?   

18What does static variable mean?

19.What is a pointer?

20.What is a structure?

21.What are the differences between structures and arrays?

23.In header files whether functions are declared or defined?

24.What are the differences between malloc() and calloc()?

25.What are macros? what are its advantages and disadvantages?

26.Difference between pass by reference and pass by value?

28.What is static identifier?

29.Where are the auto variables stored?

30.Where does global, static, local, register variables, free memory and C Program instructions get stored?

31.Difference between arrays and linked list?

32.What are enumerations?

33.What is a class?

34.What is an object?

35.What is the difference between an object and a class?

36.What is the difference between class and structure?

37.What is public, protected, private?

38.What are virtual functions?

39.What is friend function?

40.What is a scope resolution operator?

This entry was posted in Freshers, TCS, Technical Interviews Questions and tagged . Bookmark the permalink.

16 Responses to TCS Technical Interview Questions And Answers 2011-2012 : Set-1

  1. a says:

    thanks..really useful!

  2. surya says:

    ans of max size of an array if ……..depend upon the ram size…..

  3. ankit says:

    thanks but how can i get the answers..

  4. lavanya says:

    please provide the answer for the above question plz its very urgent……….

  5. manikandan.s says:

    realy nice qts thank to u how can i get answer for it

  6. jeyashree says:

    it’s reallyyy useful for us….Thank for u

  7. Shubhashree says:

    It’s very difficult to decide which one is the strongest programming language. Please suggest me how can I confirm my best PL?

  8. navesh says:

    please provide the answer

  9. praveen vyas says:

    i m very thankful for this ………

  10. udit gupta says:

    Can Sme 1 mail me answers of these questionz as TCS is going to come in our college So PLzz

  11. Aditya c says:

    Thanks a lot………


    plz send the answer’s as soon as possible.

  13. khushboo sawant says:

    thanx for the questions but how would i get the ans.

  14. banu says:

    Pls send me ans. for those questions

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>