It3463 Web Essentials
It3463 Web Essentials
SEM / YEAR:IV / II
13 What are exceptions? Assess How exceptions are handled in Java (16) BTL5 Evaluating
Script?
(i) Explain about the event handling in JavaScript. List down
the various types of events that are supported by
14 JavaScript. (16) BTL5 Evaluating
(ii) Describe how events in JavaScript move through the
DOM tree in two distinct stages.
15 Discover the use of event bubbling and event capturing. (16) BTL4 Analyzing
16 Model how to use Java Script to validate form input. (16) BTL3 Applying
PART-B
1 Design a simple HTML form and accept the usernameand (16) BTL5 Evaluating
displaythenamethroughPHPecho statement.
2 Examinethefollowing:
(i) Scopeofthevariables. (5)
(ii) Parameters. (5) BTL4 Analyzing
(iii) Functiondealingwitharray. (6)
3 (i) Whywemovetoscriptinglanguages. (8)
BTL3 Applying
(ii) Listthetypesofscriptinglanguagesandexplain it. (8)
4 (i) ListandexplainthedatatypesofPHP. (8)
BTL3 Applying
(ii) DescribeaboutArithmeticoperatorsandits operations. (8)
5 DiscussthevariousoperatorsusedinPHPwith an example. (16) BTL3 Applying
6 ExplainthevariousfunctionsmethodsinPHPwithan example.
(16) BTL4 Analyzing
7 ExplainaboutCookiesaboutthefollowing
a) Create. (4)
b) Delete. (4)
c) Retrive. (3) BTL4 Analyzing
d) Setting. (3)
e) Access. (2)
8 CreateaformcontaininginformationSl.No,titleofthebook,
publishers,quantity,price,readthedatafromtheformand (16) BTL3 Applying
displayitusingPHPScript.
9 (i) WriteandinspectthePHPscripttodisplayFibonacci of (8)
length 10.
(ii) WriteandinspectPHPscripttocomputethesumof BTL3 Applying
(8)
positive integer up to 30 using do – while statement.
10 (i) WritePHPprogramtogreatestamongthreenumbers. (5)
(ii) WriteaPHPscripttocomputesumandaverageofN (5)
numbers. BTL3 Applying
(iii) Write PHP programs to printwhether currentyearis (6)
leap year or not.
11 (i) ExaminethePHPscripttocomputefactorialof‘n’using (8)
while or for loop construct.
BTL4 Analyzing
(ii) WriteaPHPprogramtoreadatextfilelinebylineand
(8)
display it on screen.
12 AnalyzetheFilehandlingmethodsandexplain with example. (16) BTL4 Analyzing
13 EvaluatehowweusecookiesandalsoshowusageofPHP
tosolvebycheckingtheimageextensionbeforeuploadinga image. (16) BTL5 Evaluating
PART-B
(i) Integratehowservletsworkanditslifecycle. (8) BTL3 Applying
1
(ii) IdentifyanddeveloptheServletAPI. (8)
2 ModelaservlettoillustratetheprincipleofCookiesand explain. (16) BTL3 Applying
Analyze the Servlet architecture and explain its working (16) BTL4 Analyzing
3 principle.
Consider a database that has a table Employee with two columns (16) BTL3 Applying
Employee Id and Name. Assume that the administrator userid and
password to access to access the database table are Scott andTiger.
4
Write a JDBC program that can query and print all
entriesinthetableemployee.Makethedatabaseusingtype2driver
database.
5 Explainindetailthesessionhandlinginserversideprogramming. (16) BTL5 Evaluating
Explaintheuseofcookiesfor trackingfor trackingrequestswith a (16) BTL5 Evaluating
6
program.
DesignaServletprogramtodisplaythewaitingliststatus,given (16) BTL6 Creating
7 thePNR number of a train. Create a JSP to display the information
at the client end.
FormulateaJavaServlettodisplaynetsalary ofemployee,use (16) BTL6 Creating
8
JDBCconnectivity to get employee details from database.
Explainthewaysofstoringandaccessinginformationusingcookiesand (16) BTL5 Evaluating
9 handling associated issues.
GiveasampleJavaservletprogramthatdemonstrateshandling (16) BTL3 Applying
10
formsubmissionsusingbothGET andPOST methods.
11 Examinethe stepsinvolvedin developingadynamicwebsite. (16) BTL4 Analyzing
ExplainthewayofaccessingdatabasewithJDBCwithan (16) BTL5 Evaluating
12
example.
(i) Explainthe stepsfor usingJDBC toaccess a database. (8) BTL5 Evaluating
(ii) Write a Java program to access the details of patients (8)
13
stored in a file. Displaythe contents of the records of the
patient based on treatment on the screen.
Howcanyourunservletwithdatabaseconnectivity?Examine (16) BTL4 Analyzing
14
with suitableexample.
InspectJDBCwithemployeesalaryprocessingsystemas (16) BTL4 Analyzing
15
example.
Write a Java program that queries for student information from a (16) BTL6 Creating
16 database.Theprogrammustalsofacilitatesinsertion,deletion
andupdation ofstudent details into thedatabase.
(i) Analyzewhatisbatchprocessingandhowtoperform batch (10) BTL4 Analyzing
17 processing in JDBC?
(ii) Writeashort noteon catchingdatabaseresult. (6)