i
TCS
Filter interviews by
OOPs (Object-Oriented Programming) is a programming paradigm based on objects and classes, 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 using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present th...
Exception handling is a programming construct that manages errors and exceptional conditions during code execution.
It allows developers to define a response to runtime errors, preventing program crashes.
Common keywords include 'try', 'catch', 'finally', and 'throw'.
Example: In Java, 'try' block contains code that may throw an exception, while 'catch' handles the exception.
It enhances code readability and maintaina...
The four pillars of OOP are Encapsulation, Abstraction, Inheritance, and Polymorphism, which enhance code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data within a single unit (class). Example: A class 'Car' with properties like 'speed' and methods like 'accelerate()'.
Abstraction: Hiding complex implementation details and showing only the essential features. Example: A...
To count words in a string, split the string by spaces and count the resulting elements.
Use the split() method in programming languages like Python: 'string.split()'.
Example: 'Hello world'.split() returns ['Hello', 'world'], which has 2 words.
Trim the string first to avoid counting empty words: ' Hello world '.strip().split()
Consider punctuation: 'Hello, world!' should still count as 2 words.
What people are saying about TCS
SQL commands are categorized into DML for data manipulation and DDL for database structure definition.
DML (Data Manipulation Language): Used for managing data within schema objects. Examples include SELECT, INSERT, UPDATE, DELETE.
SELECT: Retrieves data from one or more tables. Example: SELECT * FROM employees;
INSERT: Adds new records to a table. Example: INSERT INTO employees (name, age) VALUES ('John Doe', 30);
UP...
Tuples are immutable sequences, while lists are mutable, allowing for different use cases in Python programming.
Tuples are defined using parentheses: example - tuple_example = (1, 2, 3)
Lists are defined using square brackets: example - list_example = [1, 2, 3]
Tuples cannot be modified after creation (immutable), while lists can be changed (mutable).
Tuples can be used as keys in dictionaries, whereas lists cannot.
T...
I have complete proficiency in Python, a versatile language known for its readability and extensive libraries for various applications.
Strong understanding of Python syntax and semantics.
Experience with data analysis using libraries like Pandas and NumPy.
Proficient in web development with frameworks such as Flask and Django.
Familiarity with machine learning libraries like TensorFlow and scikit-learn.
Ability to wri...
A palindrome is a word, phrase, or sequence that reads the same backward as forward. This program checks for such sequences.
A simple approach is to reverse the string and compare it with the original.
Example: 'madam' is a palindrome because reversing it gives 'madam'.
Another example: 'racecar' is a palindrome.
Non-example: 'hello' is not a palindrome as reversing it gives 'olleh'.
In programming, this can be impleme...
Yes, I have prior knowledge in programming.
I have experience in programming languages such as Java, C++, and Python.
I have completed coding projects in school or personal projects.
I have taken programming courses or attended coding bootcamps.
I am familiar with data structures, algorithms, and software development principles.
A leader array is an array where each element is greater than all the elements to its right.
Iterate through the array from right to left
Keep track of the maximum element encountered so far
If the current element is greater than the maximum element, add it to the leader array
I applied via Campus Placement and was interviewed in Dec 2024. There were 2 interview rounds.
The 4 pillars of C++ are encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Creating new classes from existing classes, inheriting their attributes and methods.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding complex implementation details and showing only the ...
Normalization in SQL is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a database into smaller, more manageable tables and defining relationships between them.
It helps in reducing data redundancy by storing data in a structured and organized manner.
Normalization ensures data integrity by preventing anomalies such as insertion, update, an...
Abstract class is a class that cannot be instantiated and may contain abstract methods.
Cannot be instantiated directly
May contain abstract methods that must be implemented by subclasses
Used to define a common interface for a group of related classes
Pseudo code for prime number is a simple algorithm to determine if a given number is prime or not.
Start by checking if the number is less than 2, if so it is not prime
Then iterate from 2 to the square root of the number and check if it is divisible by any number in that range
If it is not divisible by any number, then it is a prime number
Create a login page using HTML, CSS, and JS
Use HTML for structure and form elements
Style the page using CSS for layout and design
Implement client-side validation using JavaScript
Handle form submission and authentication using JS
posted on 19 Jan 2025
It is a high-level aptitude test.
Overall, there are two coding programs.
I applied via Campus Placement
Need to solve aptitude questions
posted on 16 Nov 2024
I applied via Campus Placement
Code to reverse a string using array of characters
Create an array of characters to store the input string
Use a loop to iterate through the input string and store each character in the array
Reverse the array of characters to get the reversed string
Developed a smart irrigation system using IoT technology
Researched different sensors to measure soil moisture and temperature
Implemented a microcontroller to collect data from sensors and control water flow
Designed a mobile app to remotely monitor and adjust irrigation settings
General arithmetics and algebra
MCQ and coding question
Pointers in C are variables that store memory addresses of other variables. They are used to access and manipulate data indirectly.
Pointers are declared using the * symbol.
They can be used to pass variables by reference to functions.
Pointers can be used to dynamically allocate memory using functions like malloc().
Examples of data types in C include int, float, char, and double.
int: used for storing integer values (e.g. age = 25)
float: used for storing floating-point numbers (e.g. height = 5.8)
char: used for storing single characters (e.g. grade = 'A')
double: used for storing double-precision floating-point numbers (e.g. salary = 50000.50)
Always be prepared by mastering the fundamental basics.
A pointer is a variable that stores the memory address of another variable.
Pointers are used to indirectly access and manipulate data in memory.
They are often used in programming languages like C and C++.
Example: int *ptr; // declaring a pointer to an integer variable
I am a recent graduate with a degree in Computer Science, passionate about technology and eager to learn and grow in the field of system engineering.
Recent graduate with a degree in Computer Science
Passionate about technology and eager to learn and grow
Interested in pursuing a career in system engineering
I appeared for an interview in Mar 2025, where I was asked the following questions.
SQL commands are categorized into DML for data manipulation and DDL for database structure definition.
DML (Data Manipulation Language): Used for managing data within schema objects. Examples include SELECT, INSERT, UPDATE, DELETE.
SELECT: Retrieves data from one or more tables. Example: SELECT * FROM employees;
INSERT: Adds new records to a table. Example: INSERT INTO employees (name, age) VALUES ('John Doe', 30);
UPDATE:...
Accidentally deleting a production database table requires immediate action to restore data and prevent further issues.
Assess the situation: Determine the extent of the deletion and its impact on the application.
Check backups: Look for the most recent backup of the database to restore the deleted table.
Use transaction logs: If available, utilize transaction logs to recover the deleted data.
Notify stakeholders: Inform r...
When encountering a problem, I analyze the issue, seek solutions, and learn from the experience to improve future responses.
Identify the Problem: I first clarify the issue by gathering all relevant information. For example, if a system is down, I check logs and error messages.
Research Solutions: I look for documentation, online resources, or consult with colleagues to find potential solutions. For instance, I might ref...
Easy questions aptitude
Medium Difficulty process
SDLC (Software Development Life Cycle) is a process used by software development teams to design, develop, and test high-quality software.
SDLC consists of several phases including planning, analysis, design, implementation, testing, and maintenance.
Each phase has its own set of activities and deliverables to ensure the successful completion of the project.
Examples of SDLC models include Waterfall, Agile, and DevOps.
SDL...
Handling negative feedback involves active listening, reflection, and constructive response to improve performance and relationships.
Listen actively to understand the feedback without interrupting.
Reflect on the feedback to identify areas for improvement.
Respond constructively, thanking the person for their input.
Implement changes based on the feedback to show growth.
Follow up with the person to discuss improvements an...
Some of the top questions asked at the TCS Assistant System Engineer Trainee interview -
The duration of TCS Assistant System Engineer Trainee interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 248 interview experiences
Difficulty level
Duration
based on 726 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