Into to React.js

Into to React.js

Professional Development

10 Qs

quiz-placeholder

Similar activities

TypeScript slm asl nbr?

TypeScript slm asl nbr?

Professional Development

7 Qs

android

android

Professional Development

15 Qs

Intro a React JS

Intro a React JS

Professional Development

5 Qs

Node basics

Node basics

Professional Development

12 Qs

React Two - Styling

React Two - Styling

Professional Development

11 Qs

Web Development Workshop

Web Development Workshop

University - Professional Development

10 Qs

Programming Knowledge Quiz (Medium)

Programming Knowledge Quiz (Medium)

5th Grade - Professional Development

10 Qs

Web Development Quiz

Web Development Quiz

Professional Development

10 Qs

Into to React.js

Into to React.js

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Kelsey Schroeder

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React JS?

 A JavaScript library for building user interfaces

A server-side framework for building web applications

A programming language for building web applications

A front-end framework for building mobile applications

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

React component can return how many parent html tags

one

multiple

two

three

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt


Which statements are true about a React Component? Select all that apply.

It can be written as a Class

It can be written as a Function

It returns HTML

Bypasses the need for a HTML document alltogether

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about React?

React helps us bring rendering logic and markup together in the same place to intelligently update the dom


React Components return HTML, the same as a HTML page with Vanilla DOM.

React was created by facebook, so only their engineers can design new customized packages to use with React

Can only be used Via CDN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this component render?

const List = (props) => {

const lang = ["Java", "Python", "Ruby", "Javascript"]
return ( <div>                                      
{lang.map(el => <p>{el}</p>)}
      </div>)                                  

}

Error. Cannot use direct JavaScript code in JSX

Error. Should be replaced with a for..loop for correct output

Displays the list of languages in the array

Displays nothing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the useState hook in React?

To handle user interactions within a component

To define the layout of a component

To "remember" values and have a method to update them

To take a 'snapshot' of the component details and log it to the console.

To enable us to use JSX

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JSX in React.js?

A syntax extension for JavaScript

A package manager for React.js

A testing framework for React.js

A styling framework for React.js

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?