RYAN INTERNATIONAL SCHOOL , FARIDABAD

colonteeΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

163 εμφανίσεις

Mr. Sudhir Dwivedi (PGT Compute
r)

RYAN INTERNATIONAL SCHOOL , FARIDABAD

Multimedia
& Web Technology (Code 067)

Working with ASP
O
bjects
(Objective Questions)

1.

The purpose of using object is to simplify
_________________
.

2.

_________________
are used to extend the power of ASP script.

3.

The
build in objects (all six) are also called

_________________
.

4.

if car is an example of object then drive the car,
stop the car, wash the car are the example of
_________________
.

5.

if car is an example of object then four wheels, model,color are the example o
f
_________________
.
.

6.

Software objects feature
_________________

(that describe the object) ,
_________________

(that allow the object to
do things for your code) and
_________________

( code that is executed automatically when a certain situation occurs).

7.


response.write

invokes the

_________________

method of the response object.

8.

_________________
provides methods and properties that enable your ASP’s to communicate with server.

9.

_________________
provides methods and properties that enable your ASP’s to ret
rie
ve information from the client.


10.

_________________
object

provides methods and properties that enable your ASP’s to send information to the client.

11.

_________________
object

used to store information about your web application that can be made available
to clients
requesting pages from your site.

12.

_________________

object

used to store information about a particular client’s browsing session.

13.

_________________
OBJECT

is used to manage the entire web application .

14.

_________________

OBJECT

is used to kee
p track of users or to maintain information applicable to all visitors to the
site .

15.

_________________
.asa
is a special file that store the initial value of all the application variable.

16.

Each application can have only one
_________________
file and it is

placed in the virtual directory application’s root.

17.


In

_________________
file we can include event handler scripts and declared object that will have session or application
scope.


18.


The file
_________________
has no display components , as it is not displa
yed to user .

19.

_________________
contains all variables that have been added to the application through a script tag .

20.

Application.

_________________
it prevents clients
-
other than the one currently accessing it
-

from modifying the
variables store in the
application object.

21.

Application.

_________________
this method removes the lock from variables stored in the application object , freeing
them up after application object has been locked previously using Application.lock method.

22.

_________________

this metho
d removes an item from the contents collection.

23.

_________________

this method removes all item from the contents collection.

24.

Application_
_________________

this event handler is run once, when the application starts.

25.

Application_
_________________
an applica
tion ends immediately after the last active session within that application
ends.
T
his event handler is runs when the application is unloaded.

26.

_________________

OBJECT

this is used to manage user sessions.

27.

_________________

collection


this contains all

the variables established for a session without using the <OBJECT> tag

28.

_________________

property

this is read only property that returns the session identification number for each user.

29.

_________________

property

this property sets the timeout period to the session object for any
application,

in minutes
.

30.

_________________

property

this determines the code page that will be used to display contents

31.

LCID property

this specifies the system’s location identifier, which

will be used to display contents.

32.

_________________
method
this method destroys all objects stored in a session object and releases the server
resources they were occupying

33.

_________________

method
this method removes an item from the contents collection.

34.

_________________
method

this method removes all item from the contents collection.

35.

Session_
_________________

this event is called called every time a new user begins a session with the web site.


36.

Session_
_________________

this event is called called whenever a session terminates.

37.

_________________

OBJECT

the request object is us
ed to

access data sent from the browser, most often transmitted
from forms appearing on the web page .

Mr. Sudhir Dwivedi (PGT Compute
r)

38.

_________________
the client sends a form re
quest and sets the method attribute to Get then the values of the form
elements are stored in this collection.

39.

_________________
if the client sends a form request and sets the method attribute to post then the values of the form
elements are stored in thi
s collection.

40.

_________________
the server variables collection holds the entire HTTP headers and also additional items of
information about the server and request.

41.

_________________
it lists the compatibility , name and version of the browser .

42.

_________________
unmapped user
-
name string send in by the user.

43.

_________________
the name of the host making request.

44.

_________________
the server’s host name , IP address as it would appear in self referencing URLs .

45.

SERVER_PORT

the port number to which t
he request was sent.

46.

SERVER_SOFTWARE
the name and version of the server software that answer the request and run the gateway.

47.

_________________
_METHOD
used to make the request. For HTTP , this is GET, HEAD , POST etc.

48.

_________________

are text files

written by the client browser , containing information sent by a server, which reside
on the user’s computer.

49.

_________________

it is a digital certificate exchanged between clients and server to verify the identity of the user
attempting to contact the
server.

50.

totalbytes property
this store the total number of bytes the client sent in the body of the HTTP request.

51.

binaryread method

it retrieves data sent to the server from the clients as part of a POST request sent by a form and
store it in a Safe Arra
y of bytes.

52.

_________________

OBJECT


is used by a script to send information from the server to the browser .

53.

_________________

method
this is the most used method of the response method.

54.

_________________
method

it instructs the

browser to connect to a different URL.

55.

_________________

method
this method sends any previously buffered output to the client immediately, but
continues processing the script.

56.

_________________
method

this method causes the server to stop processin
g the script and sent the buffered output.

57.

_________________
method
this method erases any already

buffered HTML.

58.

_________________

mehods
of response object sets the HTML header name to value.
once a header has been added it
can not be removed.

59.

If respon
se.

_________________

property sets true then contents will only display when it encounter
flush

or
end
methods.

60.

_________________

method
this method sends text to the browser without character
-
set conversions.

61.

_________________

method

this method adds text to the web server log entry for this request.

62.

_________________

this property specifies the number of minutes before a page cached on a browser expires

63.

_________________

this property sets the date and /or time at which a page cached

on a browser expires . if no time is
set , the page expires at midnight of that day. <%response.expiresabsolute=#datetime#%>

64.

OBJECTCONTEXT OBJECT

this object help you to develop applications out of components. It does this by allowing you to
handle tra
nsactions from within an ASP page.

65.

_________________
ASPerror object can be use to obtain information about an error condition that has occurred in an
ASP.


66.

Aspcode
returns an error code generated by IIS.

67.

Number
returns the standard COM error code.

68.

Source

indicates if the source of the error was internal to asp , the scripting language, or an object.

69.

Filename

indicates the name of .asp file that was being processed when the error occurred.

70.


Linenumber
indicates the line within the .asp file that gene
rated the error.

71.

Description

returns a short description of the error. Returns a more detailed description of the error if it is an ASP
-
related error.