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
15 questions
Numpy
Quiz
•
Professional Development
10 questions
CT Components
Quiz
•
Professional Development
19 questions
React Quiz
Quiz
•
Professional Development
14 questions
JavaScript Arrays and Objects
Quiz
•
Professional Development
10 questions
Brian Quizz
Quiz
•
Professional Development
10 questions
Evaluación de React para Estudiantes
Quiz
•
Professional Development
10 questions
Test your knowledge Tuesday's : IPAC
Quiz
•
Professional Development
20 questions
Starbucks Quiz 5
Quiz
•
University - Professi...
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade