St. Xaviers College 2009 B.Sc Computer Science ASP Internal for BSc - Question Paper
Wednesday, 06 February 2013 06:30Web
St Xavier's College (Autonomous), Palayamkottai
XML and ASP
III BSc(cs) Test two Time : 1.1/2 Hrs
Marks:50
part – A
ans ALL ques. five X one = 5
1. Abandon is an ASP ________ object method.
a) Server b) Session c) Request d) Response
2. What is a connection object?
a) Specifies whether to use a DSN or DSN-less connection
b) Specifies which kind of database is being used
c) Specifies the kind of driver to use, database format and filename
d) 1st opens the initial connection to a database before giving any database info
3. Command used to create cookies for firstname
a) Request.Cookies("firstname") = "Alex"
b) Response("Cookies")("firstname") = "Alex"
c) Response["Cookies"]["firstname"] = "Alex"
d) Response.Cookies("firstname") = "Alex"
4 elaborate the methods by which output stream is controlled?
a) Flush b) Clear c) End d) All the above
5. How will you delete a Cookie?
a) Response.Cookies("cookie name"). Expires
b) Response.Cookies("cookie name"). Delete
c) Response.Cookies("cookie name"). Abandon
d) Response.Cookies("cookie name"). Kill
part -B
ans any 4 of the following: 4 * five = 20
6. How will you include a file in an ASP file? discuss with an example.
7. Write short note on the importance of global.asa file.
8. discuss the methods of Response object associated with buffer usage.
9. define the use of Browser capabilities component with an example program
10. What is a cookie? discuss how a cookie is created and used in an ASP file.
11. Write a detailed note on command object.
part - C
ans any 1 of the following: 1 * 10 = 10
12. discuss the use of Application, session and server objects in detail. provide sample program.
13. Write in detail about FileStreamObject and its usage through an example
part - D
ans any 1 of the following: 1 * 15 = 15
14. Illustrate database access using ADO objects in ASP.
15. discuss the methods to create a banner in a webpage.
Earning: Approval pending. |