Infosys
Realme Interview Questions and Answers
Q1. If a client complaints after fresh deployment that application has become slow.What all approaches you will follow and how you ll find the issue. How you ll manage the client
To address client complaint of slow application post-deployment, I would follow a systematic approach to identify and resolve the issue while keeping the client informed.
First, I would gather more information from the client about the specific areas of the application that are slow and the frequency of the issue.
Next, I would review the application logs to identify any errors or performance issues.
I would also check the server and database performance metrics to ensure they a...read more
Q2. What is SPA? How to load another module.what is lazy loading
SPA stands for Single Page Application. Lazy loading is a technique to load modules on demand.
SPA is a web application that loads a single HTML page and dynamically updates the content as the user interacts with it.
To load another module in SPA, we can use lazy loading technique which loads the module only when it is required.
Lazy loading helps in reducing the initial load time of the application and improves the performance.
For example, in Angular, we can use loadChildren() ...read more
Q3. If there is no template to component will it get rendered on ui
No, it will not get rendered on UI without a template.
A component needs a template to be rendered on UI.
Without a template, the component will not be visible on the UI.
The template defines the structure and content of the component.
If there is no template, the component will not have any visual representation.
Q4. What is observable and promises.how asymc.await works
Observable is a pattern for handling asynchronous data streams. Promises are a way to handle asynchronous operations.
Observables allow for subscribing to a stream of data and reacting to each event as it comes in.
Promises represent a value that may not be available yet, but will be resolved at some point in the future.
async/await is a way to write asynchronous code that looks synchronous, by pausing execution until a promise is resolved.
async/await can be used with promises, ...read more
Q5. What is dynamic form? FormArray ?
Dynamic form is a form that can be modified at runtime. FormArray is an array of form controls.
Dynamic form allows adding or removing form fields based on user input or other conditions.
FormArray is used to manage an array of form controls.
Example: A form where users can add multiple phone numbers or email addresses.
Example: A form where users can add or remove items from a shopping cart.
Q6. What is garbage collection methods in JAVA
Garbage collection is an automatic memory management process in Java.
Garbage collection is the process of freeing up memory by removing objects that are no longer in use.
Java has a built-in garbage collector that runs automatically in the background.
The garbage collector uses different algorithms to determine which objects are no longer in use and can be removed.
Some of the commonly used garbage collection algorithms in Java are Mark and Sweep, Copying, and Generational.
Garba...read more
Q7. Can you use script tag in angular
Yes, script tags can be used in Angular
Script tags can be used to load external scripts in Angular
Angular also provides a way to load scripts dynamically using the ScriptService
However, it is recommended to use Angular's built-in mechanisms for loading scripts
Q8. How the collision is handled in JAVA 8
JAVA 8 handles collisions using separate chaining and open addressing.
Separate chaining uses linked lists to store multiple values at the same index in the hash table.
Open addressing uses a probing sequence to find the next available slot in the hash table.
JAVA 8 also introduced the ConcurrentHashMap class which uses a combination of both techniques for better performance.
Example: HashMap
map = new HashMap<>(); map.put("key", 1); If a collision occurs, the new value will be ad...read more
Reviews
Interviews
Salaries
Users/Month