BCCK_SNLTW_HP11

BCCK_SNLTW_HP11

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

RBT UNIT 1 ASAS TEKNOLOGI -TAHUN 5

RBT UNIT 1 ASAS TEKNOLOGI -TAHUN 5

11th Grade

14 Qs

BCCK_HP10

BCCK_HP10

9th - 12th Grade

12 Qs

Intro to SolidWorks Tutorial 1 Quiz

Intro to SolidWorks Tutorial 1 Quiz

9th Grade

10 Qs

OSI & TCP/IP_MiniQuiz

OSI & TCP/IP_MiniQuiz

9th - 12th Grade

15 Qs

Research Methods

Research Methods

12th Grade

15 Qs

Career Choices

Career Choices

9th Grade

10 Qs

Impact of information technology

Impact of information technology

10th Grade

10 Qs

Company's Crush

Company's Crush

KG - Professional Development

15 Qs

BCCK_SNLTW_HP11

BCCK_SNLTW_HP11

Assessment

Quiz

Other

9th - 12th Grade

Hard

Created by

chien nguyen

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Mô hình MVT trong Django được triển khai theo cách nào?
Model - View - Controller
Model - View - Template
Model - View - Component
Model - Virtual - Controller

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để tạo một model trong Django, bạn cần kế thừa lớp nào?
django.db.Model
django.models.Model
django.db.models.Model
django.Model

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lệnh nào sau đây giúp chạy migration để cập nhật database theo các model đã thay đổi?
python manage.py migrate
python manage.py migration
python manage.py update_db
python manage.py sync

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để lưu trữ ảnh trong Django, cần sử dụng loại field nào?
ImageField
FileField
PictureField
PhotoField

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Django sử dụng cơ sở dữ liệu mặc định nào?
MySQL
PostgreSQL
SQLite
MongoDB

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để đăng ký một model trong Django Admin, cần sử dụng lệnh nào?
admin.add_model(ModelName)
admin.site.register(ModelName)
admin.Model.register(ModelName)
admin.register(ModelName)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để tạo URL động với tham số <id> trong Django, ta khai báo như thế nào?
path('detail/<id>/', views.detail, name='detail')
path('detail/?id=<int:id>', views.detail, name='detail')
url('detail/<int:id>/', views.detail, name='detail')
path('detail/<int:id>/', views.detail, name='detail')

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?