i
TCS
Filter interviews by
I applied via Referral and was interviewed in Feb 2023. There were 3 interview rounds.
Questions on abstract class, interface, viewstate, and SQL query for second highest salary
Abstract class is a class that cannot be instantiated and is used as a base class for other classes
Interface is a contract that defines a set of methods and properties that a class must implement
Viewstate is used to store the state of a web page between postbacks
SQL query to identify the second highest salary: SELECT MAX(salary) F
To write restful APIs, I will follow the principles of REST and use HTTP methods to perform CRUD operations.
Define the resources and their URIs
Use HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations
Use HTTP status codes to indicate the status of the request
Use JSON or XML to represent data
Implement authentication and authorization
Use caching to improve performance
posted on 9 Jan 2025
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Function Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its parent class.
In Function Overriding, a subclass can provide a specific implementation of a method that is already defined in its parent class.
The method in the subclass must have the same name, return type, and parameters as the method in the parent class to ove...
Using LINQ query to order data in C#
Use the OrderBy method to sort data in ascending order
Use the OrderByDescending method to sort data in descending order
You can also use ThenBy and ThenByDescending for secondary sorting
Out parameter is used to pass data out of a method or function.
Out parameters are used when a method needs to return multiple values.
They are declared using the 'out' keyword in C#.
Example: void CalculateArea(int length, int width, out int area) { area = length * width; }
Reflection in C# allows for inspecting and manipulating metadata of types at runtime.
Reflection is used to dynamically create instances of types, access properties, and invoke methods.
Examples include using reflection to load assemblies at runtime, inspect attributes of types, and generate code dynamically.
Reflection can be slow and should be used judiciously due to performance overhead.
I applied via Walk-in
There are various types of constraints in DOT NET development, including primary key, foreign key, unique, check, and default constraints.
Primary key constraints ensure each record in a table is unique.
Foreign key constraints enforce referential integrity between tables.
Unique constraints ensure that all values in a column are distinct.
Check constraints validate the data before it is inserted or updated.
Default constra...
Independent class can be instantiated while abstract class cannot be instantiated directly.
Independent class can be directly instantiated using the 'new' keyword.
Abstract class cannot be instantiated directly, it can only be used as a base class for other classes.
Independent class does not require any derived class to implement its members.
Abstract class can have abstract methods that must be implemented by derived cla
Seeking new challenges, growth opportunities, and a better work-life balance.
Looking for new challenges and opportunities to learn and grow.
Seeking a better work-life balance.
Interested in working with new technologies or in a different industry.
Wanting to advance my career and take on more responsibilities.
Company restructuring or changes in management.
I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.
It is online test. In this test there is question of apti and also coding and from 5g question.
There are two questions asked and time is enough to solve 60 minutes
A palindrome number is a number that remains the same when its digits are reversed.
Convert the number to a string
Reverse the string
Check if the reversed string is equal to the original string
Create a function to add two numbers
Define a function that takes two parameters as input
Inside the function, add the two numbers together and return the result
Example: function addNumbers(num1, num2) { return num1 + num2; }
Binary search code implementation in Python
Define a function that takes a sorted array and a target value as input
Initialize two pointers, low and high, to the start and end of the array respectively
While low is less than or equal to high, calculate mid as (low + high) // 2 and compare array[mid] with target
If array[mid] is equal to target, return mid
If array[mid] is less than target, update low to mid + 1
If array[mid]...
A program to check if a given name is a palindrome or not.
Convert the name to lowercase to handle case-insensitivity
Remove any spaces or special characters from the name
Reverse the name and compare it with the original name to check for palindrome
malloc and calloc are functions in C programming used for dynamic memory allocation.
malloc function is used to allocate a single block of memory of a specified size.
calloc function is used to allocate multiple blocks of memory of a specified size, initialized to zero.
Example: int *ptr = (int*)malloc(5 * sizeof(int));
Example: int *ptr = (int*)calloc(5, sizeof(int));
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
Logic App logs are stored in Azure Monitor Logs (formerly known as Log Analytics).
Logic App logs are stored in Azure Monitor Logs, which is a centralized log storage and analytics service in Azure.
Logs can be viewed and analyzed using Azure Monitor Logs queries.
Logs can also be integrated with other Azure services for monitoring and alerting purposes.
Use the OFFSET and FETCH clauses in SQL to get the 5th top position data.
Use the ORDER BY clause to sort the data in descending order.
Use the OFFSET clause to skip the first 4 rows.
Use the FETCH clause to retrieve only the next row after skipping the first 4 rows.
Custom middleware in .NET Core can be implemented by creating a class that implements the IMiddleware interface and adding it to the application pipeline.
Create a class that implements the IMiddleware interface
Implement the InvokeAsync method in the middleware class to handle the request processing logic
Add the custom middleware to the application pipeline in the Configure method of the Startup class
Authentication verifies the identity of a user, while authorization determines what resources a user can access.
Authentication confirms the identity of a user through credentials like username and password.
Authorization determines the permissions and access levels of a user based on their authenticated identity.
In ASP.NET Core, authentication is handled through middleware like Identity, OAuth, or JWT tokens.
Authorizati...
Session management in ASP.NET Core involves storing and retrieving user-specific data during a user's visit to a website.
Session data is stored on the server side by default in ASP.NET Core
Session data can be accessed and manipulated using the HttpContext.Session property
Session data can be configured to use different storage providers such as in-memory, distributed cache, or SQL Server
Session data is typically used to...
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Extension methods allow adding new methods to existing types without modifying the original type
Extension methods are static methods that can be called as if they were instance methods of the extended type
They are defined in static classes and must be in the same namespace as the extended type
They are commonly used to add functionality to existing types or interfaces without modifying them directly
Union combines and removes duplicates, Union All combines without removing duplicates.
Union removes duplicates from the result set, while Union All does not.
Union is slower than Union All because it has to perform an additional step to remove duplicates.
Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat
Constructor chaining is the process of calling one constructor from another constructor within the same class.
Allows for reusing code and avoiding duplication
Can be achieved using 'this' keyword in the constructor
Example: public MyClass(int x) : this(x, 0) {}
CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.
CTEs are defined using the WITH keyword in SQL.
They help improve readability and maintainability of complex queries.
CTEs can be recursive, allowing for hierarchical data querying.
Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;
Example: WITH RECURSIVE CTE ...
A constructor is a special method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to.
They are used to initialize the object's state.
Constructors can be parameterized or default (no parameters).
Example: public class Person { public Person(string name) { this.Name = name; } }
Use bulk insert or batch processing to send large amounts of data through the database.
Use bulk insert operations provided by the database management system.
Consider using batch processing techniques to optimize performance.
Use stored procedures or parameterized queries for efficient data transfer.
I have used the MVC (Model-View-Controller) design pattern in my project.
Separates the application into three main components: Model, View, and Controller
Promotes code reusability, modularity, and maintainability
Example: ASP.NET MVC framework
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.
Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet
Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.
Use LINQ query syntax or method syntax to retrieve data from the 'students' table.
Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.
Ensure that the LINQ query is executed against the database to fetch the data.
I applied via Job Portal and was interviewed in Nov 2024. There were 2 interview rounds.
I would like simple test
posted on 21 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There were 7 interview rounds.
An aptitude is a component of a competence to do a certain kind of work at a certain level. Outstanding aptitude can be considered "talent", or "skill". Aptitude is inborn potential to perform certain kinds of activities, whether physical or mental, and whether developed or undeveloped
Coding is the process of allowing humans to speak to computers. As computers only understand binary language — a series of zeros and ones — humans need to use a programming language as a translator of sorts.
Group discussion is a discussion between a group of participants on a given subject. A group discussion typically forms a part of the selection process used by organisations and educational institutions. The candidates talk about the given topic to present facts, opinions and conclusions.
An assignment is a task that someone in authority has asked you to do. The word assignment is just the noun form of the common verb assign, which you use when you want to give someone a duty or a job. When you assign something, that something is called an assignment.
Case study is an appropriate research design when you want to gain concrete, contextual, in-depth knowledge about a specific real-world subject. It allows you to explore the key characteristics, meanings, and implications of the case. Case studies are often a good choice in a
Technical skills often require specific education, such as programming languages, technical writing, or data analysis.
Programming languages: Examples include Java, Python, C++, etc.
Technical writing: Ability to write technical documentation, manuals, and reports.
Data analysis: Skills in analyzing and interpreting data using tools like Excel, SQL, or R.
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.6k
salaries
| ₹5.1 L/yr - ₹15.9 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.8k
salaries
| ₹8.9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture