
Django
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Quang Huynh Dang
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Django là gì?
Django là một thư viện
Django là một ngôn ngữ lập trình
Django là một loại cơ sở dữ liệu
Django là một framework
Answer explanation
Django là một framework web được viết bằng Python
2.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Tệp nào chứa cấu hình chính của dự án Django?
manage.py
views.py
settings.py
urls.py
Answer explanation
Tệp settings.py chứa tất cả cấu hình quan trọng, như cơ sở dữ liệu, ứng dụng cài đặt, và các cài đặt bảo mật của dự án.
3.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Django sử dụng mô hình kiến trúc nào?
MVC
MVT
MVVM
MVP
Answer explanation
Django sử dụng mô hình MVT (Model-View-Template), giúp tổ chức logic dữ liệu (Model), giao diện (Template), và xử lý yêu cầu (View).
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu lệnh nào dùng để tạo một ứng dụng mới trong Django?
django-admin startproject
python manage.py startapp
django-admin makemigrations
Không có đáp án nào đúng
Answer explanation
Lệnh python manage.py startapp <app_name> được dùng để tạo một ứng dụng mới trong dự án Django.
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu lệnh nào dùng để khởi động server phát triển của Django?
python manage.py migrate
python manage.py makemigrations
python manage.py runserver
Không có đáp án nào đúng
Answer explanation
Lệnh python manage.py runserver khởi chạy server phát triển tại địa chỉ mặc định http://127.0.0.1:8000
6.
MULTIPLE CHOICE QUESTION
20 sec • 15 pts
Cú pháp để comment trong template?
{# comment here #}
{{ comment here }}
{% comment here %}
{/ comment here /}
7.
MULTIPLE CHOICE QUESTION
20 sec • 15 pts
Django ORM cho phép bạn làm gì?
Tạo giao diện người dùng tự động
Tạo và xử lý các truy vấn cơ sở dữ liệu thông qua Python
Chạy server phát triển
Kiểm tra mã nguồn tự động
Answer explanation
Django ORM (Object-Relational Mapper) giúp tương tác với cơ sở dữ liệu bằng Python thay vì SQL
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
eXtensible Markup Language
Quiz
•
12th Grade - University
10 questions
Java Quiz 1 in tamil theme
Quiz
•
University
15 questions
THI HKI Tin học - Khối 1 và 2
Quiz
•
1st Grade - University
10 questions
Quizzi bài 29 Tin học 10
Quiz
•
10th Grade - University
10 questions
TIN 12. BÀI 19. DỊCH VỤ SỬA CHỮA VÀ BẢO TRÌ MÁY TÍNH
Quiz
•
12th Grade - University
10 questions
Tin 9 Bài 8. SUMIF
Quiz
•
9th Grade - University
10 questions
Quiz Meet 3 Mini SC Programing
Quiz
•
University
15 questions
Khảo Sát Chất Lượng Môn TIN 8
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
