0% found this document useful (0 votes)
184 views6 pages

L. J. Institute of Engineering & Technology S.G. Highway, Ahmedabad-382210 ME IT Department Question Bank Advance Web Technology

This document contains a question bank for the subject Advance Web Technology from August 2013 to December 2013. It includes 234 questions related to HTML, JavaScript, CSS, AJAX, Java EE, Servlets, JSP and JSTL. The questions were prepared by Jignesh Vania from L. J. Institute of Engineering & Technology for the ME-SEM-1-IT branch and semester. It provides details like subject name, code, teaching scheme, credits and question topics.

Uploaded by

NishaPatel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
184 views6 pages

L. J. Institute of Engineering & Technology S.G. Highway, Ahmedabad-382210 ME IT Department Question Bank Advance Web Technology

This document contains a question bank for the subject Advance Web Technology from August 2013 to December 2013. It includes 234 questions related to HTML, JavaScript, CSS, AJAX, Java EE, Servlets, JSP and JSTL. The questions were prepared by Jignesh Vania from L. J. Institute of Engineering & Technology for the ME-SEM-1-IT branch and semester. It provides details like subject name, code, teaching scheme, credits and question topics.

Uploaded by

NishaPatel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

L. J.

Institute of Engineering & Technology


S.G. Highway, Ahmedabad-382210
ME IT Department
Question Bank
Subject Name:

Advance Web
Technology

Term Duration- Aug-2013 To DEC-2013

Subject Code:

170703

Branch &
Semester:

ME-SEM-1-IT

Fro
m:
To:

Prepared By: JIGNESH VANIA


(LJIET)

Aug-13
Dec-13

SR. NO.

1
2
3
4
5
6
7

8
9
1
0
1
1
1
2
1
3
1
4
1
2
3
1
2
3
4

SUBJECT

TEACHING SCHEME (HOURS)


CREDITS
THEOR TUTORIA PRACTICAL
Y
L
1
4
0
2
5
Advance Web Technology
Unit-1 HTML & JavaScript Programming
Develop a HTML Web Page for Payment Fee Receipt for ME Exam fee to Gujarat Technological
7
University. (02-11)
Create an CSS file for applying the Background color & CSS style action for drawing box each
7
paragraph for any Sample Web page containing the multiple text paragraph(02-11)
Write Java script program for displaying the table of Number s having the number input given by
7
HTML form.(02-11)
1
Div tag in HTML(02-11)
7
Explain the concept of priority in CSS.(07-12)
Write and explain various form controls (button, textbox, dropdown etc.) in HTML. 7
(02-11)
Create HTML page to enter username and password. Also provide following client 7
side validations.
- Both fields are must
- Password length must be > 6(07-12)
7
Write a program to illustrate the concept of Frames in HTML.(07-12)
What is external style sheet? How it can be linked with HTML page? Explain with suitable example.(067
13)
Write a JavaScript code to verify email address and mobile number of a user. Take 7
input using HTML form and display appropriate alert after verify.(02-12)
Explain different types of CSS with example code. Also show in what order they
will be applied to the HTML elements.(02-12)

Explain the alert(), prompt() and confirm() functions of java script with appropriate example. Also
mention difference between alert() and confirm() functions.(01-13)

Design a HTML web page for registering student in Gujarat Technological Universitys online
examination portal. Web page should have minimum four different types of html control. Also include
external style sheet to design the web page. (01-13)
Write a Java Script function to dynamically create number of table in Html document.(07-11)

Creating AJAX Applications AJAX :


What is ready state change in AJAX? Which are various ready states?(06-13)
What is XMLHttpRequest object? Explain how it can be used to send AJAX request
with example code.(02-12)
What is XMLHttpRequest Object?. How it is used to create AJAX based Application.(07-11)
Java EE 5
Explain the J2EE architecture along with along with Containers and their role. Show various J2EE
APIs and framework available in it.(02-11)
Write a note on J2EE architecture.(02-11)
List and explain various J2EE containers.(02-11)
Explain the J2EE architecture along with along with Containers and their role.
Show various J2EE APIs and framework available in it.(02-12)

Prepared By: JIGNESH VANIA


(LJIET)

7
7
9
7
7
7
7
2

5
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2

