As the Best React JS Training Institute In Kochi Kerala, Softloom IT Training delivers high-quality technical education with a strong emphasis on practical learning. Softloom IT Training provides a job-oriented curriculum, experienced mentors, and live project exposure to help students master React JS and modern web development. We are committed to shaping successful careers through dedicated training and placement support.

1.What is React JS?

A) Database
B) JavaScript Library
C) Operating System
D) Programming Language

Answer: B) JavaScript Library

2. Who developed React?

A) Google
B) Facebook
C) Microsoft
D) Apple

Answer: B) Facebook

3. What does JSX stand for?

A) JavaScript XML
B) Java Syntax Extension
C) Java XML System
D) JSON XML

Answer: A) JavaScript XML

4. Which DOM does React use?

A) Real DOM
B) Virtual DOM
C) Shadow DOM
D) Browser DOM

Answer: B) Virtual DOM

5. React components are mainly ______.

A) Reusable
B) Temporary
C) Static
D) Fixed

Answer: A) Reusable

6. Data flow in React is?

A) Bidirectional
B) Unidirectional
C) Multidirectional
D) Random

Answer: B) Unidirectional


7. Which hook is used to manage state?

A) useEffect
B) useState
C) useRef
D) useMemo

Answer: B) useState


8. Props in React are?

A) Mutable
B) Immutable
C) Editable
D) Changeable

Answer: B) Immutable


9. Which hook is used for side effects?

A) useState
B) useEffect
C) useReducer
D) useProps

Answer: B) useEffect


10. What is used to uniquely identify list items?

A) id
B) key
C) index
D) value

Answer: B) key


11. Which library is used for routing in React?

A) ReactPath
B) ReactRouter
C) RouterJS
D) RouteDOM

Answer: B) ReactRouter


12. What is create-react-app?

A) Framework
B) CLI Tool
C) Library
D) Plugin

Answer: B) CLI Tool


13. Which hook accesses DOM elements?

A) useDOM
B) useRef
C) useState
D) useEffect

Answer: B) useRef


14. Which is a state management library?

A) Axios
B) Redux
C) Babel
D) Webpack

Answer: B) Redux


15. React is mainly used to build?

A) Backend
B) User Interface
C) Database
D) Network

Answer: B) User Interface


16. Which method renders React to DOM?

A) React.render()
B) ReactDOM.render()
C) renderApp()
D) startReact()

Answer: B) ReactDOM.render()


17. What is Babel used for?

A) Testing
B) Compile JSX
C) Routing
D) Styling

Answer: B) Compile JSX


18. Fragment is used to?

A) Add extra DOM
B) Avoid extra DOM
C) Style DOM
D) Delete DOM

Answer: B) Avoid extra DOM


19. Which is NOT a React hook?

A) useState
B) useClass
C) useEffect
D) useRef

Answer: B) useClass


20. React supports ______ rendering.

A) Only client
B) Only server
C) Both
D) None

Answer: C) Both


21. State in React is?

A) Immutable
B) Mutable
C) Fixed
D) Constant

Answer: B) Mutable


22. Parent to child communication uses?

A) Redux
B) Props
C) Context
D) Event

Answer: B) Props


23. Which is used for performance optimization?

A) useMemo
B) useState
C) useEffect
D) useProps

Answer: A) useMemo


24. React testing library?

A) Jest
B) Mocha
C) Selenium
D) PHPUnit

Answer: A) Jest


25. React is based on ______ architecture.

A) MVC
B) Component
C) Layered
D) Monolithic

Answer: B) Component