By OnlineInterviewQuestions

[Pages:4]By

React JS Multiple choice interview questions (MCQ) - Test your React JS knowledge

Take React Js Quiz To test your Knowledge.

Below are few React Js MCQ Quiz test that checks your basic knowledge of React JS. This React Js Test contains around 10 questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link. Also, Read Best React interview questions.

Q1. Everything in React is a _____________

A. Module B. Component C. Package D. Class

Q2. In which directory React Components are saved?

A. Inside js/components/ B. Inside vendor/components/ C. Inside external/components/ D. Inside vendor/

Q3. How many elements does a react component return?

A. 2 Elements B. 1 Element C. Multiple Elements D. None of These

Q4. What is state in React?

A. A persistant storage. B. An internal data store (object) of a component.

Q5. What is Babel?

A. A transpiler. B. An interpreter C. A Compiler D. Both Compiler and Transpilar

Q6. What does the "webpack" command do?

A. Transpiles all the Javascript down into one file B. Runs react local development server. C. A module bundler

Q7. What port is the default where the webpack-dev-server will run?

A. 3000 B. 8080 C. 3306

Q8. What is ReactJS?

A. Server side Framework B. User-interface framework C. A Library for building interaction interfaces D. None of These

Q9. What are the two ways that data gets handled in React?

A. state & props B. services & components

Q10. In React what is used to pass data to a component from outside?

A. setState B. render with arguments C. props D. PropTypes

Q11. How can you access the state of a component from inside of a member function?

A. this.getState() B. this.values C. this.prototype.stateValue D. this.state

Q12. Props are __________ into other components

A. Methods B. Injected C. Both 1 & 2 D. All of the above

Q13. What is a react.js in MVC?

A. Middleware B. Controller C. Model D. Router

Q14. ReactJS uses _____ to increase performance

A. Original DOM B. Virtual DOM C. Both 1 & 2 D. None of above

Q15. Keys are given to a list of elements in react. These keys should be -

A. Do not requires to be unique B. Unique in the DOM C. Unique among the siblings only

D. All of the above

Q16. Which of the following is the correct data flow sequence of flux concept?

A. Dispatcher->Action->Store->View B. Action->Dispatcher->View->Store C. Action->Dispatcher->Store->View D. Action->Store->Dispatcher->View

Q17. React.js Covers only the view layer of the app.

A. Yes B. No

Q18. What is the name of React.js Developer ?

A. Jordan mike B. Jordan Lee C. Jordan Walke D. Tim Lee

Q19. Who Develop React.js?

A. Apple B. Facebook C. Twitter D. Google

Q20. .............. helps react for keeping their data unidirectional.

A. JSX B. Flux C. Dom D. Props Please Visit to download more pdfs

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download