Welcome to CHOOLS DJANGO ASSESSMENT (YOU HAVE ONLY 30 MINUTES TO COMPLETE THIS PART [20 Questions]) **** Wishing You All The Best **** Instructions : To start the quiz, please provide your name, email id and phone number. All questions are mandatory* Answering each question is required before going on to the next page of questions. Your response is subject to change at any time. After completed the quiz click the submit button. If, once the time is up, it will be automatically submitted. The report will be mailed to your email address after the quiz is finished. 1. In Django QuertSet, which method is used to filter your search? filter() search() filter_all() filter_values()2. Django is maintained by which organization/company? Oracle Microsoft Corporation Python Software Foundation Django Software Foundation3. How you can turn off the debugging in Django's configuration file? DEBUG = false DEBUG = FALSE DEBUG = False DEBUGOFF = True4. Which Django tag is used to write comments? {% startcomment %} ... {% endcomment %} {% comment %} ... {% endcomment %} {% initcomment %} ... {% endcomment %} {% start %} ... {% end %}5. Who is/are the original author(s) of Django? Pearu Peterson, Robert Kern, and Travis Oliphant Adrian Holovaty and Simon Willison Adrian Hallet and Simon Willison Larry Ellison, Bob Miner, and Ed Oates6. Which is the correct import statement to use the render() function in Django? from django.shortcuts import render from django import render from django.requests import render from httpresponses import render7. Which is the correct syntax to write comments in Django views? # .. /* … * {{# ... #}} {# ... #}8. In Django QuertSet, how to add two search queries? By using the AND keyword By using the OR keyword By using the + symbol By using the comma separator9. Which Django tag is used to include a template inside the current template? allow insert import include10. Which command is used to create an app in Django? py admin.py startapp-c app_name py manage.py startapp app_name py manage.py djangoapp app_name py manage.py createapp app_name11. Which Django file contains all the configuration of your Django installation? main.py setting.py djangosetting.py settings.py12. How many parameters do render() function take in Django? 1 2 3 413. Django is written in which language? C++ Python AngularJS Asp.Net14. Which Django template tag is used to return the first not empty variable? empty firstempty firstemptyvar firstof15. What is the correct syntax to use a variable in the Django template? {{ variable_name }} < variable_name > << variable_name >> " variable_name "16. Which Django functions are used to take http requests and return http responses? Django views Django request() and response() Django templates Both A and B17. Which template tag is used to create variables directly in the Django template? {% with %} <% with %> << with >> {{ with }}18. Which is the correct command to start the Django development server on your system? py manage.py localhost py manage.py runatserver py manage.py createserver py manage.py runserver19. Which command is used to create a Python shell? run shell py manage.py shell run py manage.py shell py manage.py djangoshell20. In Django QuertSet, which method is used to get all the records and fields of a given model? get() all() getall() bunch()5 out of 4Time is Up!