React Interview

React Interview

Professional Development

93 Qs

quiz-placeholder

Similar activities

Swing + Java-Visuals

Swing + Java-Visuals

Professional Development

89 Qs

Software Construction Quiz

Software Construction Quiz

Professional Development

92 Qs

AWS Services Quiz

AWS Services Quiz

University - Professional Development

90 Qs

CCNA 200-301 Aug 2020

CCNA 200-301 Aug 2020

Professional Development

97 Qs

Windows OS

Windows OS

University - Professional Development

95 Qs

SMR - RL - UT7 - Encaminamiento (Conceptos y algoritmos).

SMR - RL - UT7 - Encaminamiento (Conceptos y algoritmos).

Professional Development

92 Qs

AZ-900 (321-412)

AZ-900 (321-412)

Professional Development

90 Qs

OCR GCSE Computer Science - J276 1.1 - 1.7

OCR GCSE Computer Science - J276 1.1 - 1.7

KG - Professional Development

91 Qs

React Interview

React Interview

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Talha Khan

FREE Resource

93 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React?

A library for handling HTTP requests

A library for building user interfaces

A database management system

A CSS preprocessor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are components in React?

Reusable UI elements

The logic part of React

Database structures

React's core library code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JSX?

JavaScript extension

HTML preprocessor

XML-like syntax to write React components

JavaScript compiler

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between functional and class components?

Functional components are stateful

Functional components are stateless

Class components are only for styling

Class components can't manage state

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you pass data to components in React?

Through props

Through events

Through context

Directly by DOM manipulation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for using a prop in a functional component?

this.props.name

props.name

{props}.name

props().name

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of `useState` in React?

To manage component lifecycle

To manage component state in functional components

To bind event handlers

To handle API requests

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?