Veltris
Offshore Research Partners Interview Questions and Answers
Q1. difference b/w controled and uncontroled components, how many project are completed and describe latest project, lefecycle methods, templates string, hosting, error handling, unit test
Controlled components are controlled by React, while uncontrolled components are controlled by the DOM.
Controlled components are controlled by React state, while uncontrolled components are controlled by the DOM directly.
Example: Input fields in a form controlled by React state vs input fields with native DOM handling.
Lifecycle methods are methods that are automatically called at specific points in a component's life cycle.
Example: componentDidMount() is called after the comp...read more
Q2. Tell full design process
The full design process involves identifying requirements, brainstorming ideas, creating prototypes, testing and refining designs, and finalizing the product.
Identify requirements and constraints
Brainstorm ideas and concepts
Create prototypes for testing
Test and refine designs based on feedback
Finalize the product design
Q3. How to upload the app to both stores
To upload the app to both stores, create separate builds for each platform and follow the submission guidelines of each store.
Create separate builds for iOS and Android platforms
Follow the submission guidelines of the App Store and Google Play Store
Submit the builds to each store separately
Ensure that the app meets the requirements of each store
Q4. explain the difference between has one and has and belongs to many in Ruby on Rails
has_one is a one-to-one association while has_and_belongs_to_many is a many-to-many association in Ruby on Rails.
has_one is used when one record is associated with another record.
has_and_belongs_to_many is used when multiple records are associated with multiple records.
has_one creates a foreign key in the associated record's table.
has_and_belongs_to_many creates a join table to store the associations.
Q5. Difference between Let, Var, Const
Let, Var, and Const are JavaScript keywords used for declaring variables with different scoping rules and mutability.
Var has function scope and can be redeclared and reassigned.
Let has block scope and can be reassigned but not redeclared.
Const has block scope and cannot be reassigned or redeclared.
Use const for values that won't change, let for values that will, and var for legacy code or global variables.
Q6. Life Cycle of React-Native
React Native has several life cycle methods that are called at different stages of the component's life.
Mounting: constructor(), componentWillMount(), render(), componentDidMount()
Updating: componentWillReceiveProps(), shouldComponentUpdate(), componentWillUpdate(), render(), componentDidUpdate()
Unmounting: componentWillUnmount()
Error Handling: componentDidCatch()
Q7. Local Storage in React-Native
Local storage in React Native allows data to be stored on the device for offline use.
AsyncStorage is the built-in API for local storage in React Native
Data is stored as key-value pairs
Data can be retrieved and updated asynchronously
Local storage can be used for caching data for offline use
Example: AsyncStorage.setItem('key', 'value')
Example: AsyncStorage.getItem('key')
Q8. L1 vs L2 regularization
L1 regularization adds penalty equivalent to absolute value of coefficients, promoting sparsity. L2 regularization adds penalty equivalent to square of coefficients, promoting smaller weights.
L1 regularization is also known as Lasso regularization.
L2 regularization is also known as Ridge regularization.
L1 regularization can lead to feature selection by setting some coefficients to zero.
L2 regularization is more stable and less sensitive to outliers compared to L1 regularizati...read more
Top HR Questions asked in Offshore Research Partners
Interview Process at Offshore Research Partners
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month