Web Application Technologies and Django | Week 2

Course Name: Django for Everybody

Sub-course: Web Application Technologies and Django

Course Link: Django for Everybody

Sub-course Link: Web Application Technologies and Django

These are answers of Web Application Technologies and Django Week 2 Answers Coursera Quiz


Practice Quiz

Q1. These questions come from the Django project tutorial materials.
What is the name of the application we build in step 1 of “Writing your first Django app, part 1”?

  • blog
  • autos
  • cats
  • polls
  • dogs

Answer: polls


Q2. What command do we run on PythonAnywhere instead of “python manage.py runserver”?

  • python startapp polls
  • python manage.py migrate – and then set the virtual environment
  • python manage.py paw_restart
  • python manage.py check – and then reload the web application

Answer: python manage.py check – and then reload the web application


These are answers of Web Application Technologies and Django Week 2 Answers Coursera Quiz


Q3. What command is used to add a new application to a Django project?

  • python manage.py startapp
  • python manage.py build
  • python manage.py new
  • python manage.py create

Answer: python manage.py startapp


Q4. In the mysite/urls.py file, what is the basic idea of “include”?

  • To make it easy to plug-and-play URLs
  • To pull in commonly used HTML material
  • To properly install Django and all its dependencies
  • To apply a regular expression to the incoming path in the request object

Answer: To make it easy to plug-and-play URLs


These are answers of Web Application Technologies and Django Week 2 Answers Coursera Quiz


Q5. What is the purpose of the admin site in a Django project?

  • It tracks user activity
  • It checks to see if your server is using too many resources
  • It makes sure all of the software is always the latest version
  • It lets you add, change, and delete data items
See also  Django for Everybody - Coursera

Answer: It lets you add, change, and delete data items


These are answers of Web Application Technologies and Django Week 2 Answers Coursera Quiz


More Weeks of this course: Click Here

More Coursera Courses: http://progiez.com/coursera


These are answers of Web Application Technologies and Django Week 2 Answers Coursera Quiz