Add office photos
Engaged Employer

Cognizant

3.8
based on 50k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Promien Consultancy Services Interview Questions and Answers

Updated 16 Dec 2024
Popular Designations

Q1. How to share data one component to another

Ans.

Using services or @Input/@Output decorators to share data between components

  • Use services to create a shared data service that can be injected into multiple components

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

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

Add your answer

Q2. What is Pipe?

Ans.

Pipe is a feature in Angular that allows transforming data before displaying it in the view.

  • Pipes are used to format and filter data in Angular templates.

  • They can be used to transform data types, apply currency and date formatting, and filter data based on certain criteria.

  • Pipes can be chained together to perform multiple transformations on the same data.

  • Custom pipes can also be created to perform specific transformations not provided by the built-in pipes.

View 1 answer

Q3. How do you implement a login page

Ans.

Implementing a login page involves creating a form for users to input their credentials and validating them against a database.

  • Create a login form with fields for username and password

  • Use Angular's form validation to ensure required fields are filled out

  • Send the user's credentials to a backend server for authentication

  • Upon successful authentication, redirect the user to the main application page

Add your answer

Q4. Promise vs Observables?

Ans.

Promises are used for asynchronous operations that return a single value, while Observables are used for streams of data.

  • Promises return a single value, while Observables can return multiple values over time.

  • Observables can be cancelled, while Promises cannot.

  • Observables have operators like map, filter, and reduce, while Promises do not.

  • Observables are lazy, meaning they only execute when subscribed to, while Promises execute immediately.

  • Promises are easier to understand and ...read more

Add your answer
Discover Promien Consultancy Services interview dos and don'ts from real experiences

Q5. how does 2 components communicate

Ans.

Components can communicate using @Input and @Output decorators, services, and event emitters.

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

  • Use @Output decorator and EventEmitter to emit events from child to parent component

  • Use services to share data between components

Add your answer

Q6. Http request in angular

Ans.

Http request in Angular is used to fetch data from a server or API.

  • Use HttpClient module to make HTTP requests in Angular

  • Subscribe to the Observable returned by the HTTP request to get the data

  • Handle errors using catchError operator

  • Set headers, query parameters, and request body as needed

Add your answer

More about working at Cognizant

Top Rated Mega Company - 2024
Top Rated IT/ITES Company - 2024
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Promien Consultancy Services

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

Top Angular Developer Interview Questions from Similar Companies

3.7
 • 14 Interview Questions
3.6
 • 13 Interview Questions
2.9
 • 10 Interview Questions
3.7
 • 10 Interview Questions
View all
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
70 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