Search Header Logo

Buổi 3: React Components, State & Lifecycle method

Authored by Anh Nguyễn Bá Tuấn

Professional Development

Professional Development

Used 10+ times

Buổi 3: React Components, State & Lifecycle method
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ReactJS có bao nhiêu loại component chính?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Folder node_modules trong dự án ReactJS dùng để làm gì?

Nơi chứa các souce code như component, các hàm dùng chung,...

Nơi chứa các file HTML

Chứa các tài nguyên như hình ảnh, font chữ, âm thành,...

Chứa các thư viện và gói modules sử dụng trong dự án

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để truyền dữ liệu từ component cha xuống componnet con thì ta phải sử dụng ...?

props + state

props

state

event

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Hàm nào được sử dụng để lặp qua các phần tử của mảng, kết quả trả về là một mảng mới đã được chỉnh sửa có số lượng phần tử bằng với mảng cũ?


filter()

reduce()

find()

map()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Đáp án nào sau đây đã tuân thủ theo quy tắc đặt tên component trong ReactJS?


List_product

ListProduct

listProduct

list_product

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Kết quả trả về của hàm filter là gì?

Một biến

Một đối tượng

Một mảng

Một callback function

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Kiểu dữ liệu của props khi truyền từ component cha xuống component con là gì?

String

Array

Object

Function

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development