Briefly explain the J2EE architecture along with the container functions(07-11)
Understanding Servlet programming:
What is HttpSession Object?. Develop a servlet for Counting the Numbers and Make use of
HttpSession object and retain the Number counting Count using Session Object(02-11)
What is Difference between ServletConfig Object & ServletContext? How ServletContext Object &
HttpServletRequest Object are used to forward & include to make use other JSP in either Servlet or
JSP Page.(02-11)
What is difference between TagSupport class and BodyTag class, show it by Program Segment
example having sample method code for both class(02-11)
XMLHttpReqest.(02-11)
Which are Events available for Servlet life Cycle? Write a code for handling each event displaying
message such from <event name> & Event Handler Name with using Correct Servlet API
listeners(02-11)
Write and explain Servlet API hierarchy with various classes/interfaces involved in
it. Also explain Servlet life cycle.(07-12)
Enlist various methods available for session/state management using Servlet.
Explain any one of them with suitable example.(07-12)
Give differences between HttpCookie and HttpSession(07-12)
Write a Servlet program to display current date and time on server.(07-12)
What is deployment descriptor file? Explain some important tags of it.(06-13)

Write and explain Servlet API hierarchy.(06-13)

Write a program to create HTML form to accept one number. When user submits the form, a Servlet is
called which checks whether submitted number is odd or even and shows appropriate message to user.(0613)
Write a program to create HTML form to accept user name and password. When user submits form, a
Servlet is called which saves these details in cookie. And shows contents of created cookie.(06-13)

What is Difference between ServletConfig Object & ServletContext? How


ServletContext Object & HttpServletRequest Object are used to forward request
to other JSP or Servlet.
Explain lifecycle of a Servlet.(02-12)

Explain different types of Servlet Events. Develop an event listener class which
prints session variable name and value whenever any variable is added or
removed from the session.(02-12)
Explain the init(), service() & destroy() methods in servlet life cycle. Which method is more suitable for
creating database connection object? Justify your answer.(01-13)

Design the HTML login page for the student to login into Gujarat Technological Universitys online
examination portal. Assume there are three servlets named StartExam.do, ViewResult.do and Logout.do
respectively. Create, maintain and invalidate HTTP session object in given web portal.(01-13)
What are the different types of events and event handler in J2EE web container? Explain the
ServletContext life-cycle event handling.(01-13)

Briefly explain the Servlet Life Cycle.(07-11)

HttpSession, PageContext.(07-11)
Prepared By: JIGNESH VANIA
(LJIET)

7
7
7
1
7
7
7
7
7
7

3
3

1
2
2
2
3
2
4
2
5

What is RequestDispatcher Object how it is used to forward request to other JSP page or Servlet.(07-11)

EAC
H
7

Explain various ServletEvents and corresponding Listener classes.(07-11)

What is the difference between ServletConfig and ServletContext object(07-11)

Explain Servlect Collaboration with example.(07-11)

JSP & JSTL


1
2

4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1

Using JSTL ForEach loop tag develop a Table of Number web page in HTML Table(02-11)
Develop Student JavaBean having AddStudentInfo Method for adding data and
DisplayStudentInfo Method and write JSP page having StudentForm using HTML Form and use
Student Javabean and display the Students Information using DisplayStudentInfo method of Javabean
in JSP Page(02-11)
JSP directives, Difference between include Directive & jsp:include tag, XML JSTL tags, Page Scope
in JSP, PageConext (02-11)
Explain Various SQL jstl Tag Library and show example program segment with correct syntax for
loading SQL table data into HTML table
Show various Core tags in JSTL library. And make use of core tags and develop
sample program fragment showing the comparing two number HTML user interface(02-11)
What is the JSP Expression Language? Give Sample examples of JSP-EL with correct syntax in JSP
page.(02-11)
Explain the Life Cycle of JSP page? And develop the JSP page showing message in web page for each
life cycle phase with life Cycle phase name separated by HR line in between each phase.(02-11)
What is Java Bean class? Explain the use of java bean in JSP with example.(07-12)

7
7

1
EAC
H
7
7
7
7

Explain the concept of action tags in JSP.(07-12)


Enlist various directives in JSP. Explain one of them with suitable example.(07-12)

7
7
7

What is custom tag in JSP? Explain this concept with suitable example.(07-12)

What is JSTL? Explain various tag libraries in JSTL with tags in each library.(07-12)

Write a program to create HTML form which takes one number as input. When
form is submitted to JSP, the jsp should show the square of entered number.(0712)
Write a note on JSP life cycle.(06-13)

