Add office photos
Employer?
Claim Account for FREE

ONPASSIVE

3.1
based on 256 Reviews
Filter interviews by

20+ KARNAWATI TRADELINK Interview Questions and Answers

Updated 16 Sep 2024
Popular Designations

Q1. 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

View 4 more answers

Q2. What are life cycle hooks and have you worked on them in your project?

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

View 2 more answers

Q3. 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

View 4 more answers

Q4. What are 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"

View 2 more answers
Discover KARNAWATI TRADELINK interview dos and don'ts from real experiences

Q5. 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('https://api.example.com/data', postData)

View 2 more answers

Q6. What is the importance of having Exploratatory Testing in Test plan?

Ans.

Exploratory testing in test plan helps uncover defects that may not be found through scripted testing.

  • Allows testers to explore the application and identify defects that may not be covered in scripted tests

  • Encourages creativity and critical thinking in testers

  • Helps in finding unexpected issues and improving test coverage

  • Can be more efficient in certain scenarios compared to scripted testing

  • Provides valuable feedback to improve the overall quality of the software

Add your answer
Are these interview questions helpful?

Q7. What is your test strategy and test plan when you are assigned to E-Commerce project?

Ans.

My test strategy for an E-Commerce project involves thorough functional testing, performance testing, security testing, and user experience testing.

  • Conduct functional testing to ensure all features work as expected (e.g. product search, add to cart, checkout).

  • Perform performance testing to assess system response times under various loads (e.g. peak shopping periods).

  • Conduct security testing to identify vulnerabilities in payment processing and user data protection.

  • Test user e...read more

Add your answer

Q8. Tell me about a common challenge that you faced while testing an application?

Ans.

One common challenge I faced while testing an application was dealing with inconsistent test environments.

  • Inconsistent test environments can lead to unreliable test results.

  • Ensuring that all test environments are set up correctly and consistently is crucial.

  • Communicating with developers and other team members to address any issues with test environments is important.

  • Documenting any discrepancies or issues encountered during testing for future reference.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What will you do if the requirements are keep on changing?

Ans.

I will communicate with stakeholders to understand the changes, assess impact on current work, prioritize tasks, and update documentation accordingly.

  • Communicate with stakeholders to understand the changes

  • Assess impact on current work and project timeline

  • Prioritize tasks based on new requirements

  • Update documentation and test cases accordingly

Add your answer

Q10. How do you handle the scenario if there is a scope creep?

Ans.

I would communicate with stakeholders to understand the changes, assess impact on project timeline and budget, and document the changes formally.

  • Communicate with stakeholders to understand the changes

  • Assess impact on project timeline and budget

  • Document the changes formally

Add your answer

Q11. what is routing and write 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 the app module.

  • Routes are defined as an array of objects, where e...read more

View 2 more answers

Q12. What is lazy loading and write syntax

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

View 2 more answers

Q13. 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 until someone subscribes to it, while Promise starts execut...read more

View 2 more answers

Q14. What do you know about Bug release and Bug Leakage?

Ans.

Bug release is when a bug is fixed and the updated software is released to users. Bug leakage is when a bug is not detected during testing and is found by users after release.

  • Bug release occurs when a bug is fixed and the updated software is released to users.

  • Bug leakage happens when a bug is not detected during testing and is found by users after release.

  • Bug release is a planned process, while bug leakage is an unplanned occurrence.

  • Bug release can be controlled by thorough t...read more

Add your answer

Q15. What is your approach when defect found in Production?

Ans.

I prioritize investigating the root cause, collaborating with the team to fix the defect, and implementing preventive measures.

  • Investigate the root cause of the defect

  • Collaborate with the team to fix the defect

  • Implement preventive measures to avoid similar defects in the future

Add your answer

Q16. 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 to an event in the child component template using event b...read more

View 1 answer

Q17. Can you tell me about the Defect life cycle?

Ans.

Defect life cycle is the process of identifying, reporting, fixing, retesting, and closing defects in software development.

  • Defect identification: Defects are identified through testing or user feedback.

  • Defect reporting: Once a defect is identified, it is reported in a defect tracking system.

  • Defect fixing: Developers analyze and fix the reported defects.

  • Defect retesting: Testers verify that the fixed defects are indeed resolved.

  • Defect closing: Once the fixed defects are verifi...read more

Add your answer

Q18. 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 manipulation, and complex calculations.

View 1 answer

Q19. What difference between spring vs spring boot

Ans.

Spring is a framework while Spring Boot is an extension of Spring.

  • Spring Boot provides a pre-configured environment for Spring applications.

  • Spring Boot reduces the amount of boilerplate code required for setting up a Spring application.

  • Spring Boot includes an embedded server, making it easier to deploy applications.

  • Spring Boot provides a range of starter dependencies for common use cases.

  • Spring Boot is ideal for microservices architecture.

  • Spring is more flexible and customiza...read more

View 1 answer

Q20. What's are access modifiers What is thread locking What is hasmap and hashset

Ans.

Access modifiers control the visibility of class members. Thread locking is a mechanism to synchronize access to shared resources. HashMap and HashSet are Java collections.

  • Access modifiers include public, private, protected, and default

  • Thread locking prevents multiple threads from accessing shared resources simultaneously

  • HashMap is a collection that stores key-value pairs and allows null keys and values

  • HashSet is a collection that stores unique elements and does not allow dup...read more

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

Interview Process at KARNAWATI TRADELINK

based on 6 interviews in the last 1 year
Interview experience
3.3
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.9
 • 318 Interview Questions
4.2
 • 310 Interview Questions
4.0
 • 264 Interview Questions
4.0
 • 249 Interview Questions
3.8
 • 209 Interview Questions
3.7
 • 133 Interview Questions
View all
Top ONPASSIVE Interview Questions And Answers
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
Get AmbitionBox app

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