Devkraft Technologies
Thevady Consultants Interview Questions and Answers
Q1. Difference between static and dynamic testing.
Static testing is done without executing the code, while dynamic testing involves executing the code.
Static testing is performed during the early stages of development to prevent defects from entering the codebase.
Dynamic testing is done during the later stages of development to validate the behavior of the software.
Examples of static testing include code reviews, walkthroughs, and inspections.
Examples of dynamic testing include unit testing, integration testing, and system t...read more
Q2. life cycle of a component in react
React component life cycle includes mounting, updating, and unmounting.
Mounting: when a component is created and inserted into the DOM
Updating: when a component is updated due to changes in props or state
Unmounting: when a component is removed from the DOM
Methods like componentDidMount, componentDidUpdate, and componentWillUnmount are used to manage the life cycle
Example: componentDidMount is called after a component is mounted and can be used to fetch data from an API
Q3. What is regression testing?
Regression testing is the process of retesting a software application to ensure that new code changes have not adversely affected existing functionality.
Regression testing is performed after code changes to verify that the existing features still work correctly.
It helps in identifying any defects introduced by new code changes.
Automated testing tools are often used for regression testing to save time and effort.
Regression testing can be done manually as well, but it is more t...read more
Q4. Difference between let var const
let, var, and const are JavaScript keywords used for declaring variables with different scoping and mutability.
let and const were introduced in ES6 while var has been used since the beginning of JavaScript.
let and const have block-level scoping while var has function-level scoping.
let and var are mutable while const is immutable.
let can be reassigned while const cannot be reassigned.
const must be initialized during declaration while let and var can be initialized later.
Exampl...read more
Q5. lifecyle of a component
The lifecycle of a component refers to the different stages a component goes through from creation to deletion.
Mounting: When a component is created and inserted into the DOM.
Updating: When a component's state or props change.
Unmounting: When a component is removed from the DOM.
Examples of lifecycle methods include componentDidMount, componentDidUpdate, and componentWillUnmount.
Lifecycle methods can be used to perform actions at specific stages of a component's lifecycle.
Q6. Difference between
Difference between verification and validation in Quality Assurance.
Verification ensures that the product is built right, while validation ensures that the right product is built.
Verification involves checking if the software conforms to specifications, while validation involves checking if it meets the user's needs.
Verification is done during the development phase, while validation is done after the development phase.
Examples: Verification - code reviews, walkthroughs, inspe...read more
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month