React (The Last Act)

React (The Last Act)

University

10 Qs

quiz-placeholder

Similar activities

Inequality in One Variable

Inequality in One Variable

9th Grade - University

15 Qs

Solve Inequalities Mult/Div

Solve Inequalities Mult/Div

6th Grade - University

15 Qs

One Step Inequalities

One Step Inequalities

7th Grade - University

11 Qs

Solving Inequalities Multiplying and Dividing

Solving Inequalities Multiplying and Dividing

9th Grade - University

14 Qs

QUIZ 1 CHAPTER 2

QUIZ 1 CHAPTER 2

University

10 Qs

MRWC -- Comparing Fractions

MRWC -- Comparing Fractions

11th Grade - University

15 Qs

Persamaan dan Pertidaksamaan Nilai Mutlak

Persamaan dan Pertidaksamaan Nilai Mutlak

10th Grade - University

15 Qs

Review for Quiz Unit 3 #1

Review for Quiz Unit 3 #1

7th Grade - University

10 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?