Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Zensar Technologies Team. If you also belong to the team, you can get access from here

Zensar Technologies Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Zensar Technologies UI Frontend Developer Interview Questions and Answers

Updated 5 Sep 2022

14 Interview questions

An UI Frontend Developer was asked
Q. What is bubbling and capturing in JavaScript?
Ans. 

Bubbling and capturing are two phases of event propagation in JavaScript.

  • Bubbling is the default phase where the event starts from the innermost element and propagates outwards to the outermost element.

  • Capturing is the opposite phase where the event starts from the outermost element and propagates inwards to the innermost element.

  • Both phases can be used to handle events on parent and child elements.

  • Event.stopPropa...

An UI Frontend Developer was asked
Q. What are the types of functions in JavaScript?
Ans. 

JS has two types of functions: named and anonymous.

  • Named functions are declared with a name and can be called anywhere in the code.

  • Anonymous functions are declared without a name and are usually assigned to a variable.

  • Arrow functions are a shorthand for anonymous functions.

  • Higher-order functions take one or more functions as arguments or return a function as a result.

UI Frontend Developer Interview Questions Asked at Other Companies

Q1. What are pseudo classes and pseudo elements in CSS?
Q2. What is the difference between display: inline, display: block, a ... read more
asked in Amdocs
Q3. I was asked to create a basic input with a toggle. When the toggl ... read more
Q4. What is the difference between elements and components in React?
Q5. What is the difference between position: absolute and position: r ... read more
An UI Frontend Developer was asked
Q. What is the difference between elements and components in React?
Ans. 

Elements are the smallest building blocks of React UI, while components are made up of one or more elements.

  • Elements are immutable and cannot be changed once created

  • Components are reusable and can be composed of other components

  • Elements are represented by tags, while components are represented by functions or classes

  • Examples of elements include

    , , and , while examples of components include
    ,
    , and

An UI Frontend Developer was asked
Q. What are canvas and SVGs?
Ans. 

Canvas and SVGs are two different ways to create graphics on the web.

  • Canvas is a bitmap-based drawing technology that allows for dynamic, scriptable rendering of 2D shapes and bitmap images.

  • SVG is a vector-based drawing technology that allows for scalable, resolution-independent graphics.

  • Canvas is best suited for complex, interactive graphics, while SVG is best suited for static, high-resolution graphics.

  • Canvas is...

An UI Frontend Developer was asked
Q. What is the difference between position: absolute and position: relative in CSS?
Ans. 

position: absolute takes element out of normal flow, position: relative keeps element in normal flow but allows for positioning

  • position: absolute removes element from normal flow and positions it relative to the nearest positioned ancestor

  • position: relative keeps element in normal flow but allows for positioning relative to its normal position

  • position: absolute elements are positioned relative to the nearest posit...

An UI Frontend Developer was asked
Q. What is the difference between display: inline, display: block, and display: inline-block in CSS?
Ans. 

display: inline, block and inline-block are CSS properties that define how an element is displayed on a webpage.

  • display: inline - element is displayed inline with the text and other inline elements. It does not start on a new line.

  • display: block - element is displayed as a block-level element, starting on a new line and taking up the full width available.

  • display: inline-block - element is displayed inline with the...

An UI Frontend Developer was asked
Q. What are the ways to create objects in JS?
Ans. 

