CoverPhoto
Infosys logo
Premium Employer

Infosys

Verified
3.6
based on 39.5k Reviews
Filter interviews by
Angular Developer
Experienced
Skills
Clear (1)

10+ Infosys Angular Developer Interview Questions and Answers

Updated 2 Jan 2025

Q1. What is the difference between authorization and authentication?

Ans.

Authentication verifies the identity of a user, while authorization determines what a user can access.

  • Authentication confirms the user's identity through credentials like username and password.

  • Authorization controls the user's access to resources or features based on their authenticated identity.

  • Example: Logging into a website (authentication) and then being able to view/edit specific pages based on user roles (authorization).

View 1 answer
right arrow

Q2. Software development life cycle

Ans.

Software development life cycle (SDLC) is a process used to design, develop, and maintain software.

  • SDLC consists of several phases: requirements gathering, design, development, testing, deployment, and maintenance.

  • Each phase has specific activities and deliverables.

  • SDLC models include Waterfall, Agile, and DevOps.

  • Waterfall follows a sequential approach, while Agile and DevOps are iterative and involve continuous feedback and improvement.

  • SDLC ensures efficient and quality soft...read more

View 2 more answers
right arrow

Q3. Can you explain attributes in Html

Ans.

Attributes in HTML provide additional information about an element and are defined within the element's start tag.

  • Attributes are used to modify the behavior or appearance of an HTML element.

  • They are specified within the opening tag of an element using name-value pairs.

  • Examples include 'href' in an anchor tag (<a href='https://www.example.com'>) and 'src' in an image tag (<img src='image.jpg'>).

Add your answer
right arrow

Q4. How to transfer data between components

Ans.

Methods to transfer data between components in Angular include Input and Output properties, ViewChild, Services, and Event Emitters.

  • Using Input and Output properties to pass data from parent to child components and emit events from child to parent components.

  • Using ViewChild to access child components and their properties directly from the parent component.

  • Using Services to create a shared service that can be injected into multiple components to share data.

  • Using Event Emitters...read more

Add your answer
right arrow
Discover Infosys interview dos and don'ts from real experiences

Q5. What is Agile. Explain

Ans.

Agile is a project management methodology that emphasizes flexibility, collaboration, and iterative development.

  • Agile focuses on delivering working software in short, iterative cycles called sprints.

  • It values customer collaboration, responding to change, and continuous improvement.

  • Scrum and Kanban are popular Agile frameworks used in software development.

  • Agile promotes self-organizing teams and regular feedback to adapt to changing requirements.

Add your answer
right arrow

Q6. Explain about Flexbox model

Ans.

Flexbox is a layout model in CSS that allows for dynamic and responsive design of web pages.

  • Flexbox is used to create flexible layouts that can adapt to different screen sizes and orientations.

  • It allows for easy alignment and distribution of elements within a container.

  • Flexbox properties include display: flex, flex-direction, justify-content, align-items, and flex-grow.

  • Example: display: flex; justify-content: center; align-items: center; flex-direction: row;

Add your answer
right arrow
Are these interview questions helpful?

Q7. Explain angular components structure

Ans.

Angular components structure consists of a component decorator, template, styles, and class.

  • Components are the building blocks of Angular applications

  • Each component has a decorator that marks it as an Angular component

  • Components have a template that defines the view

  • Styles can be added to components using CSS

  • The class contains the logic for the component

Add your answer
right arrow

Q8. What are directives

Ans.

Directives are markers on a DOM element that tell Angular to attach a specified behavior to that DOM element or transform it.

  • Directives are used to create reusable components in Angular applications.

  • There are three types of directives in Angular: component, structural, and attribute directives.

  • Examples of directives include ngIf, ngFor, and ngStyle.

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. what is lazy loding

Ans.

Lazy loading is a technique in web development where resources are loaded only when needed, improving performance.

  • Lazy loading helps reduce initial load time by loading resources on demand

  • It is commonly used in Angular for loading modules, components, or routes asynchronously

  • Lazy loading can improve user experience by only loading necessary resources when required

Add your answer
right arrow

Q10. what is directive

Ans.

A directive in Angular is a marker on a DOM element that tells Angular to attach a specific behavior to that element.

  • Directives are used to extend HTML with new attributes or elements.

  • They can be classified into three types: Component, Structural, and Attribute directives.

  • Examples include ngIf, ngFor, and ngStyle.

Add your answer
right arrow

Q11. set timeout qustions in js

Ans.

setTimeout function in JavaScript is used to execute a function after a specified amount of time.

  • setTimeout function takes two parameters: a function to be executed and a time delay in milliseconds

  • Example: setTimeout(function(){ console.log('Hello!'); }, 2000); will log 'Hello!' after 2 seconds

  • You can also pass additional arguments to the function being executed

Add your answer
right arrow

Q12. Pipes in Angular

Ans.

Pipes in Angular are used for transforming data in templates.

  • Pipes are used to format data before displaying it in the view.

  • Angular provides built-in pipes like DatePipe, UpperCasePipe, LowerCasePipe, etc.

  • Custom pipes can also be created for specific formatting needs.

  • Pipes can be chained together for multiple transformations.

  • Example: {{ birthday | date:'dd/MM/yyyy' }} will format the birthday date.

Add your answer
right arrow

Q13. Explain validations

Ans.

Validations are checks performed on user input to ensure data integrity and accuracy.

  • Validations are used to ensure that data entered by users meets certain criteria.

  • Common types of validations include required fields, data type checks, length restrictions, and pattern matching.

  • Angular provides built-in validators like required, min/max length, pattern, and custom validators.

  • Validators can be applied to form controls in Angular templates or programmatically in component class...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Infosys Angular Developer

based on 11 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Angular Developer Interview Questions from Similar Companies

TCS Logo
3.7
 • 14 Interview Questions
Capgemini Logo
3.7
 • 13 Interview Questions
ONPASSIVE  Logo
2.9
 • 10 Interview Questions
View all
Recently Viewed
SALARIES
DXC Technology
SALARIES
Publicis Sapient
INTERVIEWS
Infosys
No Interviews
DESIGNATION
DESIGNATION
SALARIES
GlobalLogic
INTERVIEWS
Infosys
No Interviews
DESIGNATION
DESIGNATION
INTERVIEWS
Infosys
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

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