i
TCS
Filter interviews by
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
Solid Principles are a set of five design principles for writing clean, maintainable, and scalable code.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Classes should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with objects of its subclasses without affecting the ...
Dependency Injection is a design pattern where dependencies are injected into a class rather than created within the class.
Dependency Injection helps in achieving loose coupling between classes.
It allows for easier testing by enabling mocking of dependencies.
There are different ways to implement Dependency Injection such as constructor injection, property injection, and method injection.
Popular DI containers/frameworks
Configuration settings can be stored in various places such as appsettings.json, environment variables, database, or Azure Key Vault.
appsettings.json file in ASP.NET Core projects
Environment variables for sensitive data
Database for dynamic configuration
Azure Key Vault for secure storage
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
D stands for Dependency Inversion Principle in SOLID principle
High-level modules should not depend on low-level modules. Both should depend on abstractions.
Abstractions should not depend on details. Details should depend on abstractions.
Example: Instead of directly calling a database connection in a class, use an interface to abstract the database connection.
Example: Using dependency injection to inject dependencies in...
I applied via Walk-in and was interviewed in Apr 2024. There were 2 interview rounds.
An index in SQL is a data structure that improves the speed of data retrieval operations on a database table.
Indexes are used to quickly locate data without having to search every row in a table.
They can be created on one or more columns in a table.
Examples of indexes include primary keys, unique constraints, and non-unique indexes.
API authentication can be done using various methods like OAuth, API keys, JWT tokens, etc.
Use OAuth for secure authorization
Implement API keys for simple authentication
Utilize JWT tokens for stateless authentication
Consider using HMAC for message integrity
Dependency injection is a design pattern where objects are passed their dependencies rather than creating them internally.
Create an interface for the dependency
Implement the interface in a separate class
Pass the dependency to the class that needs it
What people are saying about TCS
Coding round covers basic coding and also complex problems
An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other.
APIs define the methods and data formats that applications can use to request and exchange information.
APIs can be used to access web services, databases, or other external systems.
Examples of APIs include Google Maps API for accessing map data, Twitter API for posting tw
Response codes in API indicate the status of a request made to the server.
200 - OK: Request was successful
400 - Bad Request: Request could not be understood by the server
404 - Not Found: Requested resource could not be found
500 - Internal Server Error: Server encountered an unexpected condition
TCS interview questions for designations
Get interview-ready with Top TCS Interview Questions
I appeared for an interview before Jul 2016.
I appeared for an interview in Sep 2021.
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Switch case is used for multiple conditions while if else is for binary conditions. Sorting can be done using various algorithms.
Switch case is faster than if else for multiple conditions
If else is more readable for binary conditions
Sorting can be done using bubble sort, insertion sort, quick sort, etc.
Example code for bubble sort: for(i=0;i
Difference between compiler and interpreter with a coding challenge
Compiler translates the entire code into machine language before execution while interpreter translates line by line during execution
Compiler generates an executable file while interpreter does not
Compiler is faster but debugging is harder while interpreter is slower but debugging is easier
Coding challenge: Write a program to find the sum of two numbers
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
The duration of TCS DOT NET Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 4 interviews
1 Interview rounds
based on 29 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.3k
salaries
| ₹5 L/yr - ₹16 L/yr |
AST Consultant
52k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.5k
salaries
| ₹9 L/yr - ₹32 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Amazon
Wipro
Infosys
Accenture