Question Bank On Full Stack Development
Question Bank On Full Stack Development
Module-1
1. Explain the need of a web framework highlighting the
disadvantages in one off dynamic script that uses a specific DBMS
library.
2. Write a python function in Django framework views.py that
displays date and time which is an offset of n hours from current
date and time.
3. With a flow diagram explain the processing of Django request and
response.
4. Explain the role of various wild cards in creating dynamic URLs
with any example.
5. With a sample error page explain the role of finding errors in Django
6. Write a Django application which prints number of words passed
in the URL. (Write views.py and urls.py)
Module-2
1. Define a Django Template. Write a simple python function that
creates Template object and renders it.
2. Explain context variable look up in Django templates with rules for
following lookups.
3. Explain various filters used in Django Template system with code
snippet for each.
4. Develop a Django app which displays yesterday and tommorows
date and time. (Write template html file, views.py and urls.py)
5. Define Template inheritance and explain the usefulness of template
inheritance with any example.
6. Explain the dumb of doing database interaction in Python and give
the salient features of MVT development pattern.
7. What are the various database settings to be given in settings.py for
interacting with MySQL. Differentiate app and project.
8. Bring out the various advantages of storing database as models than
SQL.
9. Develop a Django app that creates a model to store student
information. Perform insertion, deletion, updation and retrieval
using ORM Django APIs.
10.Explain various APIs provided Django ORM for interacting with
tables using appropriate examples.
Module-3
1. Explain various features available in Django administration
website.
2. Develop a django app that registers some models in admin.py and
also includes customizations for search, filter, grouping and others.
3. Explain the mechanism to customize the Admin index page.
4. Develop a Model form for student that contains his topic chosen for
project, languages used and duration with a model called project.
5. Write a python function for validating the mobile number with
validation condition as 10 digits, ‘should not start with 0, + can be
at beginning.
6. What are function and string object approaches for writing in
URLconf. Further list their potential advantages.
7. Differentiate keyword and positional argument passing techniques
in Python.
8. Explain the working of captured parameters and Extra URL conf
with include()
Module-4
1. What are principal advantages of Generic views in Django. Give an
example of function based generic view.
2. Explain object based Generic view with example.
3. Explain the different ways of extending Generic views in Django.
4. Create a generic class view which displays list of students and
detailview that displays student details for any selected student in
the list.
5. How are MIME types handled by views. Write a python function
that generates a csv for students data containing their usn, name,
college, and branch details.
6. Develop a Python code for generating PDF file for any model.
7. Explain the high-level syndication feed-generating framework that
creates RSS and Atom feeds in Django.
8. Explain the various methods and attributes of Sitemap class.
9. Define cookies and why are they required. With a programming
example demonstrate setting and getting of cookies in Django.
10.Develop a Python function that stores favourite colour given by the
user in Session. Further write another function that displays this
session information.
11.Explain various fields and methods of User objects
Module-5
1. Ajax is an overlaid function – substantiate. Bring out the salient
features of Java script.
2. Explain the various methods and properties of XMLHttpRequest
object
3. Differentiate HTML, XML and XHTML. How JSON is better
than XML for data presentation.
4. Explain the use of JQuery for the DOM in HTML with code
snippets.
5. Explain the $.ajax() function with parameters, data, success and
error blocks.
6. Develop a registration page for student enrolment using
appropriate model but without page refresh using AJAX
7. Explain autocomplete and progressive enhancement features of
JQuery with examples.
8. Develop a search application in Django using AJAX that displays
courses enrolled by a student being searched.
9. Write short notes on (i) UI Autocomplete (ii) iFrames (iii)
Turning on Ajax behaviour