const arr = [1,2,3]
const {a, b, c} = arr
console.log(a)
React & JS - Day 5 - KEC
Quiz
•
Other
•
Professional Development
•
Hard
Raja SK
Used 1+ times
FREE Resource
15 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
How can you navigate between different pages in a React application?
Use Redux for navigation between different pages in a React application.
Use Angular for navigation between different pages in a React application.
Use React Router for navigation between different pages in a React application.
Use jQuery for navigation between different pages in a React application.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Redux used for?
Redux is used for passing data through the component tree without having to pass props down manually at every level.
Redux is used for creating animations
Redux is used for managing routes
Redux is used for handling HTTP requests
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What array method is used to remove the first element from an array?
pop()
shift()
slice()
unshift()
7.
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
20 questions
Frontend Assignment
Quiz
•
Professional Development
12 questions
JS Quiz SECE
Quiz
•
Professional Development
20 questions
Season 5 #Spaic Python Weekly Quiz
Quiz
•
KG - Professional Dev...
15 questions
Numpy
Quiz
•
Professional Development
10 questions
basic of robotics
Quiz
•
6th Grade - Professio...
10 questions
Ideal Habit Frontliner
Quiz
•
Professional Development
15 questions
Harmonis Episode 1
Quiz
•
Professional Development
20 questions
SMF ABBREVATIONS QUESTIONS
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade