Search Header Logo

React Quiz I

Authored by Aymane Benhima

Information Technology (IT)

University

Used 3+ times

React Quiz I
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React?

A front-end JavaScript library developed by Facebook in 2011.

A back-end framework like Node.js.

A database management system.

A CSS preprocessor.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a SPA (Single Page Application)?

A web application that dynamically updates the page without reloading it.

A website with multiple HTML pages loaded separately.

A mobile app that doesn't require a browser.

A React-specific feature.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are features of React?

Uses the virtual DOM instead of the real DOM.

Supports server-side rendering.

Follows uni-directional data flow.

Requires Java to work.

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are some major advantages of React?

Increases application performance.

Can be used on both client and server sides.

JSX improves code readability.

Requires an internet connection at all times to function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is create-react-app used for?

A command-line tool to set up a new React application.

A database management tool.

A UI framework like Bootstrap.

A built-in React function to create components.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of empty tags (<> ) in React?

Used for declaring fragments.

Used to create an empty div.

Used to comment out JSX code.

Used to add external scripts.

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is JSX?

A syntax extension that looks like XML and works with JavaScript.

Syntactic sugar for React.createElement().

A new programming language for React.

A built-in JavaScript function.

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?