ATMECS Global
Modelyze Labs Interview Questions and Answers
Q1. find out duplicates in list and prepare dictionary with count of characters in given string?
Find duplicates in list and create dictionary with character count in string.
Iterate through the list and use a dictionary to keep track of character count.
For each string in the list, iterate through the characters and add them to the dictionary.
If the character already exists in the dictionary, increment its count.
If the character does not exist in the dictionary, add it with a count of 1.
Finally, iterate through the dictionary and print out the characters and their counts.
Q2. Reverse string without inbuilt functions in python.
Reverse a string without inbuilt functions in Python.
Create an empty string to store the reversed string.
Iterate through the original string in reverse order.
Append each character to the empty string.
Return the reversed string.
Alternatively, use slicing to reverse the string: string[::-1].
Q3. How can you handle Lakhs of records process with NGRX
NGRX can handle large amounts of data by using lazy loading, pagination, and memoization techniques.
Implement lazy loading to only load data when needed
Use pagination to limit the amount of data loaded at once
Utilize memoization to cache results and avoid unnecessary computations
Q4. Angular performance optimization and explain about ngOnChange
Angular performance optimization involves using best practices to improve the speed and efficiency of Angular applications. ngOnChanges is a lifecycle hook in Angular that is called when a data-bound input property value changes.
Use trackBy function in ngFor to improve performance when rendering lists
Lazy load modules to reduce initial load time
Minimize the use of two-way data binding to avoid unnecessary change detection cycles
Optimize network requests by using HTTP intercep...read more
Q5. NodeJS what is the step process.
NodeJS is a runtime environment that allows you to run JavaScript on the server side.
NodeJS is built on Chrome's V8 JavaScript engine.
It uses an event-driven, non-blocking I/O model.
NodeJS is commonly used for building server-side applications and APIs.
npm (Node Package Manager) is used for managing dependencies in NodeJS projects.
Q6. How to handle different frame in Selenium
To handle different frames in Selenium, switch to the frame using various methods like index, name, id, or WebElement.
Use driver.switchTo().frame(int index) to switch to a frame by its index
Use driver.switchTo().frame(String nameOrId) to switch to a frame by its name or id
Use driver.switchTo().frame(WebElement frameElement) to switch to a frame by locating the frame element
Q7. design script for test cases for random demo applications
Designing script for test cases for random demo applications
Identify key functionalities of the demo application
Create test cases covering different scenarios like login, search, add to cart, checkout
Use automation tools like Selenium or Appium to write scripts
Implement data-driven testing to cover various input combinations
Q8. Explain ngrx process
ngrx is a state management library for Angular applications.
ngrx follows the Redux pattern for managing application state
It uses actions, reducers, and selectors to manage state changes
State changes are handled immutably to ensure predictability and maintainability
Q9. Repeatative words count in a string
Count the number of repetitive words in a string.
Split the string into an array of words
Create a dictionary to store the count of each word
Iterate through the array and update the count in the dictionary
Count the number of words with count greater than 1
Top HR Questions asked in Modelyze Labs
Interview Process at Modelyze Labs
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month