wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

React JS basics

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Is jsx and html the same?

a)

yes

b)

no

c)

maybe

d)

can't determine

2.

To run a function each time the page refreshes which hook is used?

a)

use state

b)

use effect

c)

use context

d)

use memo

3.

What Http method is used to update api data on backend ?

a)

GET

b)

POST

c)

PUT

d)

DELETE

4.

You use async function as the main useEffect function?

a)

True

b)

False

c)

Either true or false

d)

Can't determine

5.

Does fetch api return a promise?

a)

True

b)

False

c)

Can't determine

6.

Identify the command used to create a react app.

a)

npm install create-react-app

b)

npm install -g create react app

c)

install create react app

d)

none

7.

React.js covers only the view layer of the app.

a)

True

b)

False

c)

Can't determine

8.

Identify the smallest building block of React.JS.

a)

Props

b)

Elements

c)

Components

d)

None

9.

React is a ____.

a)

Web developement framework

b)

Java script library

c)

jQuery

d)

web server

10.

JSX stands for _____.

a)

JSON

b)

JSON XML

c)

JavaScript XML

d)

JavaScript and AngularJS