ReactJS Quiz Set - 5

Last Updated :
Discuss
Comments

Question 1

What cant react handle?

  • A

    side effects

  • B

    rendering UI

  • C

    managing states

  • D

    Updating UI

Question 2

In which case useEffect will not be run?

  • A

    Initial load of a component

  • B

    Second render of the component

  • C

    Every re-render of the component

  • D

    Values in the state remain the same

Question 3

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

  • A

    Before the form is submitted

  • B

    After the form is submitted

  • C

    While the form is being filled

  • D

    Before form filling starts

Question 4

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

  • A

    value

  • B

    types

  • C

    checked

  • D

    name

Question 5

Which of the following is immutable?

  • A

    Props

  • B

    State

  • C

    String

  • D

    Number

Question 6

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

  • A

    Initialization

  • B

    Mounting

  • C

    Deleting

  • D

    Updating

Question 7

With what name convention do custom hooks begin?

  • A

    new

  • B

    custom

  • C

    newHook

  • D

    use

Question 8

In which version react hooks were introduced?

  • A

    12.8

  • B

    14.8

  • C

    16.8

  • D

    13.8

Question 9

Which of the following is another name for class components?

  • A

    Stateful components

  • B

    Stateless Components

  • C

    Props

  • D

    State

Question 10

Which of the following is true about controlled components?

  • A

    They maintain their internal state

  • B

    Data is controlled by the DOM tree

  • C

    They accept value as props

  • D

    They do not have validation control

There are 15 questions to complete.

Take a part in the ongoing discussion