React (The Last Act)

React (The Last Act)

University

10 Qs

quiz-placeholder

Similar activities

Comparing Fractions

Comparing Fractions

3rd Grade - University

12 Qs

Absolute Value Equation and Inequality Practice

Absolute Value Equation and Inequality Practice

11th Grade - University

10 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

10 Qs

C++ Coding Problems

C++ Coding Problems

4th Grade - Professional Development

10 Qs

The Ultimate C++ Quiz

The Ultimate C++ Quiz

5th Grade - Professional Development

7 Qs

Inequality Phrases

Inequality Phrases

6th Grade - University

15 Qs

Two Step Inequalities - Ransome

Two Step Inequalities - Ransome

7th Grade - University

10 Qs

TOÁN LỚP 1

TOÁN LỚP 1

12th Grade - University

11 Qs

React (The Last Act)

React (The Last Act)

Assessment

Quiz

Mathematics

University

Medium

Created by

Saumya Verma

Used 13+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What do you call the message wrapped in curly braces below?

let message = 'Hi there';

const element = <p>{message}</p>;

 A JS function

A JS element

A JSX wrapper

A JS expression

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a disadvantage of React.js?

React.js has only a view layer. We have put your code for Ajax requests, events and so on.

The library of React.js is pretty large.

The JSX in React.js makes code easy to read and write.

The learning curve can be steep in React.js.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What would be the output of the following example?

var Helloworld=(props)=>  {  

 return(  

 <div>  

 Hello World 1  

 </div>  

 <div>  

 Hello World 2  

 </div>  

 );  

}  

ReactDOM.render(<Helloworld/>,mountNode)  

Hello World 1

Hello World 2

Hello World 1 Hello World 2

Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many numbers of elements a valid react component can return?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used to pass data to a component from outside in React.js?

 SetState

Render with arguments

Props

 PropTypes

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does ES6 stand for?

 ECMAScript 6

ECMA 6

ECMAJavaScript 6

EJavaScript 6

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is Babel?

 A JavaScript transpiler

A JavaScript interpreter

 A JavaScript Compiler

 None of the above

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?