Disclaimer – the statistics are obtained from verified sources and are from recent years. The information related to interviewing is curated from the experience of TCS alumni and placed students.

Technical Questions:

TCS is a service-based company. They care more about their recruits being strong in their understanding of the concepts rather than being experts. According to them, a person willing to learn new concepts is better than someone who is an expert but not an active learner.

Here are some of the frequently asked questions:

How is C different from C++?

C++ is said to be a superset/extension of C. Major added features in C++ are Object-Oriented Programming, Exception Handling and a rich C++ Library. C++ supports classes and objects but C does not.

What are the main concepts of Object Oriented Programming?

  • Polymorphism
  • Inheritance
  • Encapsulation
  • Abstraction

What are classes and objects?

Class: A class is a user-defined blueprint or prototype from which objects are created. It represents the set of properties or methods that are common to all objects of one type.
Object: An Object is an identifiable entity with some characteristics and behaviour. An Object is an instance of a Class. When a class is defined, no memory is allocated but when an object is created memory is allocated.

What is an array?

An array is a collection of similar elements. But the data type of all the elements in the array should be the same. 

Differentiate between a Structure and a Class.

A structure is not secure/it has public access while a class is secure/has private access. A structure cannot hide its implementation details from the end-user while a class is secure and can hide its programming and designing details.

What exactly are macros? What are the benefits and drawbacks?

Macros are sections of code in a program that have been given a name (preprocessor directives). The compiler substitutes this name with the actual piece of code whenever it encounters it.

Explain the difference between Interface and a class.

A class is a user-defined blueprint or prototype from which objects are created while objects cannot be created from an interface. Classes do not support multiple inheritances while the interface does.

What is DBMS?

DBMS stands for Database Management System. It is software used to manage a database. It is used to manipulate the data or simply for managing the database itself.

What is an array?

An array is a data structure which contains similar elements. The necessary condition to use an array is that all array elements should have the same data type.

What is the difference between the foreign key and the reference key?

Reference Key is the primary key that is referenced in the other table, which identifies each record in the table. Foreign Key is how you connect the second table to the primary tables (Reference Key).

Define Polymorphism

Polymorphism is a concept used in Object-Oriented Programming, meaning having many forms. Polymorphism allows you to perform a single action in different ways in different instances.

Explain memory allocation in C.

There are three memory allocation functions in C. They are as follows:

  • calloc(): This function allocates memory and initializes this memory block to zero. It returns a pointer to the block of memory.
  • malloc(): This function reserves a memory area, and it returns a pointer of void type.
  • free(): This function release allocated memory.

Explain conditional statements.

Conditional statements are also known as conditional expressions or if-then statements. Conditional statements are statements that introduce a condition and a conclusion. The conclusion becomes true only when the condition is satisfied.

What is a pointer?

A variable which stores the address of another variable is called a pointer. All the data types are stored using pointers.

Ups and downs in life are very important to keep us going, because a straight line even in an ECG means we are not alive


So, Be confident and go for it because giving our best is the only thing that matters.

All the best to the Aspirants!

Click here to read about Swiggy

Click here to read about the demise of the Queen