
React 2
Authored by Guilherme Craveiro
Computers
1st - 5th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Enter the correct ReactDOM method to render the React element to the DOM:
ReactDOM._________(myElement, document.getElementById('root'));
render
useState
react
root
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Complete this arrow function:
hello = ______ "Hello World!";
() =>
=>
(something) =>
() =
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select a variable that cannot be changed.
______ x = 5.6;
const
let
int
float
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the array method that will allow you to run a function on each item in the array and return a new array.
const myList = myArray._______((item) => <p>{item}</p>)
map
list
runArray
newArray
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Use destructuring to extract only the third item from the array, into a variable named suv.
const vehicles = ['mustang', 'f-150', 'expedition'];
const [______] = vehicles;
, , suv
3
2
'expedition'
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Use the spread operator to combine the following arrays.
const arrayOne = ['a', 'b', 'c'];
const arrayTwo = [1, 2, 3];
const arraysCombined = [________________];
'a','b','c',1,2,3
arrayOne,arrayTwo
...arrayOne, ...arrayTwo
arrayOne + arrayTwo
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Render a <p> element without using JSX.
const paragraph = React.createElement(_____, {}, 'This is a paragraph without using JSX!');
p
c
<p>
paragraph
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
ทบทวนเนื้อหาที่เรียน
Quiz
•
3rd Grade
10 questions
Quiz
Quiz
•
4th - 6th Grade
15 questions
พื้นฐานการเขียนโปรแกรมภาษา C
Quiz
•
2nd Grade
11 questions
Lớp 4: Chèn và trình bày bảng trong văn bản
Quiz
•
1st Grade
17 questions
Calc
Quiz
•
3rd - 4th Grade
10 questions
วิทยาวิทยาม.6
Quiz
•
3rd Grade
10 questions
Conceptos Básicos Excel
Quiz
•
1st - 3rd Grade
12 questions
TechnoSnail- Cards
Quiz
•
3rd Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
18 questions
Comparing Fractions with same numerator or denominator
Quiz
•
3rd Grade
10 questions
Wayground Quiz Review for G2 Benchmark 3
Quiz
•
2nd Grade
10 questions
Area
Quiz
•
3rd Grade