i
Tech Mahindra
Filter interviews by
Clear (1)
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Authentication verifies a user's identity, while authorization determines what a user can access.
Authentication confirms a user's identity through credentials like username and password.
Authorization controls access to resources based on the authenticated user's permissions.
Example: Logging into a website (authentication) and then being able to view/edit specific pages based on your role (authorization).
To render a list in React, use map() function to iterate over an array of data and return a list of components. State is mutable data managed within a component, while props are immutable data passed from parent to child components.
To render a list in React, use map() function to iterate over an array of data and return a list of components.
Example: const items = ['item1', 'item2', 'item3']; items.map(item =>
Webpage optimization techniques include minifying CSS and JS files, optimizing images, using asynchronous loading for scripts, and reducing render-blocking scripts.
Minify CSS and JS files to reduce file sizes and improve loading times.
Optimize images by compressing them and using the correct file format (e.g. JPEG for photographs, PNG for graphics).
Use asynchronous loading for scripts to prevent them from blocking the ...
Use SCSS to apply background color to nested li elements and utilize mixins.
Use nesting to target the li elements within a parent element
Apply background color to the 2nd li element using the :nth-child() selector
Define and use mixins to reuse styles across the codebase
To fix cumulative layout shift issues, ensure all images and media have dimensions specified in HTML, use CSS aspect ratio boxes, and prioritize loading critical resources.
Specify dimensions for all images and media in HTML to prevent layout shifts.
Use CSS aspect ratio boxes to reserve space for images before they load.
Prioritize loading critical resources to avoid sudden layout changes.
Hii
I was interviewed in Aug 2017.
I applied via Recruitment Consultant and was interviewed before Jul 2020. There were 4 interview rounds.
ExtJS is a JavaScript framework for building web applications with rich user interfaces.
ExtJS has a wide range of components including grids, forms, trees, charts, and more.
Components can be customized with themes and plugins.
Some popular ExtJS components include GridPanel, FormPanel, and TreePanel.
ExtJS also includes a powerful data package for managing data in components.
Components can be easily integrated with other
Different methods to fetch values in UI development
Using document.getElementById() to fetch value by element ID
Using document.querySelector() to fetch value by CSS selector
Using event.target.value to fetch value from input fields
Using AJAX to fetch data from server
Using local storage to fetch stored values
Grid events and structures are essential for UI development.
Grid events are actions that occur when a user interacts with a grid, such as clicking a cell or scrolling.
Grid structures refer to the layout and organization of the grid, including columns, rows, and headers.
Examples of grid events include onCellClick, onRowSelect, and onScroll.
Examples of grid structures include columnDefs, rowData, and headerHeight.
Inline elements do not start on a new line and only take up as much width as necessary, while inline-block elements can have a width and height set.
Inline elements do not start on a new line and only take up as much width as necessary
Inline-block elements can have a width and height set
Inline elements ignore top and bottom margins and padding, while inline-block elements respect them
Semantic HTML is a way of writing HTML that focuses on the meaning of the content rather than its appearance.
Semantic HTML uses tags that clearly define the purpose of the content, such as <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>.
It helps improve accessibility for users with disabilities by providing more context to screen readers and other assistive tec...
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
JavaScript coding questions using map, filter, reduce.
React hooks coding example s.
Performance issues in Angular can be handled by optimizing code, reducing HTTP requests, and using lazy loading.
Optimize code by using trackBy in ngFor loops
Reduce HTTP requests by using caching and pagination
Use lazy loading to load only necessary components
Use AOT compilation to reduce load time
Avoid using ngIf with heavy computations
Use ChangeDetectionStrategy.OnPush to reduce change detection cycles
Custom directives in AngularJS allow you to create reusable components.
Create a new directive using the directive() method
Specify the directive's behavior using the link() method
Use the directive in HTML using its name as an attribute
Pass data to the directive using attributes
Example:
Angular is a JavaScript framework for building web applications with a modular architecture.
Angular uses a component-based architecture to build reusable UI components
It uses a declarative approach to define UI elements and their behavior
Angular provides a powerful set of tools for data binding, dependency injection, and routing
It follows the MVC (Model-View-Controller) pattern to separate concerns and improve maintain...
Some of the top questions asked at the Tech Mahindra UI Developer interview -
based on 2 interviews
Interview experience
based on 13 reviews
Rating in categories
Software Engineer
26.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
21.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
11.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
Cognizant
Accenture
Wipro