i
TCS
Filter interviews by
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...
Basic coding, Arrays
General discussion, Salary
I applied via Recruitment Consulltant and was interviewed before Dec 2023. There was 1 interview round.
What people are saying about TCS
I applied via LinkedIn and was interviewed in Jul 2023. There were 2 interview rounds.
Method overloading is when multiple methods have the same name but different parameters. Method overriding is when a subclass provides a different implementation of a method from its superclass.
Method overloading is achieved by having multiple methods with the same name but different parameters.
Method overriding is achieved by having a subclass provide a different implementation of a method from its superclass.
Method o...
Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a blueprint for a class and can only have abstract methods.
Abstract class can have instance variables while interface cannot
A class can inherit only one abstract class but can implement multiple interfaces
Abstract class can provide default implementations for some methods while interface cannot
Abstrac...
To handle sub menu from hamburger button in Selenium, locate the hamburger button, click on it, and then locate and click on the desired sub menu option.
Locate the hamburger button element using appropriate locator strategy
Click on the hamburger button to open the menu
Locate the sub menu option using appropriate locator strategy
Click on the sub menu option to perform the desired action
Some exceptions in Selenium are NoSuchElementException, TimeoutException, StaleElementReferenceException.
NoSuchElementException occurs when an element is not found in the DOM.
TimeoutException occurs when a command takes longer than the timeout value to complete.
StaleElementReferenceException occurs when a referenced element is no longer attached to the DOM.
To read and write to Excel, we can use libraries like Apache POI or Openpyxl.
Use Apache POI library in Java to read and write Excel files.
Use Openpyxl library in Python to read and write Excel files.
For reading, open the Excel file, select the sheet, and iterate through rows and columns to retrieve data.
For writing, create a new Excel file or open an existing one, select the sheet, and write data to specific cells.
Code to reverse a string
Use a loop to iterate through the characters of the string
Initialize an empty string to store the reversed string
Start from the last character and append each character to the new string
Return the reversed string
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward.
Convert the input string to lowercase
Remove any non-alphanumeric characters from the string
Reverse the string
Compare the reversed string with the original string
The expected CTC (Cost to Company) is the salary package that the candidate anticipates or desires for the Automation Test Engineer role.
The expected CTC is the total compensation package including salary, bonuses, benefits, and any other perks.
It is important to research the industry standards and salary ranges for Automation Test Engineers in order to provide a realistic and competitive expected CTC.
Consider factors ...
TCS interview questions for designations
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
find element is used to locate a single element on a web page, while elements is used to locate multiple elements.
find element is used with a locator to find a single element on a web page
elements is used to find multiple elements that match the locator
find element returns a single WebElement object, while elements returns a list of WebElement objects
Get interview-ready with Top TCS Interview Questions
Prepare for basics appetitude questions and try to give short
Prepare for oops, and basic on what you had written on resume
Prepare for day to day news what's going on society
Write a java program
A Java program to sort an array of strings alphabetically
Create an array of strings
Use Arrays.sort() method to sort the array
Print the sorted array
SQL query to retrieve employee names and their salaries from a table
Use SELECT statement to retrieve data
Specify the columns you want to retrieve (employee names and salaries)
Specify the table name from which you want to retrieve data
I applied via Naukri.com and was interviewed before Apr 2023. There were 2 interview rounds.
4 Interview rounds
based on 261 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.4k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹8 L/yr |
Associate Consultant
29k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture