React & JS

React & JS

University

10 Qs

quiz-placeholder

Similar activities

React Quiz

React Quiz

University

10 Qs

PHP - Syntax & Output

PHP - Syntax & Output

University

15 Qs

OPERATORS

OPERATORS

University

10 Qs

Evaluasi Materi Pointer pada C++

Evaluasi Materi Pointer pada C++

University

10 Qs

Code-O-Fiesta Round 1

Code-O-Fiesta Round 1

University

15 Qs

OPERATOR & EXPRESSION

OPERATOR & EXPRESSION

University

10 Qs

AWD Quiz #2

AWD Quiz #2

University

10 Qs

Sains Komputer (Java) 3: Struktur Kawalan Pilihan II

Sains Komputer (Java) 3: Struktur Kawalan Pilihan II

10th Grade - University

10 Qs

React & JS

React & JS

Assessment

Quiz

Computers

University

Medium

Created by

Raja SK

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

useState() is called as _

React Hook

React Object

React Array

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const [count, setCount] = useState(20)

What is the value of count?

0

20

2

undefined

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const [count, setCount] = useState()

What is the value of count?

0

20

undefined

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function passed as an argument to higher order function is called

Callback function

React hooks

Asynchronous function

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Triple dot operator (...) is called as

Spread operator

Rest operator

Both Spread and Rest operator

No such operator exist

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Promise in JS can be handled using

.then().catch()

Arrays

Objects

Functions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

React hooks are basically

Functions

Objects

Arrays

None of the above

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?