React and Hooks

React and Hooks

Professional Development

10 Qs

quiz-placeholder

Similar activities

CSS Quiz 2

CSS Quiz 2

University - Professional Development

10 Qs

React 101

React 101

Professional Development

10 Qs

HTML

HTML

Professional Development

10 Qs

HTML

HTML

Professional Development

9 Qs

React-Estilos

React-Estilos

Professional Development

9 Qs

HTML Basics

HTML Basics

Professional Development

15 Qs

CSS and JQuery

CSS and JQuery

Professional Development

9 Qs

PreTrainingHTMLCSS

PreTrainingHTMLCSS

Professional Development

15 Qs

React and Hooks

React and Hooks

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Farabi Chowdhury

Used 130+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which version of React did Hooks add?
15.6
16
16.8
18.1

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What are Hooks?
Class components
Function components
Javascript functions
Lifecycle methods

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is not an in-build hook?
useEffect
useFetch
useState
useRef

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which phase of lifecycles do the states initialise?
Updating
Mounting
Unmounting
Both 1 and 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which won't cause re-render in the component?
Changes in state
Changes in props
Changes in .current of useRef
Changes in dependency array of useEffect

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is(are) correct methods to create reactJS component
class MyComponent extends React.Component { render() { return ( <div>Demo</div> ) } }
const MyComponent = () => { return ( <div>Demo</div> ) }
function MyComponent = () => { return ( <div>Demo</div> ) }
Only a
a, b and c

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

We can integrate reactJS in any of the existing web app
true
false

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?