ReactJS Quiz Set - 5

Last Updated :
Discuss
Comments

Question 1

What cant react handle?

  • side effects

  • rendering UI

  • managing states


  • Updating UI

Question 2

In which case useEffect will not be run?

  • Initial load of a component

     

  • Second render of the component

  • Every re-render of the component

  • Values in the state remain the same

Question 3

At what stage form of data can be gathered in a react app?



 

  • Before the form is submitted

  • After the form is submitted

  • While the form is being filled

  • Before form filling starts

Question 4

Which attribute in the form should match the property name in the state?



 

  • value

  • types

  • checked

  • name

Question 5

Which of the following is immutable?


 

  • Props

  • State

  • String

  • Number

Question 6

Which of the following is not a step react component goes through?

  • Initialization
     

  • Mounting


  • Deleting


  • Updating

Question 7

With what name convention do custom hooks begin?

  • new


     

  • custom

  • newHook

  • use

Question 8

In which version react hooks were introduced?

  • 12.8


     

  • 14.8

  • 16.8

  • 13.8

Question 9

Which of the following is another name for class components?
 

  • Stateful components
     

  • Stateless Components
     

  • Props
     

  • State

Question 10

Which of the following is true about controlled components?

  • They maintain their internal state
     

  • Data is controlled by the DOM tree
     

  • They accept value as props
     

  • They do not have validation control

There are 15 questions to complete.

Take a part in the ongoing discussion