REACT

REACT

Professional Development

10 Qs

quiz-placeholder

Similar activities

LinkedIn Learning Roadshow Quiz (15062021)

LinkedIn Learning Roadshow Quiz (15062021)

Professional Development

10 Qs

HTML Basics

HTML Basics

Professional Development

15 Qs

Teste de React - Reposição

Teste de React - Reposição

Professional Development

10 Qs

HTML/CSS 1.dan

HTML/CSS 1.dan

Professional Development

14 Qs

LOTO  &  bekerja ketinggian

LOTO & bekerja ketinggian

Professional Development

15 Qs

IP Fundamentals Day 2 - TTI Cadetship

IP Fundamentals Day 2 - TTI Cadetship

Professional Development

15 Qs

Trial TKD

Trial TKD

Professional Development

10 Qs

Fractal & Trend

Fractal & Trend

Professional Development

12 Qs

REACT

REACT

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Shital Madake

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

One can define default values for properties, props, using which of the following method?
getDefaultProps
getPropsValue
getInitialState

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Life cycle methods of a components fall under following categories?
Mounting, Unmounting
Mounting, Updating
Mounting, Updating, Unmounting

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following API is a MUST for every ReactJS component?
getInitialState
render
renderComponent
None of the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method is not part of ReactDOM?
ReactDOM.destroy()
ReactDOM.hydrate()
ReactDOM.createPortal()
ReactDOM.findDOMNode()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following API is a MUST for every ReactJS component?
getInitialState
render
renderComponent
None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

At the highest level, React components have lifecycle events that fall into
Initialization
State/Property Updates
Destruction
All of these

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens when the following render() method executes?<br /><br /> render(){<br /> let langs = ["Ruby","ES6","Scala"]<br /> return (<div><br /> {langs.map(it => <p>{it}</p>)}<br /> </div>)<br /> }<br />
Displays the list of languages in the array
Error. Cannot use direct JavaScript code in JSX
Displays nothing
Error. Should be replaced with a for..loop for correct output

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development