Redux Js MCQ Questions

11. Predictability of Redux is determined by __________ most important principles.

A. Two
B. Three
C. Four
D. Five

View Answer


12. ___________ is a plain object that describes the intention to cause change with a type property.

A. class
B. plain
C. action
D. object

View Answer


13. Redux follows the ____________ data flow.

A. unidirectional
B. bidirectional
C. Both A and B
D. None of the above

View Answer


14. The _______ notifies the view by executing their callback functions

A. state
B. store
C. reducer
D. action

View Answer


15. Redux can have _________ store in your application

A. single
B. double
C. multi
D. None of the above

View Answer


16. Which method helps you retrieve the current state of your Redux store?

A. dispatch
B. subscribe
C. action
D. getState

View Answer


17. Which of the following rules are correct for Pure Functions?

A. A function returns the same result for same arguments.
B. Its evaluation has no side effects, i.e., it does not alter input data.
C. No mutation of local & global variables
D. All of the above

View Answer


18. Pure functions are unpredictable

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


19. Both props and state are plain JavaScript objects.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


20. Which method allows you to dispatch an action to change a state in your application?

A. getState
B. setState
C. dispatch
D. subscribe

View Answer





Discussion


* You must be logged in to add comment.