React & JS - Day 5 - KEC

React & JS - Day 5 - KEC

Professional Development

15 Qs

quiz-placeholder

Similar activities

School Libraries - Key Organisations

School Libraries - Key Organisations

Professional Development

10 Qs

TEC-T96

TEC-T96

Professional Development

13 Qs

Ôn tập

Ôn tập

Professional Development

11 Qs

Evaluación de React para Estudiantes

Evaluación de React para Estudiantes

Professional Development

10 Qs

Excel

Excel

Professional Development

10 Qs

Test your knowledge Tuesday's : IPAC

Test your knowledge Tuesday's : IPAC

Professional Development

10 Qs

PHP Quiz

PHP Quiz

Professional Development

10 Qs

[FAST TRACK] Android Class Quiz week 05 12/05

[FAST TRACK] Android Class Quiz week 05 12/05

Professional Development

15 Qs

React & JS - Day 5 - KEC

React & JS - Day 5 - KEC

Assessment

Quiz

Other

Professional Development

Hard

Created by

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?