i
TCS
Filter interviews by
Check if a number belongs to Fibonacci series
Check if the given number is a perfect square
If yes, check if 5*n^2 + 4 or 5*n^2 - 4 is a perfect square
If yes, then the number belongs to Fibonacci series
A URL shortener is a tool that takes a long URL and creates a shorter, more manageable link.
Generate a unique short code for each long URL
Store the short code and long URL in a database
Redirect users to the long URL when they visit the short URL
Track clicks and provide analytics for each short URL
Decorators are functions that modify the behavior of other functions without changing their source code.
Decorators are denoted by the '@' symbol followed by the decorator function name
They can be used to add functionality to a function, such as logging or timing
They can also be used to modify the behavior of a function, such as adding caching or authentication
Decorators can be stacked on top of each other to apply...
if-else is a conditional statement while while loop is a repetitive statement.
if-else statement is used to execute a block of code based on a condition
while loop is used to execute a block of code repeatedly as long as a condition is true
if-else statement is used for decision making while while loop is used for iteration
if-else statement can have multiple conditions while while loop has only one condition
Example: ...
What people are saying about TCS
Interfaces and abstract are programming concepts used to achieve abstraction and modularity in code.
Interfaces define a set of methods that a class must implement.
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods.
Both concepts are used to achieve abstraction and modularity in code.
Interfaces are used to define contracts between classes, while abstract clas...
A singleton class is a class that can only have one instance created throughout the entire application.
Singleton classes are used when we want to restrict the number of instances of a class to one.
They are often used in scenarios where we need to maintain a single point of control or coordination.
For example, a logger class can be implemented as a singleton class to ensure that only one instance of the logger is c...
JDK is a development kit that includes JVM, while JVM is a virtual machine that executes Java code.
JDK stands for Java Development Kit and includes tools for developing and compiling Java programs
JVM stands for Java Virtual Machine and is responsible for executing Java code
JDK includes JVM, along with other tools such as javac, jar, and javadoc
JVM is platform-dependent, while JDK is platform-independent
JDK is requ...
Super keyword is used to refer to the parent class constructor or method.
Used in inheritance to call parent class constructor
Used to access parent class variables and methods
Can be used with 'this' keyword to call overloaded constructor
Program to generate Fibonacci series
Declare variables for first two numbers in series
Loop through desired number of iterations
Calculate next number in series by adding previous two
Print or store each number in series
Encapsulation is the process of hiding internal details and providing a public interface for accessing and manipulating data.
Encapsulation is a fundamental concept in object-oriented programming.
It allows for data abstraction and information hiding.
Encapsulation helps in achieving data integrity and security.
It promotes code reusability and modularity.
Example: A class in Java with private variables and public meth...
I appeared for an interview before Jun 2024, where I was asked the following questions.
I applied via Company Website and was interviewed in Jul 2024. There were 4 interview rounds.
Aptitude contains general arithmetic aptitude, logical questions, english
2 codes, easy and medium questions
Cloud computing is the delivery of computing services over the internet, allowing users to access and store data and applications remotely.
Cloud computing allows users to access data and applications from any device with an internet connection.
It eliminates the need for physical hardware and on-site data centers.
Examples of cloud computing services include Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Pl...
Use Python's print function to display a dictionary.
Use the print function with the dictionary as the argument.
The dictionary will be displayed in key-value pairs.
You can also use a loop to print each key-value pair individually.
Heap memory is used for dynamic memory allocation, while stack memory is used for static memory allocation.
Heap memory is allocated at runtime and can be accessed randomly, while stack memory is allocated at compile time and is accessed in a LIFO manner.
Heap memory is managed by the programmer, while stack memory is managed by the compiler.
Heap memory is typically used for storing objects and data structures, while sta...
Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.
Use try-catch blocks to handle exceptions
Use finally block to execute code regardless of exception
Use throw keyword to manually throw exceptions
Use throws keyword in method signature to declare exceptions that can be thrown
Python has various built-in data types including integers, floats, strings, lists, tuples, sets, and dictionaries.
Integers: Whole numbers, e.g., x = 5.
Floats: Decimal numbers, e.g., y = 3.14.
Strings: Text data, e.g., name = 'Alice'.
Lists: Ordered, mutable collections, e.g., numbers = [1, 2, 3].
Tuples: Ordered, immutable collections, e.g., coords = (10, 20).
Sets: Unordered collections of unique elements, e.g., unique_nu...
I worked on a project to implement a new network infrastructure for a large company.
Designed network architecture to support increased data traffic
Implemented new hardware and software solutions
Tested and optimized network performance
Collaborated with cross-functional teams to ensure project success
Our company is a leading technology firm specializing in providing innovative solutions for businesses.
Founded in 2005
Headquartered in Silicon Valley
Specializes in cloud computing and cybersecurity
Clients include Fortune 500 companies
Award-winning products and services
Questions on logical aptitude and reasoning
XPath in Selenium is a powerful way to navigate through elements and attributes in an XML document.
1. Absolute XPath: Starts from the root node. Example: '/html/body/div'.
2. Relative XPath: Starts from the current node. Example: '//div[@class='example']'.
3. XPath with Attributes: Uses attributes to find elements. Example: '//input[@id='username']'.
4. XPath with Functions: Uses functions like 'contains()'. Example: '//a...
TestNG annotations are used to define test methods, configuration, and execution flow in Java testing frameworks.
@BeforeSuite: Runs once before all tests in the suite. Example: @BeforeSuite public void setupSuite() {}
@Test: Marks a method as a test method. Example: @Test public void testMethod() {}
@AfterMethod: Runs after each test method. Example: @AfterMethod public void tearDown() {}
@BeforeClass: Runs once before th...
I appeared for an interview before Jun 2024, where I was asked the following questions.
I am a dedicated System Engineer with a passion for optimizing systems and enhancing performance through innovative solutions.
Educational Background: Bachelor's degree in Computer Engineering from XYZ University.
Professional Experience: Over 5 years of experience in system design and implementation at ABC Corp.
Technical Skills: Proficient in Linux, Python, and cloud technologies like AWS and Azure.
Project Example: Led ...
OOP is a programming paradigm based on objects that encapsulate data and behavior, promoting code reusability and modularity.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class from an existing class, inheriting attributes and methods (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the sam...
I applied via Company Website and was interviewed in May 2024. There were 3 interview rounds.
I appeared for an interview before Jun 2024, where I was asked the following questions.
I appeared for an interview in May 2024.
Digital role is for those who clear one coding question in TCS NQT.
The smallest real-time project in Java could be a simple chat application, while the biggest could be a complex financial trading system.
Smallest real-time project in Java: Chat application
Biggest real-time project in Java: Financial trading system
Big Data refers to large and complex data sets that cannot be easily processed using traditional data processing applications.
For performing actions on 2 billion entries, tec...
TCS NQT APTITUDE+ CODING I GOT PRIME AS I SUBMITTED 2 CODES
Using dynamic programming to solve the jump game problem on arrays.
Create a DP array to store if it is possible to reach each index from the start.
Iterate through the array and update the DP array based on the maximum reachable index.
Return true if the last index is reachable, false otherwise.
Some of the top questions asked at the TCS System Engineer interview for freshers -
The duration of TCS System Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 106 interview experiences
Difficulty level
Duration
based on 13.5k reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
65.6k
salaries
| ₹5.1 L/yr - ₹16.8 L/yr |
AST Consultant
53.4k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.6 L/yr - ₹6.4 L/yr |
Associate Consultant
32.8k
salaries
| ₹9 L/yr - ₹33.6 L/yr |
Amazon
Wipro
Infosys
Accenture