
React & JS - Day 5 - KEC
Authored by Raja SK
Other
Professional Development
Used 2+ 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
30 sec • 1 pt
const arr = [1,2,3]
const {a, b, c} = arr
console.log(a)
1
undefined
null
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you destructure an object in JavaScript?
const { name, age } = { person };
const { name, age } = person;
const { name: name, age: age } = person;
const [name, age] = person;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which React Hook is used to perform side effects in a functional component?
useState
useSideEffect
useEffect
useFetch
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What array method is used to remove the first element from an array?
pop()
shift()
slice()
unshift()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const arr = [1,2,3]
const [a: x, b, c] = arr
console.log(x)
1
undefined
null
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What array method is used to check if all elements in an array pass a certain condition?
verifyAll()
every()
checkAll()
all()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which React Hook is used to create a state variable in a functional component?
createState()
useState()
setState()
setName()
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
Chapter 8 & 9 Implications of Payment Systems
Quiz
•
University - Professi...
10 questions
CV Writing
Quiz
•
Professional Development
10 questions
Data Privacy
Quiz
•
Professional Development
10 questions
Qatar National Day
Quiz
•
KG - Professional Dev...
10 questions
Introduction to MICE
Quiz
•
Professional Development
10 questions
horses
Quiz
•
KG - Professional Dev...
12 questions
Pre- Training Evaluation
Quiz
•
Professional Development
15 questions
Service Verbs
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...