QUIZ1

QUIZ1

University

15 Qs

quiz-placeholder

Similar activities

QUIZ PENGEMBANGAN PERANGKAT LUNAK DAN GIM

QUIZ PENGEMBANGAN PERANGKAT LUNAK DAN GIM

10th Grade - University

15 Qs

CO Lecture1 mini Quiz

CO Lecture1 mini Quiz

University

10 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

PPL 223 - (QUIZ 3) Data Types and Structures

PPL 223 - (QUIZ 3) Data Types and Structures

University

15 Qs

OSS (QUIZ 7) Input/Output Systems

OSS (QUIZ 7) Input/Output Systems

University

20 Qs

Borders and Shades in Word 2010 Quiz

Borders and Shades in Word 2010 Quiz

10th Grade - University

12 Qs

Workshop_quiz_on Sk-learn

Workshop_quiz_on Sk-learn

University

15 Qs

SOFTWARE ENGINEERING

SOFTWARE ENGINEERING

University

20 Qs

QUIZ1

QUIZ1

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Gatera Antoine

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?