List implicit objects of JSP. Explain any two in detail.(06-13)

List and explain various tags available in JSTL core library.(06-13)

Prepared By: JIGNESH VANIA


(LJIET)

6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
3
1
3
2
3
3
3
4
3

List and explain various tags available in JSTL SQL library.(06-13)

Write a program to illustrate concept of <jsp:usebean> action.(06-13)

Write a program to illustrate concept of <jsp:forward> & <jsp:include> actions.(06-13)

What are the JSP directives? Explain various directives with their attributes using
example code.(06-13)

What are the differences between Request parameter and Request attributes.
Show how to share a request attribute between two JSPs using example code.
(02-12)
Explain lifecycle of a JSP page.(02-12)

7
7

What are the JSP implicit objects? Explain various implicit objects with their scope 7
and usage.(02-12)
What are the differences between TagSupport and BodyTagSupport class? Give
an example of both and use the tag in JSP.(02-12)

Explain the three ways of including a JSP in another JSP with example code.Also
explain the differences between them.(02-12)

Explain various tags in SQL tag library. Give an example of loading database
table data in a HTML table.(02-12)

Explain various tags in XML tag library. Give an example of parsing and
displaying an xml file.(02-12)

What is the JSP Expression Language? Give Sample examples of JSP-EL with
correct syntax in JSP page(02-12)

Design the JSP page for Library due calculation with Enrollment No, Student Name, Book Name, Number
of days as fields in JSP page. Calculate and display required information along with the total amount to be
paid by student, in other JSP page using standard action <jsp:useBean>, <jsp:setProperty>,
<jsp:getProperty> only. Fine is to be calculated at rate of 50 Rs/per day basis.(01-13)
Explain the given attributes of JSP directives with example.
i) errorPage ii) import iii) file

Design the JSP page for Library due calculation with Enrollment No, Student Name, Book Name, Number
of days as fields in JSP page. Calculate and display required information along with the total amount to be
paid by student, in other JSP page using EL only (scriptlet/experssion are not allowed). Fine is to be
calculated at rate of 50 Rs/per day basis.(01-13)
Discuss the following JSTL tag in detail.
i) <c:choose> ii) <fmt:formatDate>(01-13)

Explain the life cycle of Simple Tag handlers.(01-13)

Design the HTML web page for searching train with two textbox source station, destination station and
submit button. Design other JSP which displays all the trains from source to destination using SQL tags.
(01-13)
Explain various JSP implicit objects in detail.(01-13)

Prepared By: JIGNESH VANIA


(LJIET)

7
5

5
3
6
3
7
3
8
3
9
4
0

1)JSP Directives 2) JSP Actions (07-11)

Explain the Life cycle of JSP page.(07-11)

3
EAC
H
7

What is the difference between TagSupport and BodyTag Support class?. Explain with suitable example.
(07-11)

List various implicit objects in JSP. Explain with example code fragment(07-11)

Explain various SQL tags for JSP.(07-11)

JSF
1
2
3
4
4
5

Explain the UIInput and UIOutput Component of JSF.(01-13)


Explain the UIPanel and UISelectMany Component of JSF.(01-13)
Explain the JSF architecture and show the JSP request processing(07-11)(02-12)
Write and explain JSF architecture.(07-12)
Discuss the concept of input validation in JSF with suitable example.(06-13)
Write a note on JSF page life cycle.(06-13)

7
7
7
7
7
7

JAVA PERSISTANT API, JPQL


1
2
3
4
5
6
7

What is Java Persistent? How Entity can be mapped to Java Object , show it using Object Relation
Mapping in Java Persistent API(02-11)
What is JPQL? Develop a Sample Application using JPQL for Student Information containing Student
name, students Marks Details(02-11)
Write a note on Java persistent API.(07-12)
Write a note on ORM (Object Relational Mapping)(07-12)
What is JPQL? Design sample application using JPQL Book information containing Book Name, Author
Name, Price, Publisher Name.(01-13)
What is Java Persistent? How entity can be mapped to Java Object, show it using Object Relation
Mapping in Java Persistent API.(01-13)
What is Java Persistent API? . Explain How an Object can be mapped to Relational Table In JPA?(07-11)

Prepared By: JIGNESH VANIA


(LJIET)

7
7
7
7
7
7
7

You might also like