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
In which directory React Components are saved?
Inside js/components/
/usr/bin/js
Inside vendor/components/
Inside vendor/
Which of the following method is true about referring parent class in React.js ?
self()
inherits()
this()
super()
Which of the following function is true about changing the state in React.js ?
this.State{}
this.setState
this.setChangeState
All of the above
In React.js, how we can pass the data from one component to another in React.js ?
SetState
Render with arguments
Props
PropTypes
Which of the following is true regarding Babel ?
Compiler
Transpilar
Both of the above
None of the above
Which of the following is must for the API in React.js ?
SetinitialComponent
renderComponent
render
All of the above
Which of the following is a way to handle data in React.js ?
State & Props
Services & Components
State & Services
State & Component
Which of the following valid component return type of React ?
2
5
3
1
What is the default port number in which the application run ?
80
443
3000
3669
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