wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WD Frontend 9-12 Level 3

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

1. Everything in React is a _____________

a)

Modul

b)

Component

c)

Package

d)

Class

2.

How many elements does a react component return?

a)

1 Element

b)

2 Elements

c)

Multiple Elements

d)

None of them

3.

What is state in React?

a)

A persistant storage.

b)

An internal data store (object) of a component.

4.

What is ReactJS?

a)

Server side Framework

b)

User-interface framework

c)

A Library for building interaction interfaces

d)

None of These

5.

What are the two ways that data gets handled in React?

a)

state & props

b)

services & components

6.

What is the declarative way to render a dynamic list of components based on values in an array

a)

Using the reduce array method

b)

Using the <Each /> component

c)

Using the Array.map() method

d)

With a for/while loop

7.

Name the function used to change the state of react component

a)

setState

b)

changSetState

c)

State

d)

Borh A and B