CBSE Guess > Papers > Important Questions > Class XII > 2013 > Multimedia & Web Technology > Multimedia & Web Technology - by Mr. Amrit Chhetri
CBSE CLASS XII
Multimedia & Web Technology
SECTION-4 ( WEB DEVELOPMENT -ASP PROGRAMMING(II) 10/40 MARKS) :-
Q. 1. What is a Web Server? What are the properties of ASP?
ANSWERE-Q4.1:
Web Server is a server engine. It provides the methods and properties that enables a ASP code to ommunicate with the engine. They include the following:
- Request Object: It retrieves information from a client.
- Response Object : It send the response information including html outputs to the client.
- Application Object: It stores the information about the application or web pages.
- Session Object : It stores the information about a particular client's session on the browser.
- AspError Object: It is used to obtain the information about the error conditions that occur in an ASP.
- Server Object: It is used to initialize the operations inside the web container. It includes reading a file.
The features of ASP are:
- ASP contains server-side scripts, objects and components.
- ASP adds dynamic contents to a web application or web pages.
- It retrieves the information from the client.
- ASP runs of web sever like MS IIS, Apache Web Server etc.
Q. 2. Differentiate between Procedure and Function.
ANSWERE-Q4.2:
Procedure is the code block that can be called anywhere in the program and it does not return any value to the calling block where as the functions are the block of the code that can be called anywhere in the program and it returns a value to the calling block or functions or procedure.
Q. 3. What is the use of Ad Rotator? What is SSI?
ANSWERE-Q4.3:
Ad Rotator component is used for controlling the rotations of the image in a ASP website.SSI(Server Side Include) is a simple programing language and it also allows to include a file into the asp code. Example of including file into a ASP page is give below:
<!--#include virtual="/index.asp" →
Q. 3. Explain the use of the following ASP functions:
- LTRIM()
- RTRIM()
- TRIM()
- NOW()
- DATE()
- MONTHNAME()
ANSWERE-Q4.4:
The uses are given below:-
Functions |
Use Details |
LTRIM() |
It is used to remove the blank space from the left side of a string. |
RTRIM() |
It is used to remove the blank space from the right side of a string. |
TRIM() |
It is used to remove the blank space from both sides of a string |
NOW() |
It is used to get the current system time with date part. |
DATE() |
It is used to get the current system date. |
MONTHNAME() |
It is used to get the month name for a give month number. |
Q. 4. Give the outputs of the following statements:
- Response.Write(RTRIM(“ S-COMMERCE “)
- Response.Write(DATENAME(DATENAME(8/2+1)
- Response.Write(UBOUND(SPLIT(“ S-COMMERCE,M-COMMERCE “,”,”)))
ANSWER-Q5.3:
The ouputs are:
- S-COMERCE
- May
- 2
Submitted By : Mr. Amrit Chhetri
Computer Science Trainer/Educator,
Principal Business Consultant,
Social Media Strategist
Mobile : +91-9911290373, +91-9717346736
Twitter : http://twitter.com/AmritChhetriB
Facebook : https://www.facebook.com/AmritChhetriB |