There are several ways to create objects in JS, including object literals, constructor functions, and ES6 classes.

  • Object literals: var obj = {key1: value1, key2: value2}

  • Constructor functions: function Person(name, age) {this.name = name; this.age = age}; var person1 = new Person('John', 30)

  • ES6 classes: class Car {constructor(make, model) {this.make = make; this.model = model}}; var car1 = new Car('Toyota', 'Coroll...

Are these interview questions helpful?
An UI Frontend Developer was asked
Q. What is a dynamic import in React?
Ans. 

Dynamic import is a feature in React that allows loading components or modules on demand.

  • Used to improve performance by loading components only when needed

  • Implemented using the 'import()' function

  • Returns a Promise that resolves to the module

  • Can be used with React.lazy() to lazy load components

An UI Frontend Developer was asked
Q. What is function currying in JS?
Ans. 

Function currying is a technique of transforming a function that takes multiple arguments into a sequence of functions that each take a single argument.

  • Currying allows partial application of a function.

  • It helps in creating reusable functions.

  • Curried functions can be composed easily.

  • It can be achieved using bind() or closures.

  • Example: const add = x => y => x + y; add(2)(3) returns 5.

An UI Frontend Developer was asked
Q. What are forwardRefs in React?
Ans. 

ForwardRefs allow React components to pass refs to their children.

  • Used to access child component's DOM node or instance

  • Used with functional components

  • Helps in avoiding prop drilling

  • Can be used with React.memo for performance optimization

Zensar Technologies UI Frontend Developer Interview Experiences

1 interview found

I applied via Naukri.com

Round 1 - Technical 

(14 Questions)

  • Q1. Difference between display: inline, display: block and display: inline-block in CSS?
  • Ans. 

    display: inline, block and inline-block are CSS properties that define how an element is displayed on a webpage.

    • display: inline - element is displayed inline with the text and other inline elements. It does not start on a new line.

    • display: block - element is displayed as a block-level element, starting on a new line and taking up the full width available.

    • display: inline-block - element is displayed inline with the text...

  • Answered by AI
  • Q2. What are pseudo classes and pseudo elements in CSS?
  • Ans. 

    Pseudo classes and pseudo elements are CSS selectors that target specific states or parts of an element.

    • Pseudo classes target specific states of an element, such as :hover, :active, and :focus.

    • Pseudo elements target specific parts of an element, such as ::before and ::after.

    • Pseudo classes and pseudo elements are denoted by a colon (:) or double colon (::) preceding the selector.

    • They can be used to add special effects, ...

  • Answered by AI
  • Q3. What are the ways to create objects in JS?
  • Ans. 

    There are several ways to create objects in JS, including object literals, constructor functions, and ES6 classes.

    • Object literals: var obj = {key1: value1, key2: value2}

    • Constructor functions: function Person(name, age) {this.name = name; this.age = age}; var person1 = new Person('John', 30)

    • ES6 classes: class Car {constructor(make, model) {this.make = make; this.model = model}}; var car1 = new Car('Toyota', 'Corolla')

  • Answered by AI
  • Q4. What are some of the string methods in JS?
  • Ans. 

    JS has various string methods to manipulate and extract information from strings.

    • toUpperCase() - converts string to uppercase

    • toLowerCase() - converts string to lowercase

    • charAt() - returns character at specified index

    • indexOf() - returns index of specified substring

    • slice() - extracts a section of a string

    • replace() - replaces specified substring with another string

    • split() - splits a string into an array of substrings

    • trim(...

  • Answered by AI
  • Q5. What are the new input types in HTML5?
  • Ans. 

    New input types in HTML5 include color, date, email, number, range, tel, and more.

    • Color: Allows users to select a color.

    • Date: Provides a date picker for selecting dates.

    • Email: Ensures that the input is a valid email address.

    • Number: Restricts input to numeric values.

    • Range: Allows users to select a value within a specified range.

    • Tel: Ensures that the input is a valid telephone number.

  • Answered by AI
  • Q6. What are forwardRefs in React?
  • Ans. 

    ForwardRefs allow React components to pass refs to their children.

    • Used to access child component's DOM node or instance

    • Used with functional components

    • Helps in avoiding prop drilling

    • Can be used with React.memo for performance optimization

  • Answered by AI
  • Q7. What is a z-index in CSS?
  • Ans. 

    z-index is a CSS property that controls the stacking order of elements on a webpage.

    • z-index only works on positioned elements (position: absolute, position: relative, position: fixed, or position: sticky)

    • Higher z-index values stack on top of lower ones

    • Negative z-index values can be used to place elements behind other elements

    • z-index can be used to create layered effects on a webpage

  • Answered by AI
  • Q8. What is function currying in JS?
  • Ans. 

    Function currying is a technique of transforming a function that takes multiple arguments into a sequence of functions that each take a single argument.

    • Currying allows partial application of a function.

    • It helps in creating reusable functions.

    • Curried functions can be composed easily.

    • It can be achieved using bind() or closures.

    • Example: const add = x => y => x + y; add(2)(3) returns 5.

  • Answered by AI
  • Q9. What is the difference between element and components in React?
  • Ans. 

    Elements are the smallest building blocks of React UI, while components are made up of one or more elements.

    • Elements are immutable and cannot be changed once created

    • Components are reusable and can be composed of other components

    • Elements are represented by tags, while components are represented by functions or classes

    • Examples of elements include

      , , and , while examples of components include
      ,
      , and

Answered by AI
  • Q10. What are the type of functions in JS?
  • Ans. 

    JS has two types of functions: named and anonymous.

    • Named functions are declared with a name and can be called anywhere in the code.

    • Anonymous functions are declared without a name and are usually assigned to a variable.

    • Arrow functions are a shorthand for anonymous functions.

    • Higher-order functions take one or more functions as arguments or return a function as a result.

  • Answered by AI
  • Q11. What is a dynamic import in React?
  • Ans. 

    Dynamic import is a feature in React that allows loading components or modules on demand.

    • Used to improve performance by loading components only when needed

    • Implemented using the 'import()' function

    • Returns a Promise that resolves to the module

    • Can be used with React.lazy() to lazy load components

  • Answered by AI
  • Q12. What is bubbling and capturing in JS?
  • Ans. 

    Bubbling and capturing are two phases of event propagation in JavaScript.

    • Bubbling is the default phase where the event starts from the innermost element and propagates outwards to the outermost element.

    • Capturing is the opposite phase where the event starts from the outermost element and propagates inwards to the innermost element.

    • Both phases can be used to handle events on parent and child elements.

    • Event.stopPropagatio...

  • Answered by AI
  • Q13. What is position: absolute vs position: relative in CSS?
  • Ans. 

    position: absolute takes element out of normal flow, position: relative keeps element in normal flow but allows for positioning

    • position: absolute removes element from normal flow and positions it relative to the nearest positioned ancestor

    • position: relative keeps element in normal flow but allows for positioning relative to its normal position

    • position: absolute elements are positioned relative to the nearest positioned...

  • Answered by AI
  • Q14. What is canvas and SVGs?
  • Ans. 

    Canvas and SVGs are two different ways to create graphics on the web.

    • Canvas is a bitmap-based drawing technology that allows for dynamic, scriptable rendering of 2D shapes and bitmap images.

    • SVG is a vector-based drawing technology that allows for scalable, resolution-independent graphics.

    • Canvas is best suited for complex, interactive graphics, while SVG is best suited for static, high-resolution graphics.

    • Canvas is supp...

  • Answered by AI

    Interview Preparation Tips

    Topics to prepare for Zensar Technologies UI Frontend Developer interview:
    • Html5
    • CSS3
    • Javascript
    • React
    • Bootstrap
    Interview preparation tips for other job seekers - Be confident, answer what you know, accept what you don't. They only had 1 round for React Frontend Developer role.

    Skills evaluated in this interview

    Top trending discussions

    View All
    Interview Tips & Stories
    1w (edited)
    a team lead
    Why are women still asked such personal questions in interview?
    I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
    Got a question about Zensar Technologies?
    Ask anonymously on communities.

    Interview questions from similar companies

    Interview Questionnaire 

    7 Questions

    • Q1. React life cycle what is difference between useCallback and useMemo
    • Ans. 

      useCallback and useMemo are both hooks used to optimize performance in React by memoizing values and functions.

      • useCallback is used to memoize functions and prevent unnecessary re-renders when passed as props to child components.

      • useMemo is used to memoize values and prevent unnecessary re-computations when used in the component's render method.

      • Both hooks take a dependency array as a second argument to determine when to ...

    • Answered by AI
    • Q2. Javascript denouncing vs throttling
    • Ans. 

      Javascript denouncing vs throttling

      • Denouncing is delaying the execution of a function until a certain amount of time has passed since the last time it was called

      • Throttling is limiting the number of times a function can be called within a certain time period

      • Denouncing is useful for functions that are called frequently but only need to be executed once in a while

      • Throttling is useful for functions that can be called multi...

    • Answered by AI
    • Q3. Javascript hoisting related questions and snippets
    • Q4. Closures, inheritance
    • Q5. Es6 let const differece
    • Ans. 

      let and const are block-scoped variables introduced in ES6.

      • let allows reassignment while const does not.

      • let and const have different hoisting behaviors.

      • const must be initialized during declaration.

      • let and const are not accessible outside their block scope.

    • Answered by AI
    • Q6. Some live scenerios
    • Q7. How to improve page optimization in react
    • Ans. 

      Optimize page load time by reducing bundle size and using lazy loading.

      • Use code splitting to split the bundle into smaller chunks

      • Use lazy loading to load components only when needed

      • Minimize the use of heavy libraries and optimize images

      • Use server-side rendering to reduce initial load time

      • Use caching to reduce subsequent load times

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - prepare for es6 features, javascript concepts, reactjs core concepts and lifecycle and class components vs functional components

    Skills evaluated in this interview

    UI Frontend Developer Interview Questions Asked at Other Companies

    Q1. What are pseudo classes and pseudo elements in CSS?
    Q2. What is the difference between display: inline, display: block, a ... read more
    asked in Amdocs
    Q3. I was asked to create a basic input with a toggle. When the toggl ... read more
    Q4. What is the difference between elements and components in React?
    Q5. What is the difference between position: absolute and position: r ... read more

    Interview Questionnaire 

    5 Questions

    • Q1. Oops,program on oops concepts,collection related examples. Hibernate and spring related questions
    • Q2. Logical programs String related
    • Q3. Managerial round Most of the questions asked on java, jQuery, java script and hibernate
    • Q4. Spring annotations Discussion on previous project
    • Q5. Introduction Skills related Salary discussion
    Interview experience
    3
    Average
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Assignment 

    Mine sweeper logic for a box click

    Round 2 - One-on-one 

    (1 Question)

    • Q1. JavaScript objects
    Round 3 - One-on-one 

    (1 Question)

    • Q1. Delete element from linked list
    • Ans. 

      To delete an element from a linked list, update the pointers of the previous node to skip the node to be deleted.

      • Traverse the linked list to find the node to be deleted

      • Update the 'next' pointer of the previous node to skip the node to be deleted

      • Free the memory allocated to the node to be deleted

    • Answered by AI
    Round 4 - HR 

    (1 Question)

    • Q1. Expected salary
    • Ans. 

      I expect a competitive salary that reflects my skills, experience, and the industry standards for a Senior Software Engineer.

      • Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.

      • Consider my experience: With over 5 years in software development and expertise in multiple programming languages, I bring significant value.

      • Location matters: Salaries can ...

    • Answered by AI

    Skills evaluated in this interview

    Interview Questionnaire 

    1 Question

    • Q1. Core java

    I applied via LinkedIn and was interviewed in Jul 2020. There was 1 interview round.

    Interview Questionnaire 

    1 Question

    • Q1. I was asked lot of technical questions

    Interview Preparation Tips

    Interview preparation tips for other job seekers - I am happy with the interview

    I applied via Naukri.com and was interviewed in Dec 2020. There was 1 interview round.

    Interview Questionnaire 

    1 Question

    • Q1. What is Company payroll Process
    • Ans. 

      Company payroll process is the system used to manage employee compensation and benefits.

      • Payroll process includes calculating employee salaries, taxes, and deductions

      • It also involves managing employee benefits such as health insurance and retirement plans

      • Payroll process can be done in-house or outsourced to a third-party provider

      • It is important to ensure compliance with labor laws and regulations

      • Payroll process can be a...

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - My Team members is very good
    Are these interview questions helpful?

    I appeared for an interview before Jun 2021.

    Round 1 - Coding Test 

    Had DSA and aptitude questions

    Round 2 - Technical 

    (1 Question)

    • Q1. DSA a questions, Database Questions
    Round 3 - HR 

    (1 Question)

    • Q1. 5 min question and answers about company

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Prepare DSA and database management

    I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.

    Round 1 - Aptitude Test 

    Basic aptitude knowledge

    Round 2 - Coding Test 

    Strong in java

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Be confidence and focus on your goal

    Interview Questionnaire 

    3 Questions

    • Q1. Basic questions from the resume content. Be through with the project mentioned in your resume. Also try to prepare at least one object oriented language basics.
    • Q2. I was asked questions on RADIUS TACACS Firewalls and VPN as I had mentioned network security in my resume
    • Q3. Not at all difficult just as general HR interview

    Interview Preparation Tips

    Round: Test
    Experience: If you are applying as a fresher, you may have to appear for a test which will have basic aptitude questions on General Maths and English followed by two basic coding questions in any language like C C++ Java etc

    Round: Group Discussion
    Experience: Just be confident in keeping your point. Cracking this won't be that difficult.

    Zensar Technologies Interview FAQs

    How many rounds are there in Zensar Technologies UI Frontend Developer interview?
    Zensar Technologies interview process usually has 1 rounds. The most common rounds in the Zensar Technologies interview process are Technical.
    What are the top questions asked in Zensar Technologies UI Frontend Developer interview?

    Some of the top questions asked at the Zensar Technologies UI Frontend Developer interview -

    1. What are pseudo classes and pseudo elements in C...read more
    2. Difference between display: inline, display: block and display: inline-block in...read more
    3. What is the difference between element and components in Rea...read more

    Tell us how to improve this page.

    Interview Questions from Similar Companies

    DXC Technology Interview Questions
    3.6
     • 841 Interviews
    Nagarro Interview Questions
    4.0
     • 793 Interviews
    NTT Data Interview Questions
    3.8
     • 661 Interviews
    Publicis Sapient Interview Questions
    3.5
     • 645 Interviews
    GlobalLogic Interview Questions
    3.6
     • 628 Interviews
    EPAM Systems Interview Questions
    3.7
     • 569 Interviews
    UST Interview Questions
    3.8
     • 544 Interviews
    View all
    Senior Software Engineer
    3.9k salaries
    unlock blur

    ₹9.6 L/yr - ₹23.4 L/yr

    Software Engineer
    3.8k salaries
    unlock blur

    ₹3.5 L/yr - ₹9.3 L/yr

    Technical Specialist
    1.6k salaries
    unlock blur

    ₹16.6 L/yr - ₹29 L/yr

    Softwaretest Engineer
    832 salaries
    unlock blur

    ₹3.1 L/yr - ₹7.5 L/yr

    Senior Technical Specialist
    794 salaries
    unlock blur

    ₹21.1 L/yr - ₹39.3 L/yr

    Explore more salaries
    Compare Zensar Technologies with

    DXC Technology

    3.6
    Compare

    Optum Global Solutions

    4.0
    Compare

    Virtusa Consulting Services

    3.7
    Compare

    CGI Group

    4.0
    Compare
    write
    Share an Interview