Upload Button Icon Add office photos

ONPASSIVE

Compare button icon Compare button icon Compare

Filter interviews by

ONPASSIVE Angular Developer Interview Questions and Answers

Updated 11 Oct 2020

9 Interview questions

An Angular Developer was asked
Q. What are life cycle hooks, and have you worked with them in your projects?
Ans. 

Life cycle hooks are methods that get called at specific stages of a component's life cycle.

  • ngOnInit() - called after the component is initialized

  • ngOnChanges() - called when the component's input properties change

  • ngOnDestroy() - called just before the component is destroyed

  • Used to perform specific actions at different stages of a component's life cycle

  • Yes, I have worked on them in my project

An Angular Developer was asked
Q. What are @Input() and @Output()?
Ans. 

The @Input() and @Output() are decorators in Angular used for communication between parent and child components.

  • The @Input() decorator is used to pass data from a parent component to a child component.

  • The @Output() decorator is used to emit events from a child component to a parent component.

  • The @Input() property is bound to a value in the parent component template using property binding.

  • The @Output() property is ...

Angular Developer Interview Questions Asked at Other Companies

asked in ONPASSIVE
Q1. How can you pass data between parent and child components?, what ... read more
asked in ONPASSIVE
Q2. What are life cycle hooks, and have you worked with them in your ... read more
asked in ONPASSIVE
Q3. What are the features of the latest TypeScript version you used i ... read more
Q4. What are the ways of improving performance of an application?
asked in TCS
Q5. JavaScript 1. let vs var 2. shallow copy vs deep copy 3. timeout ... read more
An Angular Developer was asked
Q. What is routing, and what is its syntax?
Ans. 

Routing is the process of navigating between different components or pages in an Angular application.

  • Routing is used to create single-page applications (SPAs) where the content is dynamically loaded without refreshing the entire page.

  • In Angular, routing is achieved using the RouterModule and the RouterLink directives.

  • The RouterModule is imported from the @angular/router package and added to the imports array of th...

An Angular Developer was asked
Q. What are the different data bindings in Angular?
Ans. 

Angular has four types of data bindings: Interpolation, Property binding, Event binding, and Two-way binding.

  • Interpolation: {{ expression }}

  • Property binding: [property]="expression"

  • Event binding: (event)="expression"

  • Two-way binding: [(ngModel)]="expression"

An Angular Developer was asked
Q. What is lazy loading, and what is the syntax for implementing it?
Ans. 

Lazy loading is a technique in Angular that loads modules or components on-demand, improving performance.

  • Lazy loading helps reduce initial load time by loading modules or components only when needed

  • It improves performance by splitting the application into smaller chunks

  • Syntax: import() function is used to dynamically load modules or components

An Angular Developer was asked
Q. What are the features of the latest TypeScript version you used in your project?
Ans. 

The latest version of TypeScript used in my project has several new features.

  • Optional Chaining and Nullish Coalescing

  • Improved performance with faster compilation times

  • Support for private fields and methods

  • Higher order type inference from generic constructors

  • Support for ECMAScript private fields

  • Improved support for tuples

  • Smaller bundle sizes with tree shaking

An Angular Developer was asked
Q. How do you call REST APIs in Angular?
Ans. 

To call REST APIs in Angular, use the HttpClient module and its methods like get(), post(), put(), delete().

  • Import the HttpClientModule in your Angular module

  • Inject the HttpClient service in your component or service

  • Use the HttpClient methods to make HTTP requests to the REST APIs

  • Handle the response using observables and subscribe to them

  • Example: httpClient.get('https://api.example.com/data')

  • Example: httpClient.po...

Are these interview questions helpful?
An Angular Developer was asked
Q. What are web workers?
Ans. 

Web workers are JavaScript scripts that run in the background, separate from the main browser thread.

  • Web workers allow for parallel execution of tasks, improving performance and responsiveness.

  • They can perform computationally intensive tasks without blocking the user interface.

  • Web workers communicate with the main thread using message passing.

  • Examples of tasks suitable for web workers include data processing, imag...

An Angular Developer was asked
Q. How can you pass data between parent and child components?, what is component interaction
Ans. 

Passing data between parent and child components is component interaction in Angular.

  • Use @Input decorator to pass data from parent to child component

  • Use @Output decorator and EventEmitter to pass data from child to parent component

  • Use services to share data between components

  • Use ViewChild to access child component's properties and methods from parent component

ONPASSIVE Angular Developer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.

Interview Questionnaire 

