Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. What are the limitations of ReactJS?
  1.    React is only for view layer of the app so we still need the help of other technologies to get a complete tooling set for development
  2.    React is using inline templating and JSX. This can seem awkward to some developers
  3.    The library of react is too large
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 2. What is ReactJS?
  1.    Server-side Framework
  2.    User-interface framework
  3.    Both
  4.    None
 Discuss Question
Answer: Option C. -> Both




Question 3. Props are __________ into other components
  1.    Injected
  2.    Methods
  3.    Both A and B
  4.    All of these
 Discuss Question
Answer: Option B. -> Methods




Question 4. How can you access the state of a component from inside of a member function?
  1.    this.getState()
  2.    this.prototype.stateValue
  3.    this.state
  4.    this.values
 Discuss Question
Answer: Option D. -> this.values




Question 5. Which of the following API is a MUST for every ReactJS component?
  1.    getInitialState
  2.    render
  3.    renderComponent
  4.    None
 Discuss Question
Answer: Option C. -> renderComponent




Question 6. At the highest level, React components have lifecycle events that fall into
  1.    Initialization
  2.    State/Property Updates
  3.    Destruction
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 7. What are the advantages of React JS?
  1.    React can be used on client and as well as server side too
  2.    Using React increases readability and makes maintainability easier. Component, Data patterns improves readability and thus makes it easier for manitaining larger apps
  3.    React can be used with any other framework (Backbone.js, Angular.js) as it is only a view layer
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 8. What does the "webpack command do?
  1.    Transpiles all the Javascript down into one file
  2.    Runs react local development server
  3.    Both A and B
  4.    None
 Discuss Question
Answer: Option A. -> Transpiles all the Javascript down into one file




Question 9. How does React handle Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) standard?
  1.    aria-* HTML attributes are fully supported in JSX. Where most DOM properties and attributes in React are camelCased, these attributes should be lowercased
  2.    aria-* attributes should be converted to camelCase like other attributes eg. className, onChange and so on
  3.    React processes aria-* attributes separately and update the DOM for accessibility if the user requires it
  4.    React is yet to support WAI-ARIA standard
 Discuss Question
Answer: Option D. -> React is yet to support WAI-ARIA standard




Question 10. What is a react.js in MVC?
  1.    Controller
  2.    Middleware
  3.    Model
  4.    Router
 Discuss Question
Answer: Option A. -> Controller




Latest Videos

Latest Test Papers