Correct Answer: Orange && Worng Answer: Red
1. Among the following which acts as the input of class-based component?
View Answer
Explanation: props act as the input of the class-based components.
2. Among the following which is used to create a class inheritance?
View Answer
Explanation: Extends are used to create a class inheritance.
3. Choose the correct data flow sequence of flux concept.
View Answer
Explanation: he correct data flow sequence of flux concept is : Action -> Dispatcher -> Store -> View
4. Total ways of defining variables in ES6 is?
View Answer
Explanation: There are three ways of defining variables in ES6: let, var and const.
5. Which of the following are two ways to handle data in react?
View Answer
Explanation: State and props is used to handle data in react.
6. Among the corner which is a must-have for every ReactJS component?
View Answer
Explanation: renderComponent is a must-have for every ReactJS component.
7. ES6 stands for _________
View Answer
Explanation: ES6 stands for ECMAScript 6.
8. Choose the method with refers to the parent class in ReactJS?
View Answer
Explanation: super() refers to the parent class in ReactJS.
9. JSX stands for __________
View Answer
Explanation: JSX stands for Javascript XML.
10. The function which is called to render HTML to a web page in react?
View Answer
Explanation: render() is called to render HTML to a web page in react.
11. Choose the functionality of setState?
View Answer
Explanation: setState invoke code after the setState operation is done.
12. Choose the method which is not a part of ReactDOM?
View Answer
Explanation: ReactDOM.destroy() is not a part of ReactDOM.
13. Choose the correct statement in the context of uncontrolled components in ReactJS?
View Answer
Explanation: Source of truth is DOM is correct in the context of uncontrolled components in ReactJS.
14. In which directory is react component saved?
View Answer
Explanation: React component is saved in js/components in/.
15. What is the functionality of a “webpack” command?
View Answer
Explanation: Webpack is a model blunder.
16. State whether true or false: React merges the objects you provide into the current state using setState().
View Answer
Explanation: The above statement is true.
17. State whether true or false: React creates virtual DOM in memory.
View Answer
Explanation: The above statement is true.
18. In react, the key should be?
View Answer
Explanation: The key should be unique among his siblings only.
19. Which company developed ReactJS?
View Answer
Explanation: ReactJS was developed by Facebook.
20. Choose the component which should be overridden to stop the component from updating?
View Answer
Explanation: shouldComponentUpdate should be override to stop the component from updating.
Categories
C Programming MCQsC++ Programming MCQsJAVA MCQsVisual Basic MCQsData Structure MCQsSoftware Package MCQsComputer Organization and Architecture MCQsOperating System MCQsDigital Electronics MCQsDBMS MCQsSystem Analysis and Management Information System MCQsSystem Maintenance MCQsData Communication and Networking MCQsInternet & Web Technology MCQsSoftware Engineering MCQsManagement (Common) MCQsSystem Software MCQsComputer Graphics MCQsArtificial Intelligence & Expert System MCQsE-Commerce MCQsMultimedia MCQsPower Electronics MCQsTesting & Maintenance Electrical Machine MCQsAutomatic Control System MCQsAdvance Communication System MCQsDigital Electronics MCQs