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



These are 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. 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 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?

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

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

Leave a Reply

Your email address will not be published.


*