Django

Django

University

100 Qs

quiz-placeholder

Similar activities

HTML 5

HTML 5

University

100 Qs

Mahabbat 2

Mahabbat 2

University

101 Qs

CB Python quiz-1

CB Python quiz-1

University

100 Qs

A+ group 1 Questions

A+ group 1 Questions

University

100 Qs

SQL: Using Single-Row Functions

SQL: Using Single-Row Functions

8th Grade - Professional Development

100 Qs

ICT practica ENU

ICT practica ENU

University

101 Qs

Python Basics

Python Basics

University

100 Qs

javascript

javascript

KG - University

100 Qs

Django

Django

Assessment

Quiz

Computers

University

Easy

Created by

Trọng Lềnh

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?