Quiz Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
Your time:
Time has elapsed
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
Everything in React is a ____________?
-
Question 2 of 30
2. Question
What would be the output of the following example?
var Helloword=(props)=> {
return(
<div>
Hello World 1
</div>
<div>
Hello World 2
</div>
);
}
ReactDOM.render(<Helloworld/>,mountNode) -
Question 3 of 30
3. Question
What is the default port where webpack-server runs?
-
Question 4 of 30
4. Question
What is a state in React?
-
Question 5 of 30
5. Question
What are the two ways to handle data in React?
-
Question 6 of 30
6. Question
Does React.js create a VIRTUAL DOM in the memory?
-
Question 7 of 30
7. Question
Which of the following is used to pass data to a component from outside in React.js?
-
Question 8 of 30
8. Question
Which of the following method refers to the parent class in React.js?
-
Question 9 of 30
9. Question
How can you set a default value for an uncontrolled form field?
-
Question 10 of 30
10. Question
Name the function used to change the state of react component.
-
Question 11 of 30
11. Question
How can you access the state of a component from inside of a member function?
-
Question 12 of 30
12. Question
ReactJS covers _________
-
Question 13 of 30
13. Question
With JSX you can write expressions inside?
-
Question 14 of 30
14. Question
Which of the following API is a MUST for every ReactJS component?
-
Question 15 of 30
15. Question
What is the second argument for setState useful for?
-
Question 16 of 30
16. Question
How many stages are there in React js life cycle?
-
Question 17 of 30
17. Question
In relation to React js component lifecycle, which statement is true
-
Question 18 of 30
18. Question
Keys are given to a list of elements in react. These keys should be.
-
Question 19 of 30
19. Question
Which of the following is correct syntax for a button click event handler, foo?
-
Question 20 of 30
20. Question
How do you write an inline style specifying the font-size:12px and color:red; in JSX?
-
Question 21 of 30
21. Question
Props in React can ________
-
Question 22 of 30
22. Question
Broswers cannot read JSX?
-
Question 23 of 30
23. Question
Which of the following are the advantages of React.js?
-
Question 24 of 30
24. Question
Which of the following acts as the input of a class-based component?
-
Question 25 of 30
25. Question
Which of the following keyword is used to create a class inheritance?
-
Question 26 of 30
26. Question
Which of the following is not a correct way of declaring variables?
-
Question 27 of 30
27. Question
What will happen if you render an input element with disabled = {false} ?
-
Question 28 of 30
28. Question
Which of the following lifecycle events React components have at the highest level?
-
Question 29 of 30
29. Question
Which of the following best defines the “key” prop?
-
Question 30 of 30
30. Question
What changes would appear in the component as soon as the state of the React component is changed?