Photon Technologies
10+ Just Eat Takeaway.com Interview Questions and Answers
Q1. HOW CAN WE TRANSFER DATA FROM ONE COMPONENT TO ANOTHER ?
Data can be transferred between components using props, state, context, or Redux.
Props: pass data from parent to child components
State: manage data within a component
Context: share data between components without passing props
Redux: manage global state for the entire application
Examples: passing user data from a login component to a dashboard component using props, managing form data within a component using state, sharing theme data between components using context, managing...read more
Q2. WHAT ARE INLINE ELEMENTS AND BLOCK ELEMENTS IN HTML ?
Inline elements are elements that do not start on a new line and only take up as much width as necessary. Block elements are elements that start on a new line and take up the full width available.
Inline elements include <span>, <a>, <strong>, <em>, <img>, <input>, <button>
Block elements include <div>, <p>, <h1> - <h6>, <ul>, <ol>, <li>, <table>, <form>
Q3. WHAT IS LAZY LOADING ? HOW CAN WE CALL HTTP REQUESTS FROM ONE COMPONENT TO ANOTHER COMPONENT ?
Lazy loading is a technique to defer loading of non-critical resources until they are needed.
Lazy loading improves page load time and performance.
It is commonly used for images, videos, and other media files.
To call HTTP requests from one component to another, we can use Angular's HttpClient service.
We can inject the HttpClient service in the constructor of the component and use its methods to make HTTP requests.
We can also use Angular's @Input and @Output decorators to pass ...read more
Q4. WHAT IS THE DIFFERENCE BETWEEN ANGULAR AND ANGULAR JS ? WHAT ARE THE MODULES IN ANGULAR ?
Angular is a complete rewrite of AngularJS with improved performance and features.
Angular is a TypeScript-based framework while AngularJS is a JavaScript-based framework.
Angular has a more component-based architecture while AngularJS uses a controller-based architecture.
Angular has better performance and improved features like server-side rendering and lazy loading.
Modules in Angular are used to organize code into separate, reusable pieces. Examples include FormsModule for ha...read more
Q5. WHAT IS ROUTING HOW CAN WE USE THAT ? WHAT ARE COMPONENT SERVICES ?
Routing is the process of selecting a path for network traffic. It is used to direct users to different pages in a web application.
Routing is used in web development to navigate between different pages or views in a web application
It involves defining routes and mapping them to specific components or views
Routing can be used to pass parameters and data between different components
Component services are reusable services that can be injected into components to provide function...read more
Q6. Explain Work manager and how it is implemented
Work manager is an Android library that manages background tasks efficiently.
Work manager is part of Android Jetpack and is used for deferrable background tasks.
It provides a way to schedule tasks that need to run even if the app is in the background or not running.
Work manager handles task constraints, retries, and backoff policies automatically.
Tasks can be one-time or periodic, with support for specifying constraints like network availability or charging status.
Example: Wo...read more
Q7. WHAT IS SYMANTIC TAG IN HTML?
Semantic tags in HTML are special tags that provide meaning and structure to the content, making it easier for search engines and screen readers to understand.
Semantic tags help define the structure of a web page, such as <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>, etc.
They improve accessibility by providing context to screen readers and assistive technologies.
Using semantic tags can also improve SEO as search engines can better understand the content an...read more
Q8. How retrofit is integrated
Retrofit is integrated in Android apps using a few simple steps.
Add Retrofit dependency in build.gradle file
Create an interface with API endpoints using Retrofit annotations
Instantiate Retrofit object with base URL and converter factory
Create API service using the interface and Retrofit object
Make API calls using the service and handle responses
Q9. How to create custom UI
Custom UI can be created by designing layouts using XML or programmatically in Android.
Design UI elements using XML in layout files
Customize UI elements programmatically using Java or Kotlin
Use libraries like ConstraintLayout for complex layouts
Implement custom views by extending existing views or creating new ones
Q10. How will you handle alert
I will handle alerts by prioritizing them based on severity, investigating the root cause, and implementing necessary actions to resolve the issue.
Prioritize alerts based on severity levels (e.g. critical, high, medium, low)
Investigate the root cause of the alert to understand the underlying issue
Collaborate with relevant teams to address and resolve the alert in a timely manner
Implement necessary actions to prevent similar alerts in the future (e.g. code fixes, process impro...read more
Q11. How will you handle dropdown
Dropdowns can be handled by identifying the dropdown element, selecting an option, and verifying the selection.
Identify the dropdown element using its locator (ID, class, etc.)
Use a method like selectByVisibleText() or selectByValue() to choose an option
Verify the selected option to ensure it was successfully chosen
Q12. all java 8 features
Java 8 introduced several new features including lambda expressions, streams, default methods, and more.
Lambda expressions allow for functional programming in Java.
Streams provide a way to work with collections in a more functional style.
Default methods allow interfaces to have method implementations.
Optional class helps to avoid NullPointerExceptions.
DateTime API provides a more comprehensive way to work with dates and times.
Q13. Have your worked on Agile?
Q14. What is Software development life cycle?
Interview Process at Just Eat Takeaway.com
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month