React (The Last Act)

Quiz
•
Mathematics
•
University
•
Medium
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
Similar Resources on Wayground
15 questions
Reading and Graphing Inequalities on a Number Line

Quiz
•
6th Grade - University
11 questions
Solving Multi-Step Inequalities

Quiz
•
9th Grade - University
13 questions
Compound Inequalities - Writing and Graphing

Quiz
•
8th Grade - University
12 questions
Comparing Numbers to 30

Quiz
•
1st Grade - University
10 questions
Absolute Value Equation and Inequality Practice

Quiz
•
11th Grade - University
10 questions
Inequalities

Quiz
•
University
10 questions
Solving One-Step Inequality

Quiz
•
7th Grade - University
15 questions
Graphing Inequalities on a Number Line

Quiz
•
6th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade