Natchatran

NATCHATRAN

Natchatran Blogs includes Technical Tutorials, E-books, Notes, Lab Manual, Question Banks, Viva questions and Interview questions for engineering students, provides all study material for cse students.

-Natchatran(Prem Anandh.J)

Tuesday, December 18, 2012

WEB TECHNOLOGY Anna university Question NOV/DEC-2011

Natchatran - Dazzling in front of world  ##  Prepared by: PREM ANANDH.J
                    NATCHATRAN - Dazzling in front of world
                                  Anna University Question Bank
   
    B.E/B.TECH DEGREE EXAMINATIONS, NOV/DEC-2011                                                              REGULATIONS 2008              SIXTH SEMESTER                                                                                                  IT63 - WEB TECHNOLOGY   
                      COMPUTER SCIENCE AND ENGINEERING 
                        (Common to Information Technology)                                                                   
                              PART-A (10X2=20 marks)
1. What is web server? Notes on Tomcat Web Server?
2. What is relative URLs? Give syntax of relative URLs ?
3. Write a script to display the position of mouse click.
4. List down the way of including style information in a document.
5. What are the DOM methods?
6. What do you meant by server side programming?
7. Define JavaBeans.
8. What are tag libraries in JSP?
9. What is SOAP? Define SOAP structures.
10. What are the types of web services and its uses?
                                         PART-B (5X16=80 marks)
11. (a)(i) Explain about basic XHTML syntax and semantics (12)
(ii)Explain difference between HTML and XHTML (4)
                                                      [OR]
(b)(i) Explain World Wide Web (8)
(ii)Explain various protocol used in technologies (8)
12. (a)(i) Write a java script program to randomly display image from image pool. (8)
(ii)Design your own personal web page using forms and get the value, use all the form elements and
validating the same using the script. (8)
      
                                                   [OR]
(b)Write notes on
(i) CSS border style properties (6)
(ii) CSS Text properties (6)
(iii)CSS Box model (4)
13. (a)Explain about Document object model. (16)
        
                                                 [OR]
(b)Write short notes on
(i) Java servlet (8)
(ii)Cookies and session (8)
14. (a)(i) Describe the features of JSP with example (8)
(ii)What does JSP scripting component includes?
Explain with program. (8)
                
                                                              [OR]
(b)(i) Explain XSLT with example (8)
(ii)Explain XPath with example (8)
15. (a)(i) Write short notes on JAX. (8)
(ii)Write XML Schema with an example. (8)
       
                                                  [OR]
(b)(i) Explain the structure of WSDL? (8)
(ii)Develop the web pages for railway reservation
system using Web services. (8)



Powered by: premanandhj.blogspot.in  ##  premanandhj.hpage.com

WEB TECHNOLOGY Anna university Question APRIL/MAY 2011

Natchatran - Dazzling in front of world  ##  Prepared by: PREM ANANDH.J
                    NATCHATRAN - Dazzling in front of world
                              Anna University Question Bank
                                  Question Paper code: 11387
                                                             B.E/B.TECH.DEGREE EXAMINATION, APRIL/MAY 2011      
                                       Sixth Semester                        
                                Information Technology 
                       IT 2353 - WEB TECHNOLOGY      
(Common to Computer Science and Engineering) (Regulation 2008)
                                                              PART A-(10*2=20 marks) 
1. Define URI.
2. State the use of web server logs and list the contents of a message log.
3. Mention the need for cascading style sheets.
4. Explain array creation in Java script with example.
5. Explain in brief the interaction between a web server and a Servlet.
6. List some HTML intrinsic attributes.
7. What is meant by a XML namespace?
8. Explain in brief about Java scriplet.
9. What is meant by WSDL?
10. Define Serialization.
                                                          
                                      PART B-(5*16=80 marks)
11. (a) Explain in detail the working of the following Internet Protocols
(i) TCP/IP [8]
(ii)HTTP [8]                                                           [OR]
(b) (i) List and explain any four HTML elements in detail. [8]
(ii)State the types of lists supported by HTML and explain them in detail. [8]
12. (a) (i) List and explain in detail the various selector strings. [8]
(ii)Explain the features of cascading style sheets. [8]                                                           [OR]
(b) (i) State and explain the types of statements in Java script. [8]
(ii)Explain how functions can be written in Java script with an example. [8]
13. (a) (i) Explain about the document tree in detail. [8]
(ii)Explain DOM event handling in detail. [8]                                                           [OR]
(b) Explain the Servlet operation in detail with a sample Servlet program. [16]
14. (a) (i) List and explain the XML syntax rules in detail.[8]
(ii)Explain how a XML document can be displayed on a browser. [8]                                                           [OR]
(b) State and explain the information in a JSP document in detail. [16]
15. (a) Explain in detail the XML schema, built in and user defined data type in detail. [16]                                                           [OR]
(b) (i) Explain the JDBC database access in detail. [8]
(ii) Explain the SOAP elements in detail. [8]


