Question#1 Before React 16.8, class components were the only way to track the state and lifecycle of a React component. a) True ✅- Answer b) False Question#2 Function components in React were always considered 'stateful', even before hooks were introduced. a) True b) False ✅- Answer Question#3 There are current plans to remove class components from React. a) True b) False ✅- Answer Question#4 With the addition of hooks, function components are almost equivalent to class components in React. a) True ✅- Answer b) False Question#5 Exporting a component in React is done using the export default statement. a) True ✅- Answer b) False Question#6 In React, a functional component is a simple JavaScript function that returns a React element. a) True ✅- Answer b) False Question#7 The primary function of a React component is to classify the displayed view and connect it to the code that governs its actions. a) True ✅- Answer b) False Question#8 In functional components, the function body contains all the definitions needed for actions, and class-related sections are omitted. a) True ✅- Answer b) False Question#9 Props in React are mutable and can be changed inside the component. a) True b) False ✅- Answer Question#10 Props give a way to pass data from one component to another in React. a) True ✅- Answer b) False Question#11 Props in React are accessed as this.props inside class components. a) True ✅- Answer b) False Question#12 A component with a state is known as a stateless component in React. a) True b) False ✅- Answer Question#13 Calling the setState() method in a React component triggers UI updates. a) True ✅- Answer b) False Question#14 A component’s state in React can only be accessed or modified inside the component or by the component directly. a) True ✅- Answer b) False Question#15 The this.state property should be rendered inside the constructor method of a React component. a) True b) False ✅- Answer Question#16 To change a state value in a React class component, you call the setState() method. a) True ✅- Answer b) False Question#17 React handles events using a system called Synthetic Events. a) True ✅- Answer b) False Question#18 React event names are written in lowercase like in plain HTML. a) True b) False ✅- Answer Question#19 In React JSX, event handlers are passed as strings instead of functions. a) True b) False ✅- Answer Question#20 To prevent the default behavior of an event in React, you must call preventDefault explicitly. a) True ✅- Answer b) False