React & JS

React & JS

University

10 Qs

quiz-placeholder

Similar activities

Tie Round

Tie Round

University

15 Qs

ReactJS Quiz

ReactJS Quiz

University

15 Qs

Basics of C

Basics of C

University

10 Qs

Basics Of C Programming

Basics Of C Programming

University

10 Qs

C Programming Basics -  002

C Programming Basics - 002

University

10 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

DBMS

DBMS

University

15 Qs

Control structures and Looping

Control structures and Looping

University

11 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?