Anna University
DEPARTMENT OF INFORMATION TECHNOLOGY
IT1451 –WEB TECHNOLOGY
Regulation 2004
UNIT – IV Two Marks with Answers
SERVER SIDE PROGRAMMING
SUBJECT CODE : IT1451
SUBJECT NAME:WEB TECHNOLOGY
UNIT IV
SERVER SIDE PROGRAMMING
68. What are Style Sheets?
Style sheets are collections of style information that are applied to plain text. Style information includes font attributes such as type size, special effects (bold,italic,underline), color and alignment. Style sheets also provide broader formatting instructions by specifying values for quantities such as line spacing and left and right margins.
69. List down the ways of including style information in a document.
1.Linked Styles -Style information is read from a separate file that is specified in the
<LINK> tag
2.Embedded Styles -Style information is defined in the document head using the
<STYLE> and </STYLE> tags.
3.Inline Styles -Style information is placed inside an HTML tag and applies to all content between that tag and it companion closing tag.
70. Define cascading.
Cascading refers to a certain set of rules that browsers use, in cascading order, to determine how to use the style information. Such a set of rules is useful in the event of conflicting style information because the rules would give the browser a way to determine which style is given precedence.
71. What are the style precedence rules when using multiple approaches?
Inline styles override both linked style sheets and style information stored in the document head with <STYLE> tag.
Styles defined in the document head override linked style sheets. Linked style sheets override browser defaults.
72. Give the syntax to specify a characteristic in linked style sheet.
{Characteristic: value}
Multiple characteristic/value pairs should be separated by semicolons.
73. List down font characteristics permitted in style sheets.
1.font-family
2.font-size
3.font-weight
4.font-style
5.font-variant
74. Write a note on content positioning characteristic "Visibility".
Enables the document author to selectively display or conceal positioned content; Possible values are show or hide.
75. Define XML.
XML is a meta-markup language that provides a format for describing structured data. This facilitates more structured declarations of content and more meaningful search results across multiple platforms.
76. Define DTD.
A DTD is a set of rules that specifies how to use XML markup. It contains specifications for each element, including what the element’s attributes are, what values the attributes can take on and what elements can be contained in others.
77. What are the XML rules for distinguishing between the content of a document and the
XML markup element?
1.The start of XML markup elements is identified by either the less than symbol (<)
or the ampersand (&) character
2.Three other characters, the greater than symbol (>), the apostrophe or single quote
(‘) and the double quotation marks (“) are used by XML for markup.
3.To use these special characters as content within your document, you must use the corresponding general XML entity.
78. Define scriptlets.
Scriptlets enable you to create small, reusable web applications that can be used in
any web page. Scriptlets are created using HTML, scripting and Dynamic HTML. To include them in an HTML document use the <OBJECT> tag.
79. Define ASP.
Active Server Pages (ASP) is a server-side scripting technology that can be used to create dynamic and interactive web applications.
80. What are the ASP objects?
1.Application -It manages your web application.
2.Session -It manages and tracks individual user sessions.
3.Server -It controls behavior of your web server
4.Response -It transmits information from the web server to web browser
5.Request -It retrieves information from the browser for processing at the server.
81. What is global.asa file?
The global.asa file is a Active Server Application file you can track and manage the application and session events, variables and objects. When you start the application the server will load the global.asa file into memory.
82. Define response object and list its methods.
The response object transmits information from the web server to browser. Methods are:
1.Write
2.BinaryWrite
3.Redirect
4.AppendToLog
5.AddHeader
6.Clear
7.Flush
83. Define JSP.
Java Server Pages (JSP) are simple technology used to generate dynamic HTML on the server side.
84. Define Directives.
Directives are JSP elements that provide global information about an entire JSP page.
85. Write down the various attributes for the page directives in JSP.
The page directive defines information that will be globally available for that Java
Server Page,
1. language
2. extends
3. import
4. session
5. buffer
6. contenttype
86. What is meant by firewall?
A firewall is a piece of network hardware that serves as a secure gateway between an internal network and the Internet. It protects the internal network from unauthorized access or activity,
87. Write a note on proxy server.
A proxy server is a host that makes Internet request on behalf of other machines on the network, Proxy servers are often used to cache frequently requested files or to monitor Internet use within a Corporation.
88. What does DHTML refer?
DHTML refers to collection of technologies, which makes HTML documents more dynamic and interactive.
89.Define SSI.
Server Side Includes (SSI) gives you a way to insert the content of another file into a file before the web server processes it.
90.What does data binding mean?
Data binding is DHTML feature that lets you easily bind individual elements in your document to data from another source such as database or comma delimited text file.
No comments:
Post a Comment