Search Header Logo

Quiz2

Authored by Akash Ekanayaka

Computers

University

Used 2+ times

Quiz2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many numbers of elements a valid react component can return?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a state in React?

A permanent storage.

Internal storage of the component.

External storage of the component.

None of the above.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In MVC, what does React.js act as?

Model

View

Controller

Middleware

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the smallest building block of React.JS.

props

elements

Components

React Hooks

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to access a function fetch()  from h1 element in JSX?

<h1>${fetch()}</h1>

<h1>{fetch}</h1>

<h1>${fetch}</h1>

<h1>{fetch()}</h1>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers