(a) Use the eight-decimal digit floating point representation as given in
your Block 1, Unit 1, Section 1.3.1 page 29 to perform the following
operations:
(i) Represent 0.000001235432 and 257890000012 as floating
point numbers in normalised form using chopping for first
number and rounding for second number.
d) Create a database for a Student management system consisting of the following two tables:
Student (SID, name, highest qualification, Pcode)
Programme (Pcode, ProgrammeName, Duration, Fee)
Develop and deploy a web based “Programme Information System” using JSP, any database
backend and any web server. Your system should use JDBC for input of information to both
the tables. In addition, this system should output Programme wise list of students on the
screen.
Submit the JSP program, screens and database for the system. You must demonstrate this
system at the time of viva voce.
Make and state suitable assumptions, if any.
c) Write JSP programs which can perform the following tasks: (you may create a single or
multiple web pages for these tasks):
(i) A page requires input of three variables a, b, and c, it then finds and displays the largest
of these three variables. Write the JSP code for the above.
(ii) Create a login page for students which should create two cookies namely userID and
password on successful login by a student.
b) Explain with the help of an example/diagram or write code for the following using JSP:
a) The purpose of using implicit objects in JSP with the help of an example.
b) Explain with the help of an example/diagram or write code for the following using JSP:
a) The role of action elements in JSP with the help of an example of <jsp:usebean)
b) Explain with the help of an example/diagram or write code for the following using JSP:
a) Use of scriptlet with the help of an example on displaying a number series from 1 to 10
b) Explain with the help of an example/diagram or write code for the following using JSP:
a) b) Need of Directives in JSP with the help of taglib directive.
b) Explain with the help of an example/diagram or write code for the following using JSP:
a) JSP life cycle.
f) Explain the WAP protocol stack. Explain the following WML elements with the help of an
example:
Line Break
Tables in WML
WML images
a) Explain the following with the help of a diagram/example, if needed:
(i) Client Server model
(ii) HTTP methods
(iii) Dynamic web pages
(iv) Role of Model View Controller in MVC architecture
(v) Role of HTTP server and web container