Get React JS Certificate from The Digital Adda which you can share in the Certifications section of your LinkedIn profile, on printed resumes, CVs, or other documents.
Exam Details:
- Format: Multiple Choice Question
- Questions: 10
- Passing Score: 8/10 or 80%
- Language: English
Here are the Questions and Answers:
Question 1: In which directory React Components are saved?
- Inside js/components/
- /usr/bin/js
- Inside vendor/components/
- Inside vendor/
Question 2: Which of the following method is true about referring parent class in React.js?
- self()
- inherits()
- this()
- super()
Question 3: Which of the following function is true about changing the state in React.js?
- this.State{}
- this.setState
- this.setChangeState
- All of the above
Question 4: In React.js, how we can pass the data from one component to another in React.js?
- SetState
- Render with arguments
- Props
- PropTypes
Question 5: Which of the following is true regarding Babel?
- Compiler
- Transpilar
- Both of the above
- None of the above
Question 6: Which of the following is must for the API in React.js?
- SetinitialComponent
- RenderComponent
- Render
- All of the above
Question 7: Which of the following is a way to handle data in React.js?
- State & Props
- Services & Components
- State & Services
- State & Component
Question 8: Which of the following valid component return type of React?
- 2
- 5
- 3
- 1
Question 9: What is the default port number in which the application run?
- 80
- 443
- 3000
- 3669
Question 10: Which of the following command is used to create react-js-app?
- npx create-react-app appname
- npm install create-react-app
- npx install create-react-app -g
- install – l create-react-app