Senior UI Engineer

Senior UI Engineer Interview Questions and Answers

Updated 23 Sep 2024
search-icon

Q1. Techniques to optimise list rendering? List virtualisation

Ans.

List virtualisation optimises rendering by only rendering items that are currently visible on the screen.

  • Use virtual scrolling to render only the visible items in a list

  • Implement windowing techniques to dynamically load and unload items as the user scrolls

  • Utilize libraries like React Virtualized or Angular CDK Virtual Scroll for efficient list rendering

Q2. difference between pseudo elements and pseudo classes

Ans.

Pseudo elements are used to style specific parts of an element, while pseudo classes are used to style an element based on its state or position.

  • Pseudo elements are denoted by :: before the element name, like ::before or ::after

  • Pseudo classes are denoted by a single colon before the class name, like :hover or :active

  • Pseudo elements are used to style parts of an element that do not exist in the DOM, like adding content before or after an element

  • Pseudo classes are used to style...read more

Q3. Difference between inline and block elements

Ans.

Inline elements do not start on a new line and only take up as much width as necessary, while block elements start on a new line and take up the full width available.

  • Inline elements do not force a new line to start and only take up as much width as necessary (e.g. <span>, <a>, <strong>).

  • Block elements always start on a new line and take up the full width available (e.g. <div>, <p>, <h1>).

  • Inline elements can have margin and padding applied horizontally but not vertically.

  • Block...read more

Q4. Types of primitives in JS

Ans.

Primitives in JS are data types that are not objects and are immutable.

  • Types of primitives in JS include string, number, boolean, null, undefined, and symbol.

  • Primitives are passed by value, not by reference.

  • Examples: 'hello' (string), 42 (number), true (boolean), null, undefined, Symbol('foo')

Are these interview questions helpful?

Q5. Algo of sorting

Ans.

Sorting algorithm is a method of arranging elements in a specific order.

  • There are various sorting algorithms such as bubble sort, selection sort, insertion sort, merge sort, quick sort, etc.

  • Sorting algorithms can be categorized as comparison-based or non-comparison-based.

  • Efficiency of sorting algorithms is measured in terms of time complexity and space complexity.

Q6. Explain directives

Ans.

Directives in AngularJS allow you to create custom HTML tags and attributes that extend the functionality of HTML.

  • Directives are markers on a DOM element that tell AngularJS to attach a specified behavior to that DOM element.

  • They can be used to create reusable components, manipulate the DOM, and add interactivity to an application.

  • Examples of directives include ng-model, ng-show, ng-hide, ng-repeat, and custom directives created by the developer.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Senior UI Engineer Jobs

Job Opportunity For Senior UI Engineer 14-18 years
State Street
3.7
Bangalore / Bengaluru
Senior UI Engineer (React) 3-7 years
IntraEdge Technologies Pvt Ltd
4.3
Pune
Senior UI Engineer 4-6 years
RARR Technologies
4.5
Bangalore / Bengaluru
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

4.0
 • 1.4k Interviews
3.5
 • 193 Interviews
3.7
 • 22 Interviews
2.8
 • 21 Interviews
2.7
 • 17 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Senior UI Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter