i
TCS
Filter interviews by
Functions are blocks of code that perform a specific task and can be called multiple times within a program.
Functions help in organizing code by breaking it into smaller, manageable parts.
They improve code reusability by allowing the same block of code to be used in multiple places.
Functions can take input parameters and return output values.
Examples: summing two numbers, finding the maximum value in an array, pri...
DML commands I have used include INSERT, UPDATE, DELETE in SQL databases.
INSERT: Used to add new records to a table
UPDATE: Used to modify existing records in a table
DELETE: Used to remove records from a table
Query to join two database tables
Use the JOIN keyword in SQL to combine rows from two tables based on a related column
Specify the columns to be joined on using the ON keyword
Common types of joins include INNER JOIN, LEFT JOIN, and RIGHT JOIN
Cloud computing is the delivery of computing services over the internet, including storage, servers, databases, networking, software, and more.
Cloud computing allows users to access and use resources on-demand without the need for physical infrastructure.
It offers scalability, flexibility, cost-effectiveness, and the ability to access resources from anywhere with an internet connection.
Examples of cloud computing ...
What people are saying about TCS
A program to determine if a given number is prime or not.
Iterate from 2 to the square root of the number and check if it divides the number evenly
If any number divides the given number evenly, it is not prime
If no number divides the given number evenly, it is prime
Object-oriented programming concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing onl...
A class is a blueprint for creating objects in object-oriented programming.
A class defines the properties and behaviors of objects.
Objects are instances of a class.
Classes can inherit properties and behaviors from other classes.
Encapsulation, inheritance, and polymorphism are key concepts in class-based programming.
ArrayList is implemented using a dynamic array while LinkedList is implemented using a doubly linked list.
ArrayList provides fast random access but slow insertion and deletion. LinkedList provides fast insertion and deletion but slow random access.
ArrayList uses more memory as it needs to allocate space for the entire array. LinkedList uses less memory as it only needs to store the elements and references.
Example:...
String is immutable in Java to ensure data integrity and security.
Immutable strings prevent accidental changes to data
String pooling reduces memory usage by reusing common strings
Security - sensitive information cannot be modified once set
Calculate the depth of a tree using pseudocode.
Traverse the tree recursively and keep track of the depth at each level
Return the maximum depth found
Pseudocode: function findDepth(node) { if node is null, return 0; return 1 + max(findDepth(node.left), findDepth(node.right)); }
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