VB Asp Not Study
VB Asp Not Study
VB Asp Not Study
11. Attribute must be set on a validator control for the validation to work.
A. ControlToValidate
B. ControlToBind
C. ValidateControl
D. Validate
13. What is used to validate complex string patterns like an e-mail address?
A. Extended expressions
B. Basic expressions
C. Regular expressions
D. Irregular expressions
21. How do you get information from a form that is submitted using the “post” method?
A. Request.QueryString
B. Request.Form
C. Response.write
D. Response.writeln
22. Which object can help you maintain data across users?
A. Application object
B. Session object
C. Response object
D. Server object
23. Which of the following ASP.NET object encapsulates the state of the client?
A. Session object
B. Application object
C. Response object
D. Server object
24. Which of the following object is used along with application object in order to ensure
that only one process accesses a variable at a time?
A. Synchronize
B. Synchronize()
C. ThreadLock
D. Lock()
25. Which of the following control is used to validate that two fields are equal?
A. RegularExpressionValidator
B. CompareValidator
C. equals() method
D. RequiredFieldValidator
28. You can have only one Global.asax file per project.
A. Yes
B. No
29. ______________ element in the web.config file to run code using the permissions of a
specific user
A. < credential> element
B. < authentication> element
C. < authorization> element
D. < identity> element
30. __________ is a special subfolder within the windows folder that stores the shared .NET
component.
A. /bin
B. GAC
C. Root
33. Which of the following is the way to monitor the web application?
A. MMC Event viewers
B. Performance logs
C. Alerts Snap-ins
D. ALL
34. The ________________ property affects how the .Net Framework handles dates,
currencies, sorting and formatting issues.
A. CurrentUICulture
B. CurrentCulture
37. Which of the following authentication is best suited for a corporate network?
A. Windows
B. Form
C. User
D. All
38. What attributes do you use to hide a public .Net class from COM?
A. DLLImport Attributes
B. ComVisible attributes
C. COM Interop
D. All
39. By default, code written with the Debug class is stripped out of release builds.
A. Yes
B. No
40. _________ tests make sure that new code does not break existing code.
A. Regression tests
B. Integration tests
C. Unit tests
D. Load test
42. In ASP.NET in form page the object which contains the user name is ______ ?
A. Page.User.Identity
B. Page.User.IsInRole
C. Page.User.Name
D. None of the Above
43. Find the term: The .NET framework which provides automatic memory management
using a technique called ______________ ?
A. Serialization
B. Garbage Collection
C. Assemblies
D. Overriding
44. Which of the following denote ways to manage state in an ASP.Net Application?
A. Session objects
B. Application objects
C. ViewState
D. All the Above
45. What is the base class from which all Web forms inherit?
A. Master Page
B. Page Class
C. Session Class
D. None of the Above
47. Which of the following must be done in order to connect data from some data resource
to Repeater control?
A. Set the DataSource property
B. Call the DataBind method
C. Both A. and B.
D. None of the Above
48. Which of the following is FALSE?
A. ASP.NET applications run without a Web Server
B. ASP+ and ASP.NET refer to the same thing
C. ASP.NET is a major upgrade over ASP
D. None of the Above
50. If one has two different web form controls in a application and if one wanted to know
whether the values in the above two different web form control match what control must
be used?
A. DataList
B. GridView
C. CompareValidator
D. Listview
51. Which of the following is used to send email message from my ASP.NET page?
A. System.Web.Mail.MailMessage
B. System.Web.Mail.SmtpMail
C. Both A. and B.
D. None of the Above
52. In my .NET Framework I have threads. Which of the following denote the possible
priority level for the threads?
A. Normal
B. AboveNormal
C. Highest
D. All the Above
53. In .NET the operation of reading metadata and using its contents is known as ______?
A. Reflection
B. Enumeration
C. Binding
D. Serialization
54. In ASP.NET the < authorization > section contain which of the following elements?
A. < deny >
B. < allow >
C. Both A. and B.
D. None of the Above
59. Which of the following denote the property in every validation control?
A. ControlToValidate property
B. Text property
C. Both A. and B.
D. None of the Above
61. Suppose one wants to modify a SOAP message in a SOAP extension then how this can
be achieved. Choose the correct option from below:
A. One must override the method ReceiveMessage
B. One must override the method InitializeMethod
C. Both A. and B.
D. One must override the method ProcessMessage
62. Which of the following can be used to add alternating color scheme in a Repeater
control?
A. AlternatingItemTemplate
B. DataSource
C. ColorValidator
D. None of the Above
63. Suppose a .NET programmer wants to convert an object into a stream of bytes then the
process is called ______________ ?
A. Serialization
B. Threading
C. RCW
D. AppDomain
64. The technique that allow code to make function calls to .NET applications on other
processes and on other machines is
A. .NET Threading
B. .NET Remoting
C. .NET RMT
D. None of the above
65. The namespace within the Microsoft .NET framework which provides the functionality
to implement transaction processing is ………………..
A. System.EnterpriseServices
B. System.Security
C. System.Diagnostics
D. System.Data
66. Which of the following method is used to obtain details about information types of
assembly?
A. GetTypes
B. GetType
C. Both A. and B.
D. None of the Above
68. What tags one need to add within the asp:datagrid tags to bind columns manually?
A. Set AutoGenerateColumns Property to false on the datagrid tag
B. Set AutoGenerateColumns Property to true on the datagrid tag
C. It is not possible to do the operation
D. Set AutomaunalColumns Property to true on the datagrid tag
69. Which method do you invoke on the DataAdapter control to load your generated
dataset with data?
A. Load ( )
B. Fill( )
C. DataList
D. DataBind
71. Which of the following languages can be used to write server side scripting
in ASP.NET?
A. C-sharp
B. VB
C. C++
D. A and B
72. When an .aspx page is requested from the web server, the out put will be rendered to
browser in following format.
A. HTML
B. XML
C. WML
D. JSP
73. The Asp.net server control, which provides an alternative way of displaying text on web
page, is
A. < asp:label >
B. < asp:listitem >
C. < asp:button >
76. What namespace does the Web page belong in the .NET Framework class hierarchy?
A. System.web.UI.Page
B. System.Windows.Page
C. System.Web.page
77. Which method do you invoke on the Data Adapter control to load your generated
dataset?
A. Fill( )
B. ExecuteQuery( )
C. Read( )