

MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
What is a react.js in MVC? |
A. | Controller |
B. | Middleware |
C. | Model |
D. | Router |
Answer» B. Middleware | |
2. |
What does the “webpack” command do? |
A. | Transpiles all the Javascript down into one file |
B. | Runs react local development server |
C. | Both A and B |
D. | None |
Answer» B. Runs react local development server | |
3. |
How does React handle Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) standard? |
A. | aria-* HTML attributes are fully supported in JSX. Where most DOM properties and attributes in React are camelCased, these attributes should be lowercased |
B. | aria-* attributes should be converted to camelCase like other attributes eg. className, onChange and so on |
C. | React processes aria-* attributes separately and update the DOM for accessibility if the user requires it |
D. | React is yet to support WAI-ARIA standard |
Answer» E. | |
4. |
What are the advantages of React JS? |
A. | React can be used on client and as well as server side too |
B. | Using React increases readability and makes maintainability easier. Component, Data patterns improves readability and thus makes it easier for manitaining larger apps |
C. | React can be used with any other framework (Backbone.js, Angular.js) as it is only a view layer |
D. | All of the above |
Answer» E. | |
5. |
At the highest level, React components have lifecycle events that fall into |
A. | Initialization |
B. | State/Property Updates |
C. | Destruction |
D. | All of these |
Answer» E. | |
6. |
Which of the following API is a MUST for every ReactJS component? |
A. | getInitialState |
B. | render |
C. | renderComponent |
D. | None |
Answer» D. None | |
7. |
Props are __________ into other components |
A. | Injected |
B. | Methods |
C. | Both A and B |
D. | All of these |
Answer» C. Both A and B | |
8. |
How can you access the state of a component from inside of a member function? |
A. | this.getState() |
B. | this.prototype.stateValue |
C. | this.state |
D. | this.values |
Answer» E. | |
9. |
What is ReactJS? |
A. | Server-side Framework |
B. | User-interface framework |
C. | Both |
D. | None |
Answer» D. None | |