Search Header Logo

React JS QUIZ

Authored by Roshan Jaiswal

Computers

Professional Development

Used 6+ times

React JS QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following command is used to create react-js-app ?

npx create-react-app appname
npm install create-react-app
npx install create-react-app -g
install - l create-react-app

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In React.js which one of the following is used to create a class for Inheritance ?

Create
Extends
Inherits
Delete

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the default port where a create-react-app project runs?

3000
8080
5000
8000

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following valid component return type of React ?

2
5
1
3

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a way to handle data in React.js ?

State & Props
Services & Components
State & Services
State & Component

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is must for the API in React.js ?

SetinitialComponent
renderComponent
render
All of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In React.js, how we can pass the data from one component to another in React.js ?

SetState
Render with arguments
Props
PropTypes

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?