Powered by: premanandhj.blogspot.in  ##  premanandhj.hpage.com

WEB TECHNOLOGY Anna university Question APRIL/MAY 2010.

Natchatran - Dazzling in front of world  ##  Prepared by: PREM ANANDH.J
                    NATCHATRAN - Dazzling in front of world
                                   Anna University Question Bank
         B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2010.                                                                                    Eighth Semester (Regulation 2004)                                                                                                     Information Technology                                                                                              IT1451 - WEB TECHNOLOGY
                                                                                                PART A- (10 X 2= 20 marks)
1. Mention the benefits of java scripts.
2. Name the methods and properties of window object in java script.
3. Define Event Bubbling.
4. What is the use of Blur Filter?
5. Give the importance of a Real One Player Object.
6. What is the need for Client Side Scripting?
7. Compare DTD and XML schema.
8. What are Cookies?
9. What is the primary purpose of an HTTP get request?
10. List the scripting components of JSP.
                                                            PART B- (5 X 16 = 80 Marks)
11. (a) (i) Explain the different HTML protocols. (8 Marks)
(ii) Write a Java Script that inputs several lines of text and a search character an determines the number of
occurrences of the character in the text using suitable string methods. (8 Marks)
                                                            (Or)
(b) (i) Explain the global functions of Java Script. (8 Marks)
(ii) Write a Java Script to find and print the largest and smallest values among 10 elements of an array.
(8 Marks)
12. (a) (i) How do you use the frames collection to access objects in a separate frame on your web page?
Explain. (8 Marks)
(ii) Describe the event object properties. (8 Marks)
                                                            (Or)
(b) (i) Explain the way of creating gradients with alpha filters. (8 Marks)
(ii) Write a DHTML for binding data to a table element. (8 Marks)
13. (a) Explain the various e- business models in detail. (16 Marks)
                                                            (Or)
(b) (i) Describe how to use the windows media player Active-X control to play variety of media formats in
web pages. (8 Marks)
(ii) Explain briefly the IIS web server. (8 Marks)
14. (a) Explain the various File system objects in ASP. (16 Marks)
                                                            (Or)
(b) (i) Why should namespaces be used in XML? Explain with an example. (8 Marks)
(ii) Discuss briefly the various XML Dom methods. (8 Marks)
15. (a) (i) Discuss the four important methods of HTTP servlet class. (8 Marks)
(ii) Write a servlet program to display a 'welcome' message on the client system. (8 Marks)
                                                            (Or)
(b) Explain the various standard actions of JSP. (16 Marks)
Powered by: premanandhj.blogspot.in  ##  premanandhj.hpage.com

WEB TECHNOLOGY Anna university Question MAY/JUNE 2009

Natchatran - Dazzling in front of world  ##  Prepared by: PREM ANANDH.J
                        NATCHATRAN - Dazzling in front of world
                                    Anna University Question Bank
                                
       B.E./B.Tech. DEGREE EXAMINATION, MAY/JUNE 2009.
                                                  Eighth Semester
                                           Information Technology
                                    IT 1451 - WEB TECHNOLOGY
                                                 (Regulation 2004)
                            

                              PART A - (10 x 2 = 20 marks)
1. How to create a fixed background image on a web page?
2. How can I repeatedly execute a code in JavaScript?
3. Develop DHTML page to mouse over the two squares and the background
color will change according to the color of squares.
4. Design DHTML page that will display an alert box with the x and y coordinates of the cursor clicks
inside the page.
5. List any two types of web servers with its application usage.
6. State the advantages of e-commerce over traditional procedure.
7. What are lock and unlock methods. in ASP?
8. Why DTD's?
9. List the steps involved in JSP request.
10. Differentiate HTTP and Generic Servlet.
                              
                               PART B - (5 x 16 = 80 marks)
11. (a) (i) Design web page to detect the visitors browser name and its version. (4)
(ii)Write short notes on HTTP and MIME protocol. (12)
                                                            
                                                          Or
(b) (i)Design web page to create a clock with a timing event. (4)
(ii)Write short notes on SMTP and POP3 protocol. (12)
12. (a) (i) Design a DHTML page to insert a background image to a textarea, when there is mouse over on
these images and the textarea will get a background image. (10)
(ii)How Data binding happens? Explain with an example. (6) 

                                                             Or
(b) (i)Design a DHTML page to create drop down menu with three menus and on Mouse over. (10)
(ii)Design a DHTML page to create images and gradients. (6)
13. (a) (i)Draw a neat Web-based e-commerce architecture and describe its components. (12)
(ii) What are the principal technologies for supporting electronic commerce and electronic business? (4)
                                                             Or
(b) (i)Describe about Electronic Data Interchange.(8)
(ii) Write about the installation, configuration, deployment and invoking of server objects of an Apache
web server.(8)
14. (a) Design an XML to maintain book details to do the following:
(i) Separate Data
(ii) Exchange Data
(iii) Store Data
(iv) Create new language. (16)

                                                              Or
(b) (i) Create a ASP page to display Time-based greeting using JavaScript. (6)
(ii) How to create cookies and retrieve its value? Show it with an example. (6)
(iii) List the steps involved to accessing a database from an ASP. (4)
15. (a) (i)Write a program to check for an authentication where the matching information is stored in a
database using Java servlets. (10)
(ii)Design a JSP to builds a table of contents from the client side. (6)

                                                              Or
(b) (i)Write a Servlet program to Open a text file for reading it from the client side. (10)
(ii)How JSP work? Explain it with an example. (6)



Powered by: premanandhj.blogspot.in  ##  premanandhj.hpage.com

WEB TECHNOLOGY Anna university Question APRIL/MAY 2008

Natchatran - Dazzling in front of world  ##  Prepared by: PREM ANANDH.J
                       NATCHATRAN - Dazzling in front of world 
                                   Anna University Question Bank
               B.E DEGREE EXAMINATION, APRIL/MAY 2008
                                 CS432 – WEB TECHNOLOGY

                                                 Part –A
1. Distinguish between internet and www.
2. Define protocol. What protocols are used to retrieve data from internet?
3. Distinguish between a HTML hyperlink and anchor.
4. What are the merits and demerits of using CGI?
5. What are multicast sockets?
6. What is remote method invocation?
7. How is the cascaded style sheet linked to the HTML PAGE?
8. Distinguish between DHTML and XML.
9. How can you monitor user events?
10. What are the uses of plugins.?
                                                Part –B
11. a) i. With an example, explain the client – server model indicating all the interactions that take place
between the client and the server.
ii. What is FTP? What are its salient features?
                                                             Or
b) Design a web calculator that works like a real physical calculator. The calculator must perform atleast 8
different mathematical functions.
12. A) With a suitable example explain the form tag and all the related form elements.
                                                             Or
b) Give suitable examples and explain CGI client side and server side applets.
13. A) What a program that displays whatever is entered on the server system into the client system.
                                                             Or
b) Write a RMI application to access the remote method which computes the sum of squareds of all the nondiagonal
elements of a square matrix.
14. a) i. what is DTD. What are its uses, write the DTD for a given schema.
ii. Explain any one of the objects in JSP.
                                                             Or
b) i. How does HTML differ from DHTML? Give suitable examples to justify your statements.
ii. Given the employ code write a java serve let to retrieve the name and designation of an employee from
the database.
15). a) With a suitable example, explain the steps involved in establishing a JDBC connectivity.
                                                             Or
b). With a suitable example explain the system and software requirements for an online application .
Powered by: premanandhj.blogspot.in  ##  premanandhj.hpage.com

Monday, December 17, 2012

XHTML Tags Reference

premanandhj.blogspot.in                                   premanandhj.hpage.com


XHTML Tags Reference
XHTML is a reformulation of HTML 4 as an XML 1.0 application. The stricter nature of XML requires you to follow more rules than before when creating documents:
The most important rules for creating valid XHTML
  • Include the correct DOCTYPE declaration at the beginning of the file.
  • Add the attribute xmlns="http://www.w3.org/1999/xhtml" to the <html> tag.
  • Close all tags: Omitting </p> is not valid anymore.
  • Change all tags to lowercase: <P> becomes <p>.
  • Correctly specify empty elements: <hr> becomes <hr />.
  • Quote all attribute values: <p align="right">.
  • Always add attribute values: <hr noshade="noshade">.
  • Always use &amp; for & in attributes: <a href="?a=1&amp;b=2">.
