wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

07 React JS

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

Was ist React?

a)

JavaScript Library

b)

JavaScript Framework

c)

HTML, CSS, JavaScript Modul

d)

eine Programmiersprache

2.

Wofür steht sfc?

a)

stateless functional component

b)

stateless function css

c)

state form component

d)

state function class

3.

Wie erstellt man nochmal ein React Projekt?

a)

npx create-react-app my-app

b)

npm create-react my-app

c)

npx create-react-app

d)

npm create-react-app

4.

Mit welchem Befehl starten wir die React App?

a)

npm run dev

b)

npm serve

c)

npm start

d)

npm build

5.

Um eine React Anwendung zu entwickeln und zu starten braucht man Node.js

a)

True

b)

False

6.

Eine "Kopie" vom DOM nennt man wie?

a)

Virtual DOM

b)

React DOM

c)

Shadow DOM

d)

DOM

7.

React Component Namen müssen mit einem Großbuchstaben beginnen.

a)

True

b)

False

8.

Wenn ihr map() verwenden wollt, was ist für jedes einzelne Elemente notwendig?

a)

key

b)

index

c)

data

d)

id

9.

Was für ein Element wird hier gerendert?

a)

h1

b)

div

c)

ReactDOM

d)

Component

10.

Wie viele Elemente kann eine React Component zurück geben?

a)

1 Element

b)

2 Elemente

c)

mehr als 2

d)

keins

11.

Was nutzt man um Daten von außerhalb an Components weiter zugeben?

a)

props

b)

setState

c)

PropTypes

12.

Welches davon ist die richtige Syntax für ein click event handler?

a)

<button onclick={this.function()}>

b)

<button onclick={this.function}>

c)

<button onClick={this.function()}>

d)

<button onClick={this.function}>

13.

Wie schreibt man inline Styles in React?

a)

style={{font-size: 12, color: red}}

b)

style={{fontSize:"12px", color:"red"}}

c)

style={fontSize:"12px", color:"red"}

d)

style={{font-size: 12px, color: "red"}}

14.

Warum sind Hooks so cool?

a)

man braucht keine classes mehr

b)

leichter zu lesen/schreiben

c)

sie sind wiederverwendbar

d)

sind sie gar nicht

15.

Wie heißt der Sidekick von Batman?

a)

Robin

b)

Robert

c)

Rudolf

d)

Rupert

16.

Was bedeutet MERN?

a)

MongoDB + ExpressJS + React + NodeJS

b)

MongoDB + EspressJS + RueJS + NodeJS

c)

MangaDB + ExpressJS + ReactJS + NudelJS

17.

Was sind die Vorteile von React?

a)

Schnell

b)

Components

c)

sieht gut aus

18.

Wie heißt Gollum eigentlich?

a)

Sméagol

b)

Sandigmann

c)

Schagrat

19.

Wie heißen Harry Potters beste Freunde?

a)

Ron & Hermine

b)

Ralf & Hannelore

c)

Rudolf & Hannah

d)

Rupert & Emma

20.

Wer sagt das zu wem? „Du musst noch sehr viel lernen, mein sehr junger Padawan.“

a)

Obi-Wan Kenobi zu Anakin Skywalker

b)

Darth Vader zu Luke Skywalker

c)

Boba Fett zu Leia Organa

d)

Anakin Skywalker zu Han Solo