MERN_STACK_11

MERN_STACK_11

Assessment

Quiz

Created by

S Kumar

Computers

University

9 plays

Hard

Student preview

quiz-placeholder

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which file is commonly used as the entry point of a React application?

index.html

main.js

app.jsx

index.js

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In the context of React, what is the purpose of the onChange event?

It triggers when a form is submitted.

It triggers when an input field loses focus.

It triggers when the value of an input field changes.

It triggers when a button is clicked.

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What does JSX stand for in the context of React?

JavaScript XML

JSON Exchange

Java Syntax Extension

JSX doesn't stand for anything

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the purpose of the useState hook in React?

To manage side effects in functional components.

To create reusable custom hooks.

To handle state changes in functional components.

To manage routing in React applications.

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is React?

A programming language

A JavaScript library for building user interfaces

An operating system

A database management system