React JS Quiz

React JS Quiz

University

10 Qs

quiz-placeholder

Similar activities

CompTIA A+ 20200306

CompTIA A+ 20200306

University

15 Qs

Android development Quiz

Android development Quiz

University

10 Qs

DTM10093 - FINAL TEST

DTM10093 - FINAL TEST

University

13 Qs

ICS - Bellwork -9/1/25 - 9/5/25

ICS - Bellwork -9/1/25 - 9/5/25

3rd Grade - University

10 Qs

COM110 Chapter One Review Quiz

COM110 Chapter One Review Quiz

University

11 Qs

ATTITUDE : FORMAT & CHANGE

ATTITUDE : FORMAT & CHANGE

University

10 Qs

LGBTQ+ history

LGBTQ+ history

8th Grade - Professional Development

13 Qs

Warm-up game

Warm-up game

1st Grade - University

10 Qs

React JS Quiz

React JS Quiz

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React.js?

A) A back-end framework

B) A front-end JavaScript library

C) A database management system

D) A CSS preprocessor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which company developed React.js?

A) Google

B) Microsoft

C) Facebook

D) Twitter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JSX?

A) A JavaScript extension syntax for writing HTML in JavaScript

B) A new version of JavaScript

C) A CSS framework

D) A database language

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to create a functional component in React?

A) class MyComponent extends React.Component

B) function MyComponent() { return <div>Hello</div>; }

C) React.createComponent(MyComponent)

D) new React.Component(MyComponent)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to update the state in a React class component?

A) updateState()

B) setState()

C) changeState()

D) modifyState()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to pass a prop to a component?

A) <MyComponent prop="value" />

B) <MyComponent {prop: "value"} />

C) <MyComponent.prop = "value" />

D) <MyComponent prop["value"] />

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Hook is used to manage state in a functional component?

A) useEffect

B) useState

C) useReducer

D) useContext

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?