BCS-053
(covers Block 1)
1. (a) List
important technologies of Web 2.0. Explain the term Mashups in the context of
Web 2.0 with the help of an example. List the process of creating a Mashup. (6 Marks)
(b) Create a simple Registration form consisting of the following
information – First and Last Name, date of birth (it should be validated),
email ID (it should be validated), Employment status (Yes or No), Locality (to
be selected from drop down list of Metropolitan, Urban, Semi-Urban, Rural),
proposed user name and password, and a SUBMIT button. You must perform
validations using JavaScript. (6
Marks)
(c) Create a simple web page using HTML consisting of two
paragraphs about your School. Both the paragraphs should be created in
different divisions. You must also create an external CSS file which ensures
the following:
(i) The first
paragraph should use font Arial. The background of this paragraph should be
light yellow and text colour green.
(ii) The second paragraph should have light green
background and text colour as blue.
(iii) Both the
paragraphs should have one heading which should have same format in both the
paragraphs.
Also
show how CSS can change the display format. (6 Marks)
(d) A Library maintains detailed record of its books using XML.
Every book has a unique book procurement number. A book has a Title, one or
more authors, a publisher, year of publication, price, and an optional
abstract. Create an XML documents containing information of five such Books.
Also create the DTD for the XML Books document.
(e) Write a script using JavaScript that changes the content of a
title – First Assignment to the
title – Ready for Assignment.
The script should change the colour of the content Ready for Assignment after every 4 seconds. Make suitable
assumptions, if any. (8 Marks)
(f) Explain any five Formatting and Link elements in WML with the
help of an example each. Create a simple WML program that should ask for an
input from a list of options. (6
Marks)
2. (Covers Block 2)
(a) Differentiate between Static and Dynamic websites. How does
MVC help in creating dynamic websites? Explain with the help of an example.
Also differentiate between GET and POST methods of HTTP. (10
Marks)
(b) Explain
the following in the context of JSP with the help of an example. (10
Marks)
(i) page Directive
(ii) scriptlet code
(iii) <jsp:getProperty>
(iv) <jsp:param>
(v) Request and Response objects
(c) What is the need of Session management in HTTP? Explain with
the help of an example. Create a simple form consisting of two user input
fields – username and password. Check these username and password from a
database (consisting of username, password and name of account holder) using
JSP/Servlet. In case the username or password does not match then display a
message “Username or password is not valid” else the following message is
displayed “Welcome <name of account holder from the database>”. (10 Marks)
(d) Assume that you have a database of the accounts of the
students of a University in a local bank. The database fields include account
number, name, phone number, address, and balance. Write a program using JSP
which displays all the details of the accounts whose balance is less than 100
Rupees.
****************************************************************
Note: Answer
with Dotcom Books
www.dotcombooks4u.com
(Last 5 year
solved question paper with Assignment solutions)
9825183881
***************************************************************
No comments:
Post a Comment