i
TCS
Filter interviews by
To update the value of 5 to HR in the employee details table, use the SQL UPDATE statement with the appropriate conditions.
SQL UPDATE Statement: The basic syntax is 'UPDATE table_name SET column_name = new_value WHERE condition;'.
Example: To update the 'department' column to 'HR' for employees with an ID of 5, the query would be: 'UPDATE employee_details SET department = 'HR' WHERE employee_id = 5;'.
WHERE Clause: ...
web.config is specific to a web application and overrides settings in Machine.config
web.config is specific to a web application, while Machine.config is at the machine level
web.config can override settings in Machine.config for a specific application
Machine.config is located in the .NET framework folder, while web.config is in the application folder
State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.
State management can be achieved using various techniques such as session state, view state, cookies, and query strings.
Session state allows storing user-specific data across multiple pages during a user session.
View state stores the state of the page and its controls between postbacks.
Cookies can b...
A micro service is a small, independent, and loosely coupled service that performs a specific business function.
Micro services are designed to be small and focused on a single task or business function.
They communicate with each other through APIs.
Micro services can be independently deployed, scaled, and maintained.
Examples include user authentication service, payment processing service, and notification service.
What people are saying about TCS
Depends on the job role, company size, location, and benefits package.
Consider the job role and responsibilities - more senior roles typically command higher salaries.
Research the average salary for DOT NET Developers in your location.
Take into account the size and reputation of the company - larger companies may offer higher salaries.
Factor in any additional benefits such as healthcare, bonuses, or stock options.
...
Abstract class can have implementation details, interfaces cannot. Classes can implement multiple interfaces but only inherit from one abstract class.
Abstract class can have method implementations, interfaces cannot.
Classes can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to define a contract for classes to implement, while abstract classes can provide a partial im...
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
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 posti...
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 dependenci...
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
web.config is specific to a web application and overrides settings in Machine.config
web.config is specific to a web application, while Machine.config is at the machine level
web.config can override settings in Machine.config for a specific application
Machine.config is located in the .NET framework folder, while web.config is in the application folder
State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.
State management can be achieved using various techniques such as session state, view state, cookies, and query strings.
Session state allows storing user-specific data across multiple pages during a user session.
View state stores the state of the page and its controls between postbacks.
Cookies can be use...
I appeared for an interview in Mar 2025, where I was asked the following questions.
To find the second highest salary, use SQL queries with subqueries or the DISTINCT keyword for unique values.
Using Subquery: SELECT MAX(salary) FROM employee WHERE salary < (SELECT MAX(salary) FROM employee);
Using DISTINCT: SELECT DISTINCT salary FROM employee ORDER BY salary DESC LIMIT 1 OFFSET 1;
Handles Ties: Both methods consider ties, ensuring the second highest unique salary is returned.
Performance: The choice ...
To update the value of 5 to HR in the employee details table, use the SQL UPDATE statement with the appropriate conditions.
SQL UPDATE Statement: The basic syntax is 'UPDATE table_name SET column_name = new_value WHERE condition;'.
Example: To update the 'department' column to 'HR' for employees with an ID of 5, the query would be: 'UPDATE employee_details SET department = 'HR' WHERE employee_id = 5;'.
WHERE Clause: It's ...
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 Walk-in and was interviewed in May 2024. There was 1 interview round.
To reverse a string, iterate through the characters in the string and build a new string in reverse order.
Create a new empty string to store the reversed string
Iterate through the characters of the original string from the end to the beginning
Append each character to the new string
Return the reversed string
Routing in .NET MVC is the process of mapping URLs to controller actions.
Routing is defined in the RouteConfig.cs file in the App_Start folder.
Routes are defined using the MapRoute method, which takes parameters like URL pattern, default values, and constraints.
Routes are matched in the order they are defined, so the most specific routes should be placed at the top.
Route parameters are passed to controller actions as m...
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...
A micro service is a small, independent, and loosely coupled service that performs a specific business function.
Micro services are designed to be small and focused on a single task or business function.
They communicate with each other through APIs.
Micro services can be independently deployed, scaled, and maintained.
Examples include user authentication service, payment processing service, and notification service.
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
Abstract class can have implementation details, interfaces cannot. Classes can implement multiple interfaces but only inherit from one abstract class.
Abstract class can have method implementations, interfaces cannot.
Classes can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to define a contract for classes to implement, while abstract classes can provide a partial impleme...
I applied via Walk-in and was interviewed in Mar 2024. There were 2 interview rounds.
Depends on the job role, company size, location, and benefits package.
Consider the job role and responsibilities - more senior roles typically command higher salaries.
Research the average salary for DOT NET Developers in your location.
Take into account the size and reputation of the company - larger companies may offer higher salaries.
Factor in any additional benefits such as healthcare, bonuses, or stock options.
Be pr...
The duration of TCS DOT NET Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 15 interview experiences
Difficulty level
Duration
based on 32 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
65.7k
salaries
| ₹5.1 L/yr - ₹16.8 L/yr |
AST Consultant
53.5k
salaries
| ₹8 L/yr - ₹25.5 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.6 L/yr - ₹6.4 L/yr |
Associate Consultant
32.7k
salaries
| ₹9 L/yr - ₹33.7 L/yr |
Amazon
Wipro
Infosys
Accenture