Sensiple
TCS Interview Questions and Answers
Q1. what is the difference between incremental and decremental backup?
Incremental backup only backs up changes made since the last backup, while decremental backup backs up all changes made since the last full backup.
Incremental backup only backs up changes made since the last backup
Decremental backup backs up all changes made since the last full backup
Incremental backup is faster and requires less storage space
Decremental backup is slower and requires more storage space
Incremental backup is useful for daily backups
Decremental backup is useful ...read more
Q2. What are design patterns in Dot net, How to handle multiple request at same time?
Design patterns in Dot net are reusable solutions to common problems in software design. To handle multiple requests at the same time, we can use asynchronous programming and multithreading.
Design patterns in Dot net include Singleton, Factory, Observer, and more.
To handle multiple requests at the same time, we can use asynchronous programming with async/await keywords.
Another approach is to use multithreading to process multiple requests concurrently.
Using Task Parallel Libr...read more
Q3. What are filters , Routing and caching in MVC? , How to achieve Authorization in API?
Filters, routing, and caching are important concepts in MVC. Authorization in API can be achieved using authentication mechanisms.
Filters in MVC are used to perform logic before or after an action method is executed.
Routing in MVC is used to map URLs to controller actions.
Caching in MVC is used to store data temporarily to improve performance.
Authorization in API can be achieved using authentication mechanisms like JWT tokens or OAuth.
Example: Using [Authorize] attribute in A...read more
Q4. What is extension in c#, Tell me about how to initialise session in MVC, What is middleware in API
Extensions in C# allow adding new methods to existing types without modifying the original source code. Sessions in MVC can be initialized using Session_Start method in Global.asax file. Middleware in API is software that acts as a bridge between an operating system or database and applications, managing communication and data processing.
Extensions in C# allow adding new methods to existing types without modifying the original source code
Sessions in MVC can be initialized usi...read more
Q5. What is active directory?
Active Directory is a directory service developed by Microsoft for Windows domain networks.
It stores information about network resources such as computers, users, and groups.
It provides authentication and authorization for network resources.
It allows administrators to manage network resources from a central location.
It uses a hierarchical structure of domains, trees, and forests to organize network resources.
It supports group policies that can be used to enforce security sett...read more
Q6. What is post?
Post is a term used in computing to refer to a message or piece of information that is published online.
A post can refer to a social media update, blog article, or forum message.
Posts can be text-based, image-based, or video-based.
Posts can be public or private, depending on the platform and user settings.
Q7. SLA durations?
SLA durations refer to the time frame within which a service provider guarantees to resolve an issue or fulfill a request.
SLA durations are typically agreed upon between the service provider and the customer.
They can vary depending on the severity of the issue or request.
For example, a critical issue may have a shorter SLA duration than a minor request.
SLA durations may also differ based on the type of service being provided.
For instance, a cloud service provider may have dif...read more
Q8. Collections, arrays. One example program.
Program to sort an array of strings using Collections
Create an array of strings
Use Arrays.asList() to convert array to List
Use Collections.sort() to sort the list
Convert the sorted list back to array using toArray()
Print the sorted array
Q9. Main use case of geo location
Geo location is used to determine the physical location of a device or user based on their IP address or GPS coordinates.
Used for targeted advertising and marketing based on user's location
Helps in providing location-based services like weather updates, local news, and nearby restaurant recommendations
Enhances security by verifying user's location for access control
Assists in asset tracking and fleet management for businesses
Interview Process at TCS
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month