React JS Quiz April 18, 2020 Padhmanaban 1. What type of diffing algorithm, React using to find the difference between Actual and in-memory DOM while "state"change/update? Heuristic Memetic Evolutionary Simulation Optimization 2. Which of the following "Events" are dependent on the browser specification in React? Transition Events Wheel Events Pointer Event Touch Events 3. What are the different way to pass a props into the React.Component? Parent Component setState() defaultProps propTypes 4. const { blogger, programmer } = profile? Destructuring Assignment Spread Operator Default Assignment Array Destructuring 5. In React, what this.setState() method will return? Boolean Array Object Void 6. Which of the following Lifecycle phase are externally controlled by ReactDOM? Catching Updating Mounting UnMounting 7. Which of the tools allow you to test React Application? Jest Mocha Jasmine React Testing Library 8. What kind of error types are not caught by Error Boundaries? Event Handler Constructor Rendering Lifecycle Methods 9. Which of the following are parts of "propType" validation? PropTypes.undefined PropTypes.func PropTypes.int PropTypes.array 10. In stateless functional components, are we able to specify "propTypes" & "defaultProps" as a property on the function? Yes No 11. Which of the following are basic features of the react library? propTypes Validation Server-side Rendering Virtual-DOM Declarative Paradigm Time is Up! Time's up