Search Header Logo

[Intermediate] Laravel quiz

Authored by Ta Huyen

Professional Development, Computers

Professional Development

Used 3+ times

[Intermediate] Laravel quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Hàm down() trong file migration có mục đích gì?

Xoá bảng trong DB
Xoá cột trong 1 bảng trong DB
Làm ngược lại những gì làm ở hàm up()
Tạo thêm 1 bảng hoặc cột trong DB

2.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Khi muốn tạo nhiều nhiều dữ liệu test với nội dung có ý nghĩa một cách đơn giản thì nên dùng gì?

Faker
Factory
Seeder
Mockery

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Đoạn code trên thể hiện mối quan hệ gì trong Laravel?

Many to many
Has Many Through
Many To Many Polymorphic
One To Many

4.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Chọn các function thường được dùng trong "Eager loading"

load()
with()
loadMissing()
loadMorph()

5.

OPEN ENDED QUESTION

1 min • 5 pts

Các hàm detach(), attach(), sync() được dùng với mục đích gì?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Khi sử dụng resource router, 1 resource router tương ứng với bao nhiêu route?

6.0
7.0
8.0
9.0

7.

FILL IN THE BLANK QUESTION

45 sec • 5 pts

Điền vào chỗ trống (có thể viết tiếng việt): "Middleware provide a convenient mechanism for _________ HTTP requests entering your application."

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