Home > Web Development > Quizzes > ReactJS Practice Test
ReactJS Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 33% Most missed: “Which is the correct arrow function to add two numbers?”

React is a free and open-source front-end JavaScript library for building user interfaces based on components. It is maintained by Meta (the company behind Facebook, Instagram, etc.) and a community of individual developers and companies. React can be used to develop single-page, mobile, or server-rendered applications with frameworks like Next.js.

ReactJS Practice Test
Time left 00:00
25 Questions

1. In ES6 – let has a block scope.
2. In ES6 – var has a function scope, not a block scope?
3. Which is the correct arrow function to add two numbers?
4. JSX allows us to write _____.
5. JSX stands for _____.
6. In ES6 – Which keyword is used to define a constant?
7. How to install create-react-app?
8. In ES6 – The class properties are assigned inside a _____ method.
9. In ES6 – let is the block scoped version of ____.
10. What are Props?
11. Which ReactJS function renders HTML to the web page?
12. React is a ____.
13. ECMAScript was created to standardize _____.
14. In ES6 – Why arrow functions are used?
15. In ES6 – Which are the keywords to define variables?
16. In ES6 – A class is a type of ____.
17. Which method is used to generate lists?
18. What is the correct syntax to write expression in JSX?
19. React is also known as _____.
20. In ES6 – Which keyword is used to initiate a class?
21. In ES6 – Which method refers to the parent class?
22. In ES6 – What is the correct syntax of class inheritance?
23. What are components in ReactJS?
24. What does props stand for?
25. Which statement is required to define a class component?