Time remaining
:
:
Test Status
ASPTEST7
Ques 1 :
Which class can be used to perform data type conversion between .NET data types and XML types?
(A) XmlType
(B) XmlCast
(C) XmlConvert
(D) XmlSettings
Ques 2 :
You want to add ASP capability to your company's website. What is the first thing you would check?
(A) That all pages are saved in .asp extensions.
(B) Check that the web server has Microsoft FrontPage extensions installed.
(C) Make sure the web server is capable of hosting ASP pages.
(D) Check the coding and be sure the ASP code is surrounded with <% and %>
Ques 3 :
What attributes do you use to hide a public .Net class from COM?
(A) DLLImport Attributes
(B) ComVisible attributes
(C) COM Interop
(D) All
Ques 4 :
Which class can be used to create an XML document from scratch?
(A) XmlConvert
(B) XmlDocument
(C) XmlNew
(D) XmlSettings
Ques 5 :
You have determined that your company's website is housed on a web server that cannot handle ASP. What would you do?
(A) Contact the ISP and have them switch the website to have ASP capability.
(B) Have your ISP install the Microsoft FrontPage extensions
(C) Develop a transition plan first that includes a step-by-step plan on every detail prior to contacting the ISP.
(D) All the above
Ques 6 :
By default, code written with the Debug class is stripped out of release builds.
(A) Yes
(B) No
Ques 7 :
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
(A) Use the ImageMap control and randomly select a HotSpot to show or hide.
(B) Use the Image control to hold the image and a Calendar control to randomly select a date for each image to be displayed.
(C) Use the AdServer control and create an XML file with configuration of the control.
(D) Use an ImageButton control to predict randomness of the image to be loaded based on the clicks of the control.
Ques 8 :
Some say that JavaScript is easier to use than ASP and will run regardless of whatever operating system the web server is using (Unix, Linux, Windows 2000, etc). Then others say that ASP has advantages over JavaScript such as what?
(A) ASP does not depend upon which browser the viewer is using.
(B) ASP code does not show up in the source code; thus, the code is protected
(C) ASP can easily interact with a database.
(D) All of the above
Ques 9 :
______ tests make sure that new code does not break existing code?
(A) Regression tests
(B) Integration tests
(C) Unit tests
(D) Load test
Ques 10 :
Which of the following is a requirement when merging modified data into a DataSet?
(A) A primary key must be defined on the DataTable objects
(B) The DataSet schemas must match in order to merge
(C) The destination DataSet must be empty prior to merging
(D) A DataSet must be merged into the same DataSet that created it.
Ques 11 :
A feature of ASP is its ability to interact with a database. Which of these databases is the most popular to use with ASP?
(A) dBase
(B) Delimited text files
(C) Access (97 or 2000)
(D) Excel spreadsheets
Ques 12 :
Which of the following is used to cache multiple responses for a single web form based on HTTP POST parameter or query string?
(A) VaryByParams
(B) VaryByHeaders
(C) SetCacheability
(D) SetVaryByCustom
Ques 13 :
Which Kind Of data we can store in viewstate
(A) Viewstate can store anything
(B) Viewstate can store onlys string
(C) Viewstate can store only serilizable object
(D) None
Ques 14 :
ASP is which?
(A) Client-side executable code(executes at the browser level)
(B) Server side executable code (runs at the server only)
Ques 15 :
By default, ASP.NET store SessionIDs in _________
(A) Cookies
(B) Cache
(C) Database
(D) Global variable
Ques 16 :
What is/are the predefined TraceListener(s) in ASP.Net
(A) TextWriterTraceListener
(B) EventLogTraceListener
(C) DefaultTraceListener
(D) All the above
Ques 17 :
Client-side scripting code and server-side scripting code can coexist and can be used on the same page.
(A) True
(B) False
Ques 18 :
Which one of the following is the last stage of the Web forms lifecycle?
(A) Page_Load
(B) Event Handling
(C) Page_Unload
(D) Page_Init
Ques 19 :
We have defined one page_load event in aspx page and same page_load event in code behind who will run first?
(A) page_laod event in aspx page
(B) page_load event in code-behind
(C) both will run simultaneously
(D) None
Ques 20 :
Variable are used to hold both numerical and text values. Which of these IS NOT a valid variable name?
(A) X
(B) X1
(C) 1X
(D) x1X
Submit Answer
Don't Refresh the Page !! ...