Django

Django

University

100 Qs

quiz-placeholder

Similar activities

OOP Final Exam

OOP Final Exam

University

100 Qs

Python Basics

Python Basics

University

100 Qs

Thiết kế web_Buổi 8

Thiết kế web_Buổi 8

University

100 Qs

2ºDAW - Despliegue Apps Web. 1er.Trim. Prof. C. Boni

2ºDAW - Despliegue Apps Web. 1er.Trim. Prof. C. Boni

University - Professional Development

100 Qs

икт 1 рубежка

икт 1 рубежка

University

100 Qs

CNE_MCQ

CNE_MCQ

University

105 Qs

ICT practica ENU

ICT practica ENU

University

101 Qs

AlgoritmUwUsok és adatszerkezetek I. Vizsga

AlgoritmUwUsok és adatszerkezetek I. Vizsga

University

96 Qs

Django

Django

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Trọng Lềnh

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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?