Django #1 (basic)

Quiz
•
Professional Development
•
1st Grade - Professional Development
•
Hard
Jose Rangel
Used 14+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TOEIC Question-Response

Quiz
•
University
20 questions
PAST SIMPLE vs PRESENT PERFECT

Quiz
•
Professional Development
20 questions
U 10 Top Notch Fundamentals

Quiz
•
University
20 questions
U 1 Top Notch 3

Quiz
•
Professional Development
10 questions
Engagement Activity (UPE)

Quiz
•
Professional Development
15 questions
Truthfulness

Quiz
•
KG - 3rd Grade
15 questions
Agreement - Disagreement

Quiz
•
11th - 12th Grade
20 questions
Present Simple or Continuous???

Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade
Discover more resources for Professional Development
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade