Sunday, January 3, 2016

DATA BASE-ASP-XML



1. What do mean by search engine?
It is a program or web page that enables you to search an Internet site for a specific  Keywords or words.

2. What do you mean by Server-side?
Occurring on the server side of a client-server system. For example, on the World
Wide Web, CGI scripts are server-side applications because they run on the Web server. In contrast, JavaScript scripts are client-side because they are executed by your browser (the client). Java applets can be either server-side or client- side depending on which computer (the server or the client) executes them.

3. What is a protocol?
An agreed-upon format for transmitting data between two devices. The protocol
Determines the following:
1.The type of error checking to be used
2. Data Compression method, if any
3. How the sending device will indicate that it has finished sending a message
4. How the receiving device will indicate that it has received a message

4. What is ActiveX?
A loosely defined set of technologies developed by Microsoft for sharing
Information among different applications. ActiveX is an outgrowth of two other Microsoft technologies called OLE (Object Linking and Embedding) and COM (Component Object Model). As a moniker, ActiveX can be very confusing because it applies to a whole set of COM-based technologies. Most people, however, think only of ActiveX controls, which represent a specific way of implementing ActiveX technologies.

 5. Write a note on ActiveX controls.
A control using ActiveX technologies. An ActiveX control can be automatically
Downloaded and executed by a Web browser. ActiveX is not a programming language, but rather a set of rules for how applications should share information. Programmers can develop ActiveX controls in a variety of languages, including C, C++, Visual Basic, and Java.
An ActiveX control is similar to a Java applet. Unlike Java applets, however, ActiveX controls have full access to the Windows operating system. This gives them much more power than Java applets, but with this power comes a certain risk that the applet may damage software or data on your machine. To control this risk, Microsoft developed a registration system so that browsers can identify and authenticate an ActiveX control before downloading it. Another difference between Java applets and ActiveX controls is that Java applets can be written to run on all platforms, whereas ActiveX controls are currently limited to Windows environments.
Related to ActiveX is the scripting language VBScript that enables Web authors to embed interactive elements in HTML documents.

6. Explain about Session tracking.
A session is basically a conversation between a browser and a server. All the above
Technologies can save information for the current session for a particular user visiting a site. The session is important, as H1TP is a stateless protocol. This means that the connection between web server and a web browser is not automatically maintained, and that the state of a web session is not saved. State is a general term that includes "everything about your situation" and the specifics vary based on the application. In a word processor, the state of the application would include which windows are open, where they are on the screen, and what files you most recently used. In a web application, the state would include any data that you had entered, the results of any queries that you had run, and your security access information (e.g. whether you have logged in to the site).

7. Define XML.
XML is a meta-mark up language that provides a format for describing structured
Data. This facilitates more structured declarations of content and more meaningful search
Results across multiple platforms.


 8. Define DTD.
A DTD is a set of rules that specifies how to use XML mark-up. 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.


 9. What are the XML rules for distinguishing between the content of a document and the
XML mark-up element?
1. The start of XML mark-up 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 mark-up.
3. To use these special characters as content within your document, you must use the corresponding general XML entity.

10. Define script lets.
Script lets enable you to create small, reusable web applications that can be used in
Any web page. Script lets are created using HTML, scripting and Dynamic HTML. To include them in an HTML document use the <OBJECT> tag.

11. Define ASP.
Active Server Pages (ASP) is a server-side scripting technology that can be used to create dynamic and interactive web applications.

12. 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 behaviour 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.


13. 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.

14. Define response object and list its methods.
The response object transmits information from the web server to browser.
Methods are:
1. Write 2. Binary Write 3. Redirect 4. AppendToLog 5. Add Header 6. Clear
7. Flush

No comments:

Post a Comment