i
Tech
Mahindra
Filter interviews by
Loops are programming constructs that repeat a block of code multiple times based on a condition.
Types of loops: for, while, and do-while.
For loop example: for (let i = 0; i < 5; i++) { console.log(i); }
While loop example: let i = 0; while (i < 5) { console.log(i); i++; }
Do-while loop example: let i = 0; do { console.log(i); i++; } while (i < 5);
Loops help in automating repetitive tasks and iterating over...
In JavaScript, 'obj' typically refers to an object, a fundamental data structure that holds key-value pairs.
Objects are created using curly braces: const obj = {};
They can hold various data types: const person = { name: 'Alice', age: 25 };
Access properties using dot notation: console.log(person.name); // 'Alice'
Use bracket notation for dynamic keys: const key = 'age'; console.log(person[key]); // 25
Objects can als...
A function is a reusable block of code that performs a specific task in programming.
Functions can take inputs, known as parameters, and return outputs. Example: function add(a, b) { return a + b; }
They help in organizing code, making it modular and easier to maintain.
Functions can be defined using function declarations or function expressions.
Example of a function expression: const multiply = function(x, y) { retu...
An array is a data structure that stores a collection of elements, typically of the same type, in a contiguous memory location.
Arrays can hold multiple values in a single variable, e.g., let fruits = ['apple', 'banana', 'cherry'];
They are zero-indexed, meaning the first element is accessed with index 0, e.g., fruits[0] returns 'apple';
Arrays can be of fixed or dynamic size, e.g., in Java, int[] numbers = new int[5...
What people are saying about Tech Mahindra
React.js is a popular JavaScript library for building user interfaces, particularly single-page applications, using a component-based architecture.
Component-Based: React allows developers to create reusable UI components, making code more modular and maintainable.
Virtual DOM: React uses a virtual representation of the DOM to optimize rendering and improve performance.
Unidirectional Data Flow: Data in React flows i...
Node.js is a JavaScript runtime built on Chrome's V8 engine, enabling server-side scripting and building scalable network applications.
Node.js uses an event-driven, non-blocking I/O model, making it efficient and suitable for I/O-heavy applications.
It allows developers to use JavaScript on both the client and server sides, promoting code reuse.
Node.js has a rich ecosystem of libraries and frameworks, such as Expre...
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML.
CSS controls layout, colors, fonts, and overall visual appearance of web pages.
It allows for responsive design, enabling websites to adapt to different screen sizes (e.g., using media queries).
CSS can be applied inline, embedded in the HTML document, or linked as an external stylesheet.
Examp...
HTML (HyperText Markup Language) is the standard language for creating web pages and web applications.
HTML uses tags to structure content, e.g., <h1> for headings, <p> for paragraphs.
It allows embedding multimedia elements like images (<img>) and videos (<video>).
HTML forms (<form>) enable user input, with elements like text fields (<input>) and buttons (<button>).
HTML doc...
JavaScript is a versatile, high-level programming language primarily used for web development to create interactive and dynamic web pages.
JavaScript is an interpreted language, meaning it runs directly in the browser without needing compilation.
It supports event-driven programming, allowing developers to create responsive user interfaces. Example: handling button clicks.
JavaScript can manipulate the Document Objec...
I faced questions on language syntax, frameworks, and problem-solving techniques relevant to my experience.
Explained the difference between Java and JavaScript, focusing on their use cases.
Discussed my experience with Python libraries like Pandas for data manipulation.
Demonstrated knowledge of C++ memory management and pointers through a coding challenge.
Answered questions about asynchronous programming in JavaScr...
I appeared for an interview in Jun 2025, where I was asked the following questions.
JavaScript is a versatile, high-level programming language primarily used for web development to create interactive and dynamic web pages.
JavaScript is an interpreted language, meaning it runs directly in the browser without needing compilation.
It supports event-driven programming, allowing developers to create responsive user interfaces. Example: handling button clicks.
JavaScript can manipulate the Document Object Mod...
React.js is a popular JavaScript library for building user interfaces, particularly single-page applications, using a component-based architecture.
Component-Based: React allows developers to create reusable UI components, making code more modular and maintainable.
Virtual DOM: React uses a virtual representation of the DOM to optimize rendering and improve performance.
Unidirectional Data Flow: Data in React flows in one...
Node.js is a JavaScript runtime built on Chrome's V8 engine, enabling server-side scripting and building scalable network applications.
Node.js uses an event-driven, non-blocking I/O model, making it efficient and suitable for I/O-heavy applications.
It allows developers to use JavaScript on both the client and server sides, promoting code reuse.
Node.js has a rich ecosystem of libraries and frameworks, such as Express.js...
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML.
CSS controls layout, colors, fonts, and overall visual appearance of web pages.
It allows for responsive design, enabling websites to adapt to different screen sizes (e.g., using media queries).
CSS can be applied inline, embedded in the HTML document, or linked as an external stylesheet.
Example of...
HTML (HyperText Markup Language) is the standard language for creating web pages and web applications.
HTML uses tags to structure content, e.g., <h1> for headings, <p> for paragraphs.
It allows embedding multimedia elements like images (<img>) and videos (<video>).
HTML forms (<form>) enable user input, with elements like text fields (<input>) and buttons (<button>).
HTML document...
Loops are programming constructs that repeat a block of code multiple times based on a condition.
Types of loops: for, while, and do-while.
For loop example: for (let i = 0; i < 5; i++) { console.log(i); }
While loop example: let i = 0; while (i < 5) { console.log(i); i++; }
Do-while loop example: let i = 0; do { console.log(i); i++; } while (i < 5);
Loops help in automating repetitive tasks and iterating over data...
In JavaScript, 'obj' typically refers to an object, a fundamental data structure that holds key-value pairs.
Objects are created using curly braces: const obj = {};
They can hold various data types: const person = { name: 'Alice', age: 25 };
Access properties using dot notation: console.log(person.name); // 'Alice'
Use bracket notation for dynamic keys: const key = 'age'; console.log(person[key]); // 25
Objects can also con...
A function is a reusable block of code that performs a specific task in programming.
Functions can take inputs, known as parameters, and return outputs. Example: function add(a, b) { return a + b; }
They help in organizing code, making it modular and easier to maintain.
Functions can be defined using function declarations or function expressions.
Example of a function expression: const multiply = function(x, y) { return x ...
An array is a data structure that stores a collection of elements, typically of the same type, in a contiguous memory location.
Arrays can hold multiple values in a single variable, e.g., let fruits = ['apple', 'banana', 'cherry'];
They are zero-indexed, meaning the first element is accessed with index 0, e.g., fruits[0] returns 'apple';
Arrays can be of fixed or dynamic size, e.g., in Java, int[] numbers = new int[5]; cr...
Controlled components in web development manage form data through React state, ensuring predictable UI behavior.
Controlled components use state to manage form inputs, e.g., <input value={this.state.value} onChange={this.handleChange} />.
They provide a single source of truth for form data, making it easier to validate and manipulate inputs.
Controlled components can be reset or modified programmatically, enhancing ...
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of HTML documents.
CSS controls layout, colors, fonts, and overall visual appearance of web pages.
It allows for responsive design, adapting layouts to different screen sizes (e.g., using media queries).
CSS can be applied inline, embedded in the HTML, or linked as an external stylesheet.
Example of a CSS rule: 'h1 { color: blue; font-s...
I have a strong background in customer service, excellent communication skills, and a passion for helping customers.
Extensive experience in customer service roles
Excellent communication skills
Strong problem-solving abilities
Passion for helping customers
Proven track record of resolving customer issues efficiently
I am fluent in English, Hindi, and Spanish. I have knowledge about PhonePe's services and features.
Fluent in English, Hindi, and Spanish
Knowledge about PhonePe's services and features
Experience in customer service roles
I applied via Recruitment Consulltant and was interviewed in Aug 2024.Β There were 3 interview rounds.
Query to find customer names with the maximum orders from Customers and Orders tables.
Use JOIN to combine Customers and Orders tables on CustomerID.
Group by CustomerID and count orders to find the maximum.
Use a subquery to filter customers with the maximum order count.
Example SQL: SELECT c.customerName FROM Customers c JOIN Orders o ON c.customerID = o.CustomerID GROUP BY c.customerID HAVING COUNT(o.OrderId) = (SELECT ...
The project involves building a data pipeline to ingest, process, and analyze large volumes of data from various sources in Azure.
Utilizing Azure Data Factory for data ingestion and orchestration
Implementing Azure Databricks for data processing and transformation
Storing processed data in Azure Data Lake Storage
Using Azure Synapse Analytics for data warehousing and analytics
Leveraging Azure DevOps for CI/CD pipeline aut...
Designing an effective ADF pipeline involves considering various metrics and factors.
Understand the data sources and destinations
Identify the dependencies between activities
Optimize data movement and processing for performance
Monitor and track pipeline execution for troubleshooting
Consider security and compliance requirements
Use parameterization and dynamic content for flexibility
Implement error handling and retries fo...
Optimize data processing by partitioning, indexing, and using efficient storage formats.
Partitioning: Divide large datasets into smaller, manageable chunks. For example, partitioning a sales dataset by year.
Indexing: Create indexes on frequently queried columns to speed up data retrieval. For instance, indexing customer IDs in a transaction table.
Data Compression: Use compressed formats like Parquet or ORC to reduce st...
Use Slowly Changing Dimensions (SCD) to preserve historical data while reconstructing a table.
Implement SCD Type 1 for overwriting old data without keeping history.
Use SCD Type 2 to create new records for changes, preserving history.
Example of SCD Type 2: If a customer's address changes, add a new record with the new address and mark the old record as inactive.
SCD Type 3 allows for limited history by adding new columns...
Databricks enhances data processing with advanced analytics, collaboration, and scalability beyond ADF's capabilities.
Databricks provides a collaborative environment for data scientists and engineers to work together using notebooks.
It supports advanced analytics and machine learning workflows, which ADF lacks natively.
Databricks can handle large-scale data processing with Apache Spark, making it more efficient for big...
I applied via Recruitment Consulltant and was interviewed in Nov 2024.Β There was 1 interview round.
Bigtable is a NoSQL database for real-time analytics, while BigQuery is a fully managed data warehouse for running SQL queries.
Bigtable is a NoSQL database designed for real-time analytics and high throughput, while BigQuery is a fully managed data warehouse for running SQL queries.
Bigtable is used for storing large amounts of semi-structured data, while BigQuery is used for analyzing structured data using SQL queries.
...
To remove duplicate rows from BigQuery, use the DISTINCT keyword. To find the month of a given date, use the EXTRACT function.
To remove duplicate rows, use SELECT DISTINCT * FROM table_name;
To find the month of a given date, use SELECT EXTRACT(MONTH FROM date_column) AS month_name FROM table_name;
Make sure to replace 'table_name' and 'date_column' with the appropriate values in your query.
The operator used in Composer to move data from GCS to BigQuery is the GCS to BigQuery operator.
The GCS to BigQuery operator is used in Apache Airflow, which is the underlying technology of Composer.
This operator allows you to transfer data from Google Cloud Storage (GCS) to BigQuery.
You can specify the source and destination parameters in the operator to define the data transfer process.
Code to square each element in the input array.
Iterate through the input array and square each element.
Store the squared values in a new array to get the desired output.
Dataflow is a fully managed stream and batch processing service, while Dataproc is a managed Apache Spark and Hadoop service.
Dataflow is a serverless data processing service that automatically scales to handle your data, while Dataproc is a managed Spark and Hadoop service that requires you to provision and manage clusters.
Dataflow is designed for both batch and stream processing, allowing you to process data in real-t...
BigQuery architecture includes storage, execution, and optimization components for efficient query processing.
BigQuery stores data in Capacitor storage system for fast access.
Query execution is distributed across multiple nodes for parallel processing.
Query optimization techniques include partitioning tables, clustering tables, and using query cache.
Using partitioned tables can help eliminate scanning unnecessary data.
...
RDD vs dataframe vs dataset in PySpark
RDD (Resilient Distributed Dataset) is the basic abstraction in PySpark, representing a distributed collection of objects
Dataframe is a distributed collection of data organized into named columns, similar to a table in a relational database
Dataset is a distributed collection of data with the ability to use custom classes for type safety and user-defined functions
Dataframes and Data...
I applied via Naukri.com and was interviewed in Aug 2024.Β There were 2 interview rounds.
Control plane components in Kubernetes manage the cluster and make decisions about the state of the cluster.
Control Manager: Ensures that the desired state of the cluster matches the actual state.
Scheduler: Assigns workloads to nodes based on resource availability and constraints.
API Server: Acts as the front-end for the Kubernetes control plane and is the primary interface for users and other components.
etcd: Consiste...
Implementing zero-downtime deployments in Kubernetes involves using rolling updates and readiness probes.
Use rolling updates to gradually replace old pods with new ones
Configure readiness probes to ensure new pods are ready before routing traffic to them
Utilize tools like Helm for managing releases and versioning
To ensure high availability of the etcd cluster used by Kubernetes, you can implement redundancy, monitoring, and disaster recovery strategies.
Implement a multi-node etcd cluster to ensure redundancy and fault tolerance.
Utilize monitoring tools like Prometheus and Grafana to track the health and performance of the etcd cluster.
Set up regular backups and implement disaster recovery plans to quickly recover from failures...
Capacity planning for a Kubernetes cluster involves analyzing resource usage, predicting future needs, and scaling infrastructure accordingly.
Monitor resource usage of pods and nodes using tools like Prometheus and Grafana
Analyze historical data to identify trends and patterns in resource consumption
Estimate future resource requirements based on application growth and workload changes
Scale the cluster by adding or remo...
I applied via Company Website and was interviewed in Nov 2024.Β There was 1 interview round.
I applied via Naukri.com and was interviewed in Jul 2024.Β There were 4 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Jul 2024.Β There were 5 interview rounds.
Aptitude test: a multiple choice test assessing logical reasoning problem solving skills
A collaborative discussion among candidates to assess communication teamwork and problem solving skills
A task or project assigned to candidates to assess their skills creativity and problem solving skills
I applied via Naukri.com and was interviewed in Oct 2024.Β There were 2 interview rounds.
You'll be provided a M.Sc Mathematics level written Assignment you have to answer the given 10 questions and each question carries 5 marks and then at the end upload the written test as a pdf
Vector space properties include closure under addition and scalar multiplication, commutativity, associativity, distributivity, and existence of zero and additive inverse.
Closure under addition: For any vectors u and v in a vector space V, u + v is also in V.
Closure under scalar multiplication: For any vector u in V and scalar c, cu is also in V.
Commutativity of addition: u + v = v + u for all u, v in V.
Associativity o...
Convergence of a sequence is when the terms of the sequence get closer and closer to a certain value as the sequence progresses.
A sequence converges if the terms get arbitrarily close to a single value as the sequence progresses.
Convergence can be proven using the epsilon-delta definition or by showing that the terms eventually stay within a certain range.
Examples of convergent sequences include 1/n, (-1)^n/n, and 1/n^...
I applied via Company Website and was interviewed in Aug 2024.Β There were 5 interview rounds.
3 subsections with aptitude quantitative verbal and essay writing
2 coding questions. easy-medium level.
The duration of Tech Mahindra interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 280 interview experiences
Difficulty level
Duration
based on 38.9k reviews
Rating in categories
Software Engineer
26.7k
salaries
| βΉ3.7 L/yr - βΉ9.2 L/yr |
Senior Software Engineer
22.6k
salaries
| βΉ9 L/yr - βΉ18.6 L/yr |
Technical Lead
12.4k
salaries
| βΉ17 L/yr - βΉ30 L/yr |
Associate Software Engineer
6.2k
salaries
| βΉ2 L/yr - βΉ5.6 L/yr |
Team Lead
5.3k
salaries
| βΉ6.5 L/yr - βΉ17.9 L/yr |
Infosys
Cognizant
Accenture
Wipro