Question Bank Subject: IT8501 Web Technology Sem / Year: V Sem/ Iii Year
Question Bank Subject: IT8501 Web Technology Sem / Year: V Sem/ Iii Year
net
QUESTION BANK
SUBJECT : IT8501 Web Technology
SEM / YEAR: V Sem/ III Year
et
UNIT I - WEB SITE BASICS AND HTML
Web Essentials: Clients, Servers, and Communication. The Internet-Basic Internet Protocols -The
World Wide Web-HTTP request message-response message-Web Clients Web Servers. Markup
.n
Languages: XHTML. An Introduction to HTML History-Versions-Basic XHTML Syntax and
Semantics-Some Fundamental HTML Elements-Relative URLs-Lists-tables-Frames-Forms-HTML
5.0.
PART – A
z
Q.No Questions BT Level Competence
1.
2.
3.
Define URI.
ep
List any four common browsers.
State the use of web server logs and list the contents of a message
log.
BTL1
BTL1
BTL2
Remembering
Remembering
Understanding
de
4. List the different basic protocols used in Internet. BTL1 Remembering
5. What do you mean by Relative URLs? BTL1 Remembering
6. Write the functions of a Web Server. BTL2 Understanding
a
7. Explain the way in which a DNS server resolves addresses. BTL5 Evaluating
11. State the function of DNS and the protocol used. BTL3 Applying
12. List and explain any two HTML elements. BTL1 Remembering
w
13. Create two rows of horizontal frames using HTML frames. BTL6 Creating
14. Write HTML code to display an image. BTL3 Applying
15. How will you create a password field in a HTML form? BTL4 Analyzing
w
www.padeepz.net
www.padeepz.net
Choose the syntax to display the following statement
19. BTL5 Evaluating
“I am learning Web Programming”
20. Identify how a scripting language differs from HTML? BTL3 Applying
PART – B
(i) Explain TCP/IP in detail. (7)
1. (ii) Explain the purpose and way of creating lists in HTML BTL2 Understanding
documents. (6)
et
2. Recall in detail about Internet and World Wide Web. (13) BTL1 Remembering
Explain in detail the working of the following Internet Protocols.
3. (i) TCP/IP (7) BTL2 Understanding
.n
(ii) HTTP (6)
(i) List and explain any four HTML elements in detail. (7)
4. (ii) State the types of lists supported by HTML and explain them in BTL1 Remembering
detail. (6)
z
5. Create a HTML document for a company home page. (13) BTL6 Creating
6.
7.
ep
(i) Explain the capabilities of web client and web server. (7)
(ii) Write and explain HTTP request message format. (6)
Explain the significance of XHTML with the help of a real time
application. Write necessary code snippets. (13)
How do you create frames? Why do we need them? Develop an
BTL4
BTL5
Analyzing
Evaluating
de
8. BTL4 Analyzing
application to explain the same. (13)
(i) Explain the use of relative URL’s with an example. (7)
9. (ii) Explain how tables can be inserted into a HTML document with BTL3 Applying
an example. (6)
a
12. Examine the basic XHTML syntax and semantics. (13) BTL4 Analyzing
w
www.padeepz.net
www.padeepz.net
(i) Explain the most significant HTML elements in detail. (8)
2. (ii) Explain the way in which data can be presented in a tabular BTL5 Evaluating
form using HTML. (7)
Develop an interactive web page for student registration using
3. BTL6 Creating
HTML form elements. (15)
4. Briefly discuss the HTML frame and table tags. (15) BTL6 Creating
et
UNIT II - CSS AND CLIENT SIDE SCRIPTING
Style Sheets: CSS-Introduction to Cascading Style Sheets-Features-Core Syntax-Style Sheets and
HTML- Style Rule Cascading and Inheritance-Text Properties-Box Model Normal Flow Box Layout-
.n
Beyond the Normal Flow-CSS3.0. Client-Side Programming: The JavaScript Language-History and
Versions Introduction JavaScript in Perspective-Syntax-Variables and Data Types-Statements-
Operators-Literals-Functions-Objects-Arrays-Built-in Objects-JavaScript Debuggers.
PART - A
z
Q.No Questions BT Level Competence
1.
2.
3.
4.
5.
ep
Give the syntax of a CSS rule.
Mention the need for cascading style sheets.
Give example for inline style sheet.
How will you include CSS in a web site?
BTL2
BTL3
BTL2
BTL4
Understanding
Applying
Understanding
Analyzing
de
Give some advantages of using Cascading Style Sheets. BTL2 Understanding
6. How external style sheet is useful in web page design? BTL4 Analyzing
7. Write short notes on text properties in CSS with suitable example. BTL1 Remembering
8. What is Normal Flow Box Layout in CSS? BTL1 Remembering
a
9. List the two forms of style rules with an example. BTL1 Remembering
10. What is meant by DHTML? BTL1 Remembering
.p
11. List the ways of positioning an element within a browser window. BTL1 Remembering
12. What is a JavaScript statement? Give an example. BTL1 Remembering
13. Explain array creation in JavaScript with example. BTL2 Understanding
w
14. List the different methods defined in document and window object
BTL4 Analyzing
of JavaScript.
15. List and explain any two JavaScript built in objects. BTL5 Evaluating
w
16. State the types of JavaScript statements with examples. BTL3 Applying
17. Write the JavaScript to print “Good Day” using IF-ELSE condition. BTL5 Evaluating
w
18. Write code to return the full URL of a document. BTL6 Creating
19.
Compile the limitations of CSS. BTL6 Creating
20. Apply CSS to a web page with the following requirements
(i) Add a background image of a submarine.
BTL3 Applying
(ii) Set a color to the span elements (different color for each
class)
www.padeepz.net
www.padeepz.net
PART – B
1. (i) Discuss about JavaScript debugging. (7)
BTL4 Analyzing
(ii) Explain in detail CSS border and CSS outline. (6)
2. (i) Explain any eight CSS text properties. (7)
BTL1 Remembering
(ii) Discuss JavaScript Array object in detail. (6)
3. (i) List and explain in detail various selector strings. (7)
BTL2 Understanding
(ii) Explain the features of cascading style sheets. (6)
4.
et
(i) Write a CSS which adds background images and indentation. (7) BTL2 Understanding
(ii) Explain external style sheet with an example. (6)
5.
(i) Explain in detail the CSS Box model in detail. (7)
.n
BTL3 Applying
(ii) List and explain the various positioning schemes in detail. (6)
6. List and describe the CSS Border Style Properties in detail with BTL1 Remembering
illustration. (13)
z
7. Apply CSS to a web page with the following requirements
(i) Paint the background gray (2)
ep
(ii) Paint the sidebar yellow (2)
(iii) Set the artist h1 to be only uppercase (2)
(iv) Set the title h2 to be uppercase-first letter (2)
(v) Set a line spacing between the lines (2)
(vi) Set letter spacing between the letters in each span of type
BTL3 Applying
de
instruction (3)
8.
(i) State and explain the types of statements in JavaScript. (6)
(ii) Explain how functions can be written in JavaScript with an BTL4 Analyzing
example. (7)
a
12. Write the registration form for the creation of email account with all
BTL5 Evaluating
possible validations using JavaScript. (13)
13. (i) Explain the JavaScript array handling and array methods.
w
(7)
(ii) Explain the following JavaScript objects. (6) BTL4 Analyzing
a. RegExp
w
b. Math
14.
(i) Write JavaScript to find sum of first ‘n’ even numbers and
display the result. Get the value of ‘n’ from user. (7) BTL6 Creating
(ii) Write JavaScript to find factorial of a given number. (6)
PART – C
1. Discuss the various aspects of Normal Flow Box Layout in the
context of CSS. (15) BTL6 Creating
www.padeepz.net
www.padeepz.net
2. Explain in detail about CSS3. Give the illustration for CSS3
BTL5 Evaluating
animation. (15)
3. (i) Explain the way in which JavaScript handles arrays with
example. (8)
BTL5 Evaluating
(ii) Explain how local and global functions can be written using
JavaScript. (7)
4. (i) Discuss how do you use JavaScript for form validation?
Develop a complete application that would include
BTL6 Creating
information functions to validate the user data. (10)
et
(ii) Write short notes on JavaScript built-in objects. (5)
.n
Host Objects: Browsers and the DOM-Introduction to the Document Object Model DOM History and
Levels-Intrinsic Event Handling-Modifying Element Style-The Document Tree-DOM Event Handling-
Accommodating Noncompliant Browsers Properties of window. Server-Side Programming: Java Servlets-
Architecture -Overview-A Servlet-Generating Dynamic Content-Life Cycle- Parameter Data-Sessions-
z
Cookies-URL Rewriting-Other Capabilities-Data Storage Servlets and Concurrency- Databases and Java
Servlets.
Q.No
1.
2.
Define host objects.
ep Questions
PART - A
BT Level
BTL1
Competence
Remembering
de
List the types of event listeners in DOM2. BTL1 Remembering
3. Assess Event Bubbling and Event Capturing. BTL5 Evaluating
4. What is meant by intrinsic event handling? BTL1 Remembering
5.
a
List and explain any four HTML intrinsic event attributes. BTL2 Understanding
6. Evaluate the various levels of DOM. BTL5 Evaluating
.p
Differentiate Client Side Scripting from Server Side Scripting. BTL4 Analyzing
12. Write a short note on java servlet life cycle. BTL3 Applying
13.
w
List the different life cycle methods of Java Servlets. BTL1 Remembering
14. What is a cookie? BTL1 Remembering
15. What is the purpose of cookies? BTL1 Remembering
16. Write the purpose of URL rewriting. BTL2 Understanding
17. How is session tracking achieved by URL rewriting? BTL3 Applying
18. State the use of ServletContext object. BTL2 Understanding
www.padeepz.net
www.padeepz.net
19. Explain in brief the interaction between a web server and a servlet. BTL2 Understanding
20.
Identify the difference between get request and post request type. BTL3 Applying
PART - B
1. Explain in detail DOM event handling. Also explain with an
example of creating a context menu. [Note: A context menu is one
BTL5 Evaluating
that that is shown when the user right-clicks anywhere in the
document]. (13)
et
2. (i) Explain about the document tree in detail. (7)
BTL2 Understanding
(ii) Explain DOM event handling in detail. (6)
3. (i) List and explain the various types of document nodes. (7)
(ii) Explain in detail about event object and event listeners with BTL2 Understanding
.n
an example. (6)
4.
With a suitable example discuss about event propagation. (13) BTL1 Remembering
5.
z
List the properties of mouse events associated with DOM2 with an
BTL1 Remembering
example. (13)
6.
7.
8.
(13)
ep
What are the various levels of DOM? Explain each of them in detail.
BTL3
Remembering
Applying
de
(ii) Explain the purpose of the following DOM method and
properties, (6)
a. get Element By Id
BTL4 Analyzing
b. create Element
c. create Text Node
a
d. append child
e. parent Node
9. Write a servlet to illustrate the principle of Cookies and explain.
.p
BTL6 Creating
(13)
10. Explain the Servlet operation in detail with a sample Servlet
BTL3 Applying
program. (13)
11.
w
Explain the servlet life cycle with an example. (13) BTL2 Understanding
13. Write a Java code for getting the details of the items to be
purchased from a client and to update the inventory of the shop
w
after selling. Also bill should be prepared for the client. Maintain BTL4 Analyzing
the transaction table also just by inserting these purchase item
details at the shop use JDBC for transactions. (13)
14. (i) Write a code for creating cookies with name of person and
secret code at the server, after getting these details from
client using HTML form. How these details at the server BTL4 Analyzing
side using HTTP servlet are displayed? (7)
(ii) Write a code to display the current and yesterday’s gold rate
using session object. (6)
www.padeepz.net
www.padeepz.net
PART - C
et
cookies and handling associated issues. (15)
.n
UNIT IV - JSP AND XML
z
Separating Programming and Presentation: JSP Technology Introduction-JSP and Servlets-Running JSP
Applications Basic JSP-JavaBeans Classes and JSP-Tag Libraries and Files-Support for the Model-View-
Controller Paradigm- Databases and JSP. Representing Web Data: XML-Documents and Vocabularies-
ep
Versions and Declaration-Namespaces- DOM based XML processing Event-oriented Parsing: SAX-
Transforming XML Documents-Selecting XML Data: XPATH-Template based Transformations: XSLT-
Displaying XML Documents in Browsers.
PART - A
de
Q.No Questions BT Level Competence
1. BTL2 Understanding
Give the advantages of using JSP for server side programming.
2.
a
Write two basic differences between JSP and servlet. BTL4 Analyzing
3. BTL1 Remembering
List the types of directives in JSP.
.p
6. BTL1 Remembering
What is MVC paradigm?
7. Write short notes on some implicit objects in JSP. BTL3 Applying
w
www.padeepz.net
www.padeepz.net
15. BTL3 Applying
List the advantages of XPATH.
16. How is XML parsing done with SAX? BTL4 Analyzing
17. Compare DOM and SAX in XML processing. BTL4 Analyzing
18. What does XSLT mean? BTL1 Remembering
19. What is the purpose of XSLT? BTL2 Understanding
20. Discuss CDATA and PCDATA. BTL6 Creating
et
PART – B
1.
State and explain the information in a JSP document in detail. (13) BTL1 Remembering
.n
2. (i) Write a client server JSP program to find simple interest and
display the result in the client. (7) BTL6 Creating
(ii) Write about the JSP tag libraries. (6)
z
3. Identify the objects associated with JSP and highlight the features
BTL3 Applying
of each object. Explain the various JSP elements. (13)
4.
5.
beans objects. (13) ep
Explain in detail the creation, instantiation and usage of java
BTL1
Understanding
Remembering
de
6. Discover a JSP code to access a table and records from a student
BTL4 Analyzing
database to obtain the result of a student. (13)
7. Classify the implicit objects involved in JavaScript Expression
BTL4 Analyzing
Language. (13)
a
8. (i) Explain the role of XML name spaces with examples. (7)
BTL2 Understanding
(ii) Explain the features of XML path language. (6)
.p
(ii) Explain about the object that helps AJAX reload parts BTL5 Evaluating
of a web page without reloading the whole page. (6)
12.
w
(i) List and explain the XML syntax rules in detail. (7)
(ii) Explain how a XML document can be displayed on a BTL1 Remembering
browser.(6)
13. Explain in detail the XML schema, built in and user defined data
BTL1 Remembering
type detail. (13)
14.
(i) Explain in detail about XSL. (7) BTL2 Understanding
(ii) Explain about DOM based XML processing. (6)
www.padeepz.net
www.padeepz.net
PART – C
1
(i) What is the significance of JavaBeans classes in the context
of JSP? Discuss. (8) BTL5 Evaluating
(ii) Explain about MVC architecture in detail. (7)
2 Write a Servlet program to display the waiting list status, given the
PNR number of a train. Create a JSP to display the information at BTL6 Creating
the client end. (15)
3
Get the students’ details like name, register number and mark using
et
form. Generate DTD for this XML document.
Name Regno Mark
XYZ 1000 90
.n
ABC 1001 80
BTL6 Creating
RST 1002 89
PQR 1003 87
Generate the collected information in the descending order of
z
marks using XSLT. Results should be displayed in the above
format. Write a source code and explain the same. (15)
4
ep
(i) Explain how XSLT transforms the document from one (Word)
type to other type (HTML). (8)
(ii) Describe the basic java bean classes and JSP tag libraries. (7)
www.padeepz.net
www.padeepz.net
16. Explain the term XML Schema. BTL2 Understanding
17. What is the purpose of XML schema? BTL1 Remembering
18. Define the need for SOAP. BTL2 Understanding
19. State the significance of a WSDL document. Give some uses of
BTL3 Applying
WSDL.
20. Give an example of a web service registry and its function. BTL6 Creating
PART-B
1. (i) Discuss the various aspects of JAX-RPC. (7)
et
(ii) Develop a Java Web Service that would do arithmetic BTL4 Analyzing
operations. (6)
2. (i) What do you mean by AJAX? Write the advantages of AJAX.
(7) BTL1 Remembering
.n
(ii) Write short notes on Event-oriented Parsing. (6)
3. (i) Discuss AJAX architecture and compare it with DOM and
SAX. (7) BTL1 Remembering
z
(ii) What languages are used to represent data in web? Explain any
two of them. (6)
4. Discover about the development of a web application to illustrate
5.
6.
the basics of AJAX. (13)
ep
Explain about the XMLHttpRequest Object in detail. (13)
BTL2
BTL1
Analyzing
Understanding
Remembering
de
7. Explain why the callback function is written as an anonymous
BTL4 Analyzing
function in the request phase function. (13)
8. (i) Explain in detail the steps involved in writing a web service.(7) BTL2 Understanding
(ii) Explain the basic concepts of RPC. (6)
a
9. Describe the significance and working of WSDL with an example. BTL3 Applying
(13)
10.
.p
11. Explain the role of XML schema in building web services in detail.
BTL2 Understanding
(13)
w
12. Design a railway reservation system using UDDI and WSDL for the
following case study. Railway could register their services into an
UDDI directory for checking the train rate and reservation. Travel BTL6 Creating
agencies could then search the UDDI directory to find the railway
w
www.padeepz.net
www.padeepz.net
3. (i) Explain the elements of a SOAP message. (8) BTL5 Evaluating
(ii) How do you store Java objects? Describe. (7)
4. Formulate the principles of WSDL, XML and SOAP and their
BTL6 Creating
interaction between them in web service applications. (15)
et
z .n
ep
a de
.p
w
w
w
www.padeepz.net