Django #1 (basic)

Django #1 (basic)

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

AC C1 - Introduction to Accounting and Conceptual Framework

AC C1 - Introduction to Accounting and Conceptual Framework

Professional Development

20 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

OBRA DE TEATRO

OBRA DE TEATRO

5th Grade

17 Qs

Pre and Post Test

Pre and Post Test

Professional Development

10 Qs

QUIZ #1: Introduction to Computer System

QUIZ #1: Introduction to Computer System

1st Grade

19 Qs

SOAL PRETEST PPG 18

SOAL PRETEST PPG 18

Professional Development

20 Qs

Webinar STAN '09

Webinar STAN '09

1st - 3rd Grade

10 Qs

ロジックテスト (Đề kiểm tra năng lực IT)

ロジックテスト (Đề kiểm tra năng lực IT)

University

12 Qs

Django #1 (basic)

Django #1 (basic)

Assessment

Quiz

Professional Development

1st Grade - Professional Development

Practice Problem

Hard

Created by

Jose Rangel

Used 14+ 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

30 sec • 1 pt

What happens when url.py file is edited while the development server is still running?

Development server terminates.

The development server automatically restarts.

The development server does nothing.

The web page is automatically reloaded.

I don't know it

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which setting contains the parameter of main-urls file?

ROOT_URLCONF

MAIN_URLCONF

STATIC_URL

MEDIA_URL

I don't know it

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Django is based on which framework?

MVC

MVVM

MVT

None of the above

I don't know it

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of __init__.py in project directories?

It allows Python to recognise the folder as package.

It is useless and can be deleted.

It is used to initialise any empty values.

None of the above

I don't know it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used instead of path() in urls.py to pass in regular expressions as routes?

static()

re_path()

include()

url()

I don't know it

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if, from the given list, I searched for urlpatterns registration/ skipping the trailing/slash?

Django will give a 404-error page.

Django will match registration/ pattern.

None of the above

I don't know it

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of os.path.dirname(__file__) in this method?

It is the default value and points to Django settings.py.

It is passing some value defined before.

It is used to pass the value of current file in which this line is written.

None of the above

I don't know it

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Professional Development