React - Quiz

React - Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Xbox

Xbox

KG - Professional Development

17 Qs

Henry M2

Henry M2

Professional Development

10 Qs

Gaming

Gaming

KG - Professional Development

11 Qs

PyDA Kemenkeu

PyDA Kemenkeu

Professional Development

10 Qs

Video Games

Video Games

6th Grade - Professional Development

19 Qs

Python Week 3

Python Week 3

Professional Development

18 Qs

Python Week 1

Python Week 1

Professional Development

15 Qs

Mario

Mario

3rd Grade - Professional Development

13 Qs

React - Quiz

React - Quiz

Assessment

Quiz

Other

Professional Development

Hard

Created by

Raja SK

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

useEffect and useState are called

React Objects

React Arrays

React Hooks

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const {count, setCount} = useState()
What is the value of count?

0

undefined

null

Syntax error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many arguments does useEffect has?

1

2

3

No arguments

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The second argument of the useEffect is called

Dependency Array

Default Array

Dependency Object

There is no second argument

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const [count, setCount] = useState()

What will be the value of count?

undefined

0

null


Syntax error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<></> will be rendered on DOM

True

False

Both True and False

May be

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which array method is used to render lists in react?

forEach()

loop()

map()

list()

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?