 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. | In React, component properties should be kept in an object called? | 
| A. | component | 
| B. | super | 
| C. | state | 
| D. | props | 
| E. | |
| Answer» D. props | |
| 2. | Everything in react is a? | 
| A. | Module | 
| B. | Package | 
| C. | Class | 
| D. | Component | 
| Answer» E. | |
| 3. | Does React creates a VIRTUAL DOM in memory. | 
| A. | TRUE | 
| B. | FALSE | 
| C. | Can be true or false | 
| D. | Can not say | 
| Answer» B. FALSE | |
| 4. | JSX allows us to write HTML elements in JavaScript and place them in the DOM without any? | 
| A. | createElement | 
| B. | appendChild | 
| C. | getElementById | 
| D. | Both A and B | 
| Answer» E. | |
| 5. | In ES6, how many ways of defining your variables? | 
| A. | 3 | 
| B. | 4 | 
| C. | 5 | 
| D. | 6 | 
| Answer» B. 4 | |
| 6. | To create a class inheritance, use the ________ keyword. | 
| A. | create | 
| B. | inherits | 
| C. | extends | 
| D. | this | 
| Answer» D. this | |
| 7. | A class is a type of function, but instead of using the keyword function to initiate it, we use the keyword? | 
| A. | constructor | 
| B. | class | 
| C. | object | 
| D. | dataObject | 
| Answer» C. object | |
| 8. | Initial Release to the Public (V0.3.0) was in ? | 
| A. | 2011 | 
| B. | 2012 | 
| C. | 2013 | 
| D. | 2014 | 
| Answer» D. 2014 | |
| 9. | Which command is used Install create-react-app? | 
| A. | npm install -g create-react-app | 
| B. | npm install create-react-app | 
| C. | npm install -f create-react-app | 
| D. | install -g create-react-app | 
| Answer» B. npm install create-react-app | |
| 10. | Which of the following is true about React? | 
| A. | React is a JavaScript library for building user interfaces. | 
| B. | React is used to build single page applications. | 
| C. | React allows us to create reusable UI components. | 
| D. | All of the above | 
| Answer» E. | |