Question Bank
Question Bank
Module 3
1. Develop a Model form for a student that contains his topic chosen for project, languages
used and duration with a model called project.
2. What are function and string object approaches for writing in URLconf. Further list their
potential advantages.
3. Differentiate keyword and positional argument passing techniques in Python.
4. Explain the working of captured parameters and Extra URL conf with include().
5. Explain steps of Configuring URLs in Django.
6. Create a simple Django project called urls_dispatcher_example with two
application(articles and Blog).
Module 4
1. What is MIME and discuss its types
2. Discuss how to create templates for list view and detail view with an example.
3. Explain Dynamic CSV using databases.
4. What are the principal advantages of Generic views in Django? Give an example of a
function based generic view.
5. Explain the different ways of extending Generic views in Django.
6. Explain the high-level syndication feed-generating framework that creates RSS and
Atom feeds in Django.
7. Explain the various methods and attributes of Sitemap class.
8. Define cookies and why they are required. Write a program to demonstrate setting and
getting cookies in Django.
9. Develop a Python function that stores the favorite color given by the user in Session.
Further write another function that displays this session information.
Module 5
1. Explain the $.ajax() function with parameters, data, success and error blocks.
2. Differentiate HTML, XML and XHTML. How JSON is better than XML for data
presentation.
3. Explain autocomplete and progressive enhancement features of JQuery with examples.
4. Write short notes on (i) UI Autocomplete (ii) iFrames (iii)Turning on Ajax behavior.
5. Discuss the setting of Javascript in Django.