Django

Django

University

100 Qs

quiz-placeholder

Similar activities

NWC204 module 1-2-3

NWC204 module 1-2-3

University

100 Qs

C# NAHU!!!

C# NAHU!!!

University

102 Qs

N10-008 A

N10-008 A

University

100 Qs

CCNA ITN Practice

CCNA ITN Practice

University

95 Qs

STS101_MidtermExam

STS101_MidtermExam

University

100 Qs

STS101-Final Exam

STS101-Final Exam

University

100 Qs

C- function, ptr, str, file storage class

C- function, ptr, str, file storage class

University

100 Qs

javascript

javascript

KG - University

100 Qs

Django

Django

Assessment

Quiz

Computers

University

Easy

Created by

Trọng Lềnh

Used 6+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Django?
A programming language
A web framework
A database management system
A code editor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming language does Django use?
Java
Python
PHP
C++

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of `views.py` in Django?
Handling database operations
Defining functions to handle HTTP requests
Defining templates
Declaring static files

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file does Django use for URL routing?
models.py
urls.py
views.py
settings.py

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new Django app?
django-admin startproject mysite
django-admin startapp blog
django-admin createapp blog
python manage.py newapp blog

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which syntax is used to display dynamic content in a Django template?
{{ variable }}
{% variable %}
{% print(variable) %}
{# variable #}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When should you use `makemigrations` in Django?
When modifying a template
When modifying database models
When setting up URL routing
When modifying settings.py

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?