Document Type
Namespace
Description
Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
The more forgiving, more backwards-compatible version of XHTML
Strict
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
The more rigorous, more XML-style version of XHTML
Frameset
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN">
DTD for frames
Most commonly used tags in XHTML
XHTML tags
Basic tags
<html>
Creates an XHTML document
<head>
Defines the title and other information that is not part of the Web page itself
<body>
Defines the Web page itself
Header tags
<title>
Defines the page title, usually displayed in the browser's title bar
<base href="URI" />
Defines the base URL for this page
Body attributes
<body background="URI">
Sets the page background image.
<body bgcolor="rgb">
Sets the page background color, either by name ("black"), or hex value ("#RRGGBB").
<body text="rgb">
Sets the page text color.
<body link="rgb">
Sets the color for hyperlinks.
<body vlink="rgb">
Sets the color for visited (previously followed) links.
<body alink="rgb">
Sets the color for activated (clicked) links.
Block tags
<p>...</p>
Defines a text paragraph.
<br />
Defines a forced linebreak.
<blockquote>
Defines a quoted, indented text block.
<h1>...<h6>
Defines a level 1-6 heading.
<div>
Defines a page section.
<table>
Defines a tabular section.
<form>
Defines a Web form.
<ol>
Defines an ordered list (1, 2, 3, ...).
<ul>
Defines an unordered, bulleted list.
<li>...</li>
Defines a list item in an ordered or unordered list.
<dl>
Defines a definition list, with terms and their definitions.
<dt>
Marks the term to be defined.
<dd>
Marks the definition of the term.
Text formatting tags
<code>, <tt>
Defines a fixed width font, teletype typewriter style.
<em>, <cite>, <i>
Emphasises or cites a text passage, usually using italics.
<strong>, <b>
Uses strong, boldface font.
<pre>
Defines pre-formatted text, text flow not to be controlled by browser.
<font size="#" color="rgb">
Defines a new font for a text region.
Anchor tags (links)
<a href="url">
Defines a hyperlink to another Web page.
<a href="mailto:email@domain.tld">
Defines a hyperlink to an email recipient.
<a name="$">
Defines an anchor within the page.
<a href="#$">
Defines a hyperlink to an anchor on the same page.
Graphics tags
<img src="url" />
Includes an image from the given URL.
<hr />
Includes a horizontal rule.
<hr noshade="noshade" />
Includes a horizontal rule without a shadow.
Table tags
<table>
Defines a table.
<tr>
Defines a new table row.
<td>
Defines a new table cell.
<th>
Defines a new table header cell.
Table attributes
<table border="#" width="{#|%}">
Defines table border in pixels and width in pixels or percent.
<tr align="{l|c|r}" valign="{t|m|b}">
Defines horizontal and vertical alignment of a row.
<td align="{l|c|r}" valign="{t|m|b}">
Defines horizontal and vertical alignment of a cell.
<td colspan="#" rowspan="#">
Defines how many rows or columns a cell should span, default is 1.
<td nowrap="nowrap">
Defines a new table cell.
Frame tags
<frameset>
Defines a set of frames.
<frameset rows="{#|%|*},{#|%|*}">
Defines rows in the set, either in pixels, percentage of width, or spanning the rest (*).
<frameset cols="{#|%|*},{#|%|*}">
Defines columns in the set, either in pixels, percentage of width, or spanning the rest (*).
<frame src="url" name="$" />
Defines a frame with a name and the URL for its content.
<noframes>
Alternative information for browsers without frame support.
Form tags
<form action="url">
Defines a form which will be sent back to the action URL on submission.
<select name="$">
Defines a drop-down box, with enclosing options as items.
<select name="$" multiple="multiple" size="#">
Defines a multi-select box with {size} entries height, with enclosing options as items.
<option name="$">value</option>
Defines items in select boxes.
<textarea cols="#" rows=#">
Defines a multiline text field with cols times rows characters.
<input type="text" name="$" />
Defines a single line text entry field.
<input type="checkbox" name="$" />
Defines a checkbox. The text for the checkbox follows the tag.
<input type="radio" name="$" value="$" />
Defines a radio button. The text for the button follows the tag. Buttons with the same name form a group of mutual exclusive buttons.
<input type="image" border="#" name="$" src="url" />
Defines a submit button using an image.
<input type="submit" value="$" />
Defines a submit button using value as the face text.
<input type="reset" />
Defines a button that resets the form to blank entries.

Key
#
Integer number, usually pixels, sometimes characters
%
Integer percentage value, followed by a percent sign
$
String of alphanumeric characters, starting with a letter
{l|c|r}
Horizontal alignment, one of "left", "center", or "right"
{t|m|b}
Vertical alignment, one of "top", "middle", or "bottom"
rgb
Color, specified by name ("black") or as RGB value ("#001122")
url
URL, usually http:// or file://



premanandhj.blogspot.in                           premanandhj.hpage.com