10 Questions

  • Q1. What are life cycle hooks and have you worked on them in your project?
  • Q2. How can you pass data between parent and child components?, what is component interaction
  • Q3. What are different data bindings in angular
  • Q4. What is lazy loading and write syntax
  • Q5. What are @Input() and @Output()?
  • Ans. 

    The @Input() and @Output() are decorators in Angular used for communication between parent and child components.

    • The @Input() decorator is used to pass data from a parent component to a child component.

    • The @Output() decorator is used to emit events from a child component to a parent component.

    • The @Input() property is bound to a value in the parent component template using property binding.

    • The @Output() property is bound...

  • Answered by AI
  • Q6. What is routing and write its syntax
  • Q7. What are web workers?
  • Ans. 

    Web workers are JavaScript scripts that run in the background, separate from the main browser thread.

    • Web workers allow for parallel execution of tasks, improving performance and responsiveness.

    • They can perform computationally intensive tasks without blocking the user interface.

    • Web workers communicate with the main thread using message passing.

    • Examples of tasks suitable for web workers include data processing, image man...

  • Answered by AI
  • Q8. Difference between Observable and Promise?
  • Ans. 

    Observable is for handling multiple values over time, while Promise is for handling a single value.

    • Observable can emit multiple values over time, while Promise can only emit a single value.

    • Observable can be cancelled, while Promise cannot be cancelled.

    • Observable provides operators for transforming and combining data, while Promise does not have such operators.

    • Observable is lazy, meaning it won't start emitting values u...

  • Answered by AI
  • Q9. What are the features of latest typescript version you used in your project
  • Ans. 

    The latest version of TypeScript used in my project has several new features.

    • Optional Chaining and Nullish Coalescing

    • Improved performance with faster compilation times

    • Support for private fields and methods

    • Higher order type inference from generic constructors

    • Support for ECMAScript private fields

    • Improved support for tuples

    • Smaller bundle sizes with tree shaking

  • Answered by AI
  • Q10. How do you call REST APIs in angular?
  • Ans. 

    To call REST APIs in Angular, use the HttpClient module and its methods like get(), post(), put(), delete().

    • Import the HttpClientModule in your Angular module

    • Inject the HttpClient service in your component or service

    • Use the HttpClient methods to make HTTP requests to the REST APIs

    • Handle the response using observables and subscribe to them

    • Example: httpClient.get('https://api.example.com/data')

    • Example: httpClient.post('h...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't just read and tell the answers. Practice well by writing code. It gives you confident to face any technical interview.

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 ONPASSIVE ?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Naukri.com and was interviewed before Nov 2019. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Servlet life cycle, bubble sort, quick sort, binary search, how can a software ensure GDPR rules being followed, SQL queries (second highest salary)

Interview Preparation Tips

Interview preparation tips for other job seekers - you will need to give a psychometric test, some beginner sometimes mediocre level programming test and final technical interview which may last till an hour. Do read about 1 or 2 Newgen products before going for the interview. They will definitely ask. Just be confident.Offer letter generally comes within 2 weeks. All the best !!

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

21 students were shortlisted from the 1st MCQ round and in this round we were asked to write the codes (function only) of 3 questions in 1 hour time.

  • Q1. 

    Rotting Oranges Problem Statement

    You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:

    • 0 - representing an empty cell
    • 1 - representing a fre...
  • Q2. 

    Majority Element Problem Statement

    Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.

    Exampl...

  • Q3. 

    Maximum Path Sum Between Two Leaves Problem Description

    You are provided with a non-empty binary tree in which each node contains a non-negative integer value. Your task is to find and return the maximum ...

  • Ans. 

    Find the maximum path sum between two leaf nodes in a binary tree.

    • Traverse the tree to find the maximum path sum between two leaf nodes.

    • Keep track of the maximum sum found so far.

    • Consider all possible paths between leaf nodes.

    • Handle cases where the tree has only a single leaf node.

    • Implement a recursive function to calculate the maximum path sum.

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This was a technical round with DSA based questions.

  • Q1. 

    N-th Node From The End Problem Statement

    You are given a Singly Linked List of integers. The task is to find the N-th node from the end of the list.

    Example:

    Input:
    If the given list is (1 -> -2 -&g...
  • Ans. 

    Find the N-th node from the end of a Singly Linked List of integers.

    • Traverse the list to find the length L of the list.

    • Calculate the position of the N-th node from the beginning as L - N + 1.

    • Traverse the list again to reach the calculated position and return the node's value.

  • Answered by AI
  • Q2. 

    LCA of Binary Tree Problem Statement

    You are given a binary tree consisting of distinct integers and two nodes, X and Y. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...

  • Q3. 

    Reverse Words in a String: Problem Statement

    You are given a string of length N. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...

Round 3 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical Interview round with questions based on DSA

  • Q1. 

    Minimum Time To Solve The Problems

    Given 'N' subjects, each containing a certain number of problems, and 'K' friends, assign subjects to friends such that each subject goes to exactly one friend, maintain...

  • Q2. What is grammar in the context of compiler design?
  • Ans. 

    Grammar in compiler design defines the syntax and structure of a programming language.

    • Grammar specifies the rules for forming valid statements in a programming language.

    • It consists of a set of production rules that define how valid programs can be constructed.

    • There are different types of grammars such as context-free grammar, regular grammar, etc.

    • Example: In C programming language, the grammar specifies that a for loop...

  • Answered by AI
  • Q3. What is a token in compiler design?
  • Ans. 

    A token in compiler design is a basic unit of syntax that the compiler can understand and process.

    • Tokens are the smallest units of a program that are meaningful to the compiler.

    • Examples of tokens include keywords, identifiers, operators, and punctuation symbols.

    • Tokens are generated by the lexical analysis phase of the compiler.

    • Tokens are used by the parser to build the abstract syntax tree of the program.

  • Answered by AI
Round 4 - Video Call 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical round with questions on DSA and Compiler Design mainly. He told me that you’ll be having your final HR round in some time. I knew that I was going well because he seemed to be quite satisfied with my answers.

  • Q1. 

    Sum Root to Leaf Numbers

    You are given an arbitrary binary tree consisting of N nodes, each associated with an integer value from 1 to 9. Each root-to-leaf path can be considered a number formed by concat...

  • Q2. What is a regular language?
  • Ans. 

    A regular language is a language that can be recognized by a finite automaton.

    • Regular languages can be described by regular expressions.

    • Regular languages are closed under union, concatenation, and Kleene star operations.

    • Examples of regular languages include the set of all strings over an alphabet that contain an even number of 'a's.

  • Answered by AI
  • Q3. What are NP and NP-Hard problems?
  • Ans. 

    NP problems are decision problems that can be verified in polynomial time, while NP-Hard problems are at least as hard as the hardest problems in NP.

    • NP problems can be verified in polynomial time but not necessarily solved in polynomial time.

    • NP-Hard problems are at least as hard as the hardest problems in NP, but may not be in NP themselves.

    • Examples of NP problems include the subset sum problem and the traveling salesm...

  • Answered by AI
Round 5 - HR 

Round duration - 30 minutes
Round difficulty - Easy

That was the round for which I’ve been waiting for hours 
She was very friendly and nice to talk to. It didn’t seem that I was talking to the HR. It was more like talking to a friend. Finally we discussed about the pay-scale and work culture in Accolite.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAAccolite Digital Pvt Ltd interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Runtime pollymorphism

Interview Preparation Tips

Round: Test
Experience: I scored good.
Tips: Core java good knowledge.
Duration: 30 minutes
Total Questions: 25

Round: Technical Interview
Experience: like this many ques from core java and hibernate and sql also and I scored good.
Tips: Command over core java and sql also.

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

It was very good

  • Q1. 

    Find the Longest Palindromic Substring

    Given a string ‘S’ composed of lowercase English letters, your task is to identify the longest palindromic substring within ‘S’.

    If there are multiple longest palin...

  • Q2. 

    Minimum Sum in Matrix Problem Statement

    You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one...

Round 2 - Face to Face 

Round duration - 1 hour
Round difficulty - Medium

It was a good interview

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Techno India NJR Institute of Technology. I applied for the job as SDE - 1 in IndoreEligibility criteria7 cgpaTata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - I have done a rigourous training on Data Structure and Algorithms. It really helped me a lot to excel in life. Also I did vocational courses which enhanced my personality. I did analytical mindset training with problem solving methodologies. The hands on training on Python and Unix helped me a lot.Time required to prepare for the interview - 1 yearInterview preparation tips for other job seekers

Tip 1 : Daily practice programming
Tip 2 : Work with honesty
Tip 3 : Do with utmost dedication

Application resume tips for other job seekers

Tip 1 : Write with honesty
Tip 2 : Mention about your achievements

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Face to Face 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Medium

I was asked 2 coding questions, questions from my projects and questions related to different java concepts. One question from cloud computing was also asked.

  • Q1. 

    Maximum Subarray Sum Problem Statement

    Given an array arr of length N consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.

    Explanation...

  • Q2. 

    Add Two Numbers as Linked Lists

    You are given two singly linked lists, where each list represents a positive number without any leading zeros.

    Your task is to add these two numbers and return the sum as ...

  • Ans. 

    Add two numbers represented as linked lists and return the sum as a linked list.

    • Traverse both linked lists simultaneously while keeping track of carry

    • Create a new linked list to store the sum

    • Handle cases where one list is longer than the other

    • Consider edge cases like carry at the end of addition

  • Answered by AI
Round 2 - HR 

Round duration - 15 minutes
Round difficulty - Easy

It was a normal discussion about the role, the job expectations and about the company culture.

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from Bharati Vidyapeeth's College of Engineering. I applied for the job as SDE - 1 in DelhiEligibility criteriaAbove 8 CGPANewgen Software interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, System Design, OOPS, Dynamic Programming, AptitudeTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Do at-least 200+ dsa problems from various topics.
Tip 2 : Make 2-3 projects and be well versed with their functionality.
Tip 3 : Practice aptitude questions and time yourself while doing the questions.

Application resume tips for other job seekers

Tip 1: Keep your resume short, try to make it one pager only.
Tip 2: Mention only position specific projects, and if you have got a good academic score mention it on top.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Coding Test 

Hacker rank test, java code and system design

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview in May 2025, where I was asked the following questions.

  • Q1. Where are you from?
  • Ans. 

    I'm from a vibrant city known for its tech innovation, diverse culture, and beautiful parks, where creativity thrives.

    • The city has a rich history, with landmarks dating back to the 1800s.

    • It's a hub for tech startups, attracting talent from around the world.

    • The local cuisine is diverse, offering everything from street food to fine dining.

    • There are numerous parks and recreational areas, perfect for outdoor activities.

  • Answered by AI
  • Q2. In which year do you plan to complete your postgraduate studies?
  • Ans. 

    I plan to complete my postgraduate studies by 2025, focusing on advanced software development techniques and emerging technologies.

    • I am currently enrolled in a master's program that spans two years.

    • I aim to complete my thesis on machine learning applications by mid-2025.

    • I have set a timeline to finish all coursework by the end of 2024.

  • Answered by AI
  • Q3. What percentage did you achieve in your postgraduate studies?
  • Ans. 

    I achieved a commendable percentage in my postgraduate studies, reflecting my dedication and understanding of the subject matter.

    • Graduated with a percentage of 85%, which placed me in the top 10% of my class.

    • Completed a thesis project that contributed to my high marks, focusing on software optimization techniques.

    • Participated in various workshops and seminars, enhancing my practical knowledge and skills.

  • Answered by AI
  • Q4. What the purpose of job
  • Ans. 

    The purpose of a job is to fulfill responsibilities, contribute to goals, and achieve personal and professional growth.

    • Provides financial stability: A job allows individuals to earn a living and support themselves and their families.

    • Fosters personal development: Engaging in work helps individuals develop new skills and gain experience.

    • Contributes to society: Jobs create products or services that benefit the community a...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Communicat essaly
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DSA questions were asked of easy to mid

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DSA easy to mid level were asked

ONPASSIVE Interview FAQs

What are the top questions asked in ONPASSIVE Angular Developer interview?

Some of the top questions asked at the ONPASSIVE Angular Developer interview -

  1. How can you pass data between parent and child components?, what is component i...read more
  2. What are life cycle hooks and have you worked on them in your proje...read more
  3. what are the features of latest typescript version you used in your proj...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS iON Interview Questions
3.8
 • 386 Interviews
ITC Infotech Interview Questions
3.7
 • 378 Interviews
CitiusTech Interview Questions
3.3
 • 290 Interviews
NeoSOFT Interview Questions
3.6
 • 280 Interviews
Altimetrik Interview Questions
3.7
 • 243 Interviews
Episource Interview Questions
3.9
 • 224 Interviews
Xoriant Interview Questions
4.1
 • 215 Interviews
INDIUM Interview Questions
4.0
 • 203 Interviews
View all
ONPASSIVE Angular Developer Salary
based on 25 salaries
₹5 L/yr - ₹9.6 L/yr
27% more than the average Angular Developer Salary in India
View more details

ONPASSIVE Angular Developer Reviews and Ratings

based on 3 reviews

4.0/5

Rating in categories

3.2

Skill development

3.3

Work-life balance

4.0

Salary

3.0

Job security

4.1

Company culture

3.2

Promotions

4.1

Work satisfaction

Explore 3 Reviews and Ratings
Software Engineer
143 salaries
unlock blur

₹5 L/yr - ₹10.8 L/yr

Senior Software Engineer
69 salaries
unlock blur

₹8.6 L/yr - ₹16 L/yr

Business Analyst
47 salaries
unlock blur

₹3 L/yr - ₹10.1 L/yr

Java Developer
40 salaries
unlock blur

₹3 L/yr - ₹8 L/yr

Technical Support Engineer
40 salaries
unlock blur

₹2.4 L/yr - ₹6 L/yr

Explore more salaries
Compare ONPASSIVE with

ITC Infotech

3.7
Compare

CMS IT Services

3.1
Compare

KocharTech

3.9
Compare

3i Infotech

3.4
Compare
write
Share an Interview