i
TCS
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Program to check if a string is a Palindrome
Create a function that takes a string as input
Remove all non-alphanumeric characters and convert to lowercase
Compare the string with its reverse to check if it's a palindrome
Swapping two numbers without using a temporary variable in a program.
Use bitwise XOR operation to swap two numbers without using a temporary variable.
Example: int a = 5, b = 10; a = a ^ b; b = a ^ b; a = a ^ b; // Now a = 10, b = 5
Different types of testing techniques include black box testing, white box testing, unit testing, integration testing, system testing, regression testing, and performance testing.
Black box testing focuses on the functionality of the software without looking at its internal code.
White box testing involves testing the internal code structure, paths, and logic.
Unit testing involves testing individual units or components o...
BDD framework stands for Behavior Driven Development framework, used for writing test cases in plain language.
BDD framework focuses on the behavior of the system from the end user's perspective.
It uses natural language constructs to describe the behavior of the system.
Tools like Cucumber, SpecFlow, and JBehave are commonly used for implementing BDD frameworks.
BDD frameworks help in improving collaboration between devel
Hash map is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Hash map uses a hash function to map keys to indexes in an array.
Collisions can occur when multiple keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash maps have O(1) average time complexity for insertion, deletion, and lookup operations.
What people are saying about TCS
Find reverse of a string
TCS interview questions for designations
Good platform and experience
Good platform and experience
Oops concept stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
Oops concept involves the use of classes and objects.
It focuses on encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation is the bundling of data with the methods that operate on that data.
Inheritance allows a class to inherit properties and behavior from another class.
Polymorphism allows o...
Get interview-ready with Top TCS Interview Questions
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Asked about java code to find average of two numbers
Take away home test about Java coding
Logical and reasoning
In Java, 'this' is a keyword that refers to the current object within a method or constructor.
Used to differentiate between instance variables and local variables with the same name
Can be used to invoke current class constructor
Can be passed as an argument in a method call
Asked to share the screen and write java code
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Streams in Java provide a way to process collections of objects in a functional style.
Streams are sequences of elements supporting sequential and parallel aggregate operations.
They can be created from various sources like collections, arrays, or I/O resources.
Common operations on streams include map, filter, reduce, and collect.
Streams are lazy, meaning intermediate operations are only executed when a terminal operatio...
Write a program to swap two string
OOPs concepts are used in the framework for better code organization, reusability, and maintainability.
Encapsulation: Used to hide the internal details of classes and provide access through methods.
Inheritance: Used to create a hierarchy of classes, allowing the reuse of code and promoting code extensibility.
Polymorphism: Used to define multiple methods with the same name but different implementations, improving code f...
Bug life cycle and reporting process to developers
Bug life cycle includes stages like identification, reporting, analysis, fixing, retesting, and closure
To report a bug to developers, use a bug tracking tool or system
Provide detailed information about the bug, including steps to reproduce, expected and actual results, and any relevant screenshots or logs
Assign the bug to the appropriate developer and prioritize it base...
Some of the top questions asked at the TCS Automation Test Engineer interview -
The duration of TCS Automation Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 47 interviews
4 Interview rounds
based on 287 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹0 L/yr - ₹0 L/yr |
IT Analyst
66.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
AST Consultant
51.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
29.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Wipro
Infosys
Accenture