QUIZ1

QUIZ1

University

15 Qs

quiz-placeholder

Similar activities

Raspodijeljeni sustavi - uvodne vježbe

Raspodijeljeni sustavi - uvodne vježbe

University

12 Qs

Flutter Quiz#1

Flutter Quiz#1

University

20 Qs

Introduction to Python Programming

Introduction to Python Programming

University

20 Qs

Quiz 1 | Information Security | Kali Linux Commands

Quiz 1 | Information Security | Kali Linux Commands

University

20 Qs

Post Test PKM Robotika App Inventor

Post Test PKM Robotika App Inventor

University

10 Qs

Lecture 3 - Views & Urls

Lecture 3 - Views & Urls

University

20 Qs

ITP1 Week 14 Recap

ITP1 Week 14 Recap

University

15 Qs

HT-10 Identifica principales aplicaciones del NLP.

HT-10 Identifica principales aplicaciones del NLP.

University

20 Qs

QUIZ1

QUIZ1

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Gatera Antoine

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What command is used to create a new Django project?

django-admin startproject projectname
startproject django-admin projectname
django-admin newproject projectname
django create project projectname

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which file is used to define the settings and configurations of a Django project?

app.yaml
settings.json
config.py
settings.py

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What command is used to create a new Django app?

django create app
python manage.py startapp
manage.py newapp
python startapp

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which file contains the app configuration in a Django app?

views.py
urls.py
apps.py
settings.py

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of models.py in a Django app?

The primary purpose of models.py in a Django app is to define the data models.
To define URL routing in a Django app.
To manage static files in a Django app.
To handle user authentication in a Django app.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of views.py in a Django app?

views.py is responsible for managing the database.
views.py handles user authentication and authorization.
The role of views.py in a Django app is to define the logic for handling requests and returning responses.
views.py is used for defining URL patterns in the app.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command creates migration files for changes in models?

makemigrations
update_migrations
generate_migrations
create_migrations

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?

Discover more resources for Information Technology (IT)