Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Asp MCQ

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

1. Extension of ASP.

NET webpage is
a. .aspx b. .ascx c. .asmx d. None
2. Which of the following is/are part/s of .NET Framework
a. CLR b. Base Class Library c. Web Form d. All
3. The code model that separate the presentation code from the core application logic
is
a. In-line code model b. Code-behind model c. Both a & b d. None
4. Which of the following is called execution engine of the .NET framework
a. Base Class Library b. CLR c. Web Form d. None
5. ASP.NET renders dynamic pages by combining HTML,
a. CSS b. Server side logic c. Java Script d. All
6. ASP.NET page class is generated by
a. Parsed Page b. Code behind class c. Both Parsed Page & Code
behind class
d. None
7. Benifits of compiled code are
a. Stability b. Performance improvement c. Security enhancement d.
All
8. The 1st event triggered in an aspx page is
a. Page_Init b. Page_Load c. Page_Click d.Page_PreInit
9. Keyword to prevent class from being inherited is
a. Inherits b. Inheritable c. NotInheritable d. Abstract
10. How to identify that page is post back?
a. IsPostBack property b. AutoPostBackProperty c. SendBack d.
Postback
11. How can we implement multiple inheritance?
a. Class b. Interface c. Abstract Class d. Inherits
12. Which of the following object is in memory representation of data?
a. Commandbuilder b. DataSet c. DataReader d. DataAdapter
13. Which of the following object is used to implement changes in the database that is
done in DataSet?
a. Data Set b. DataReader c. DataAdapter d.None

ASP.NET MCQ 2021-22 Page 1


14. Which method of DataReader is used to read next record within DataReader?
a. NextResult() b. Next c. Read() d. ReadNext()
15. Which of the following is read only forward only record set?
a. DataSet b. DataReader c. DataAdapter d. Command
16. Which of the following is bridge between data source and dataset?
a. DataSet b. DataReader c. DataAdapter d. Command
17. A web page includes
a. @Page b. @Control c. @master d.None
18. Which method is used to bind the data to the data source?
a. Page.DataBind() b. Me.DataBind() c. Control.DataBind() d. All
19. Association of a property of a control with more than one value is
a. Simple Binding b. Complex Binding c. Single Value Binding
d.None
20. Which of the following is used to implement single value data binding
a. <%#Expression%> b. <%$Expression%> c. both a & b d. none
21. Which of the following properties of controls can be used for repeated value data
binding
a. DataTextField b. DataValueField c. DataSource d. All
22. Which data controls are read only
a. DataList b. ListBox c.Repeater d. Both b & c
23. Which data controls support selection, deletion and editing operation
a. DataList b. GridView c.Repeater d. Both a & b
24. Which of the following data control is look less data control
a. Repeater b. Listbox c.GridView d. Both a & b
25. Which of the following template is mandatory to display date in repeater control
a. HeaderTemplate b. FooterTemplate c. ItemTemplate d. Both b &
c
26. Which of the following control displays single record at a time
a. FormView b. ListBox c. Repeater d.GridView
27. Which of the following window is used to work with database?
a.Properties b. Server Explorer c. Solution Explorer d. Document
Explorer
28. Extension of ASP.NET code page is
a. .aspx b. .aspx.vb c. .ascx d. All
29. Validator control performs validation at
a. Client side b. Server side c. Both a& b d. None
30. Which is the base class of all validation control classes?
a. BaseValidator b. ValidatorControl c. ValidationControl d. None

ASP.NET MCQ 2021-22 Page 2


31. Which property of BaseValidator class display validation error description in
ValidationSummery control
a. Text b. ErrorMessage c. ErrorDescription d. Description
32. Which property of BaseValidator class indicates that the input control passes
validation or not
a. Valid b. ErrorPage c. IsPostBack d. IsValid
33. Which validation control is used to make data entry cumpulsary
a. RequiredFieldValidator b. RagularExpressionValidator c.
RangeValidator d. CompareValidator
34. Which of the following is used to specify the range in range validator control?
a. MinimumValue, MaximumValue b. Min, Max c. Minimum,
Maximum d. MinVal, MaxVal
35. Which of the following types are supported by Type property of RangeValidator
control?
a. String b. Integer c. Currency d. All
36. Which validator control is used for PatternMatching?
a. RequiredFieldValidator b. RagularExpressionValidator c.
RangeValidator d. CompareValidator
37. Which of the following control is used to validate two fields are equal or not?
a. RequiredFieldValidator b. RagularExpressionValidator c. RangeValidator
d. CompareValidator
38. Which of the following operators can be used with compare validator
a. Equal b. GreaterThan c. DataTypeCheck d. All
39. The file used with site map control is
a. Web.sitemap b. web.sitemappath c. web.config d. web.skin
40. Which of the following is not a navigation control
a.Menu b. Treeview c. SiteMapPath d. GridView
41. Which of the following is not the method of Response object
a. Write b. Redirect c. End d. Cookies
42. Which of the following is not the collection of request object
a. Parameters b. Cookies c. QueryString d.
None
43. Which of the following are client side state management technique
a.Cookies b. QueryString c. HiddenField d.All
44. To write cookies you need to use
a. Response object b. Request object c. Server object d.
None
45. To read cookies you need to use
a. Response object b. Request object c. Server object d. None
ASP.NET MCQ 2021-22 Page 3
46. Extension for Web User Control is
a. .ascx b. .asmx c. .aspx d. .vb
47. To create persistent cookie you need to set
a.Value b. Name c. Item d. Expires property
48. QueryString collection is available in
a. Response object b. Request object c. Server object d. None
49. For encoding and decoding QueryString object used is
a. Response object b. Request object c. Server object d. None
50. Property of HTTPCookie class to make it persistent cookie is
a. Expires b. remove c.Timeout d.none
51. To kill the session we should use
a.Kill() b. Abandon() c. clear() d. Remove()
52. To get number of items within session
a. Count b. Timeout c. items d. None
53. Which of the following is not a server side state management technique
a. User Profile b. Session c. Cookies d. Application
54. User profile is defined in
a. Web.Config b. Web.sitemap c. default.skin d.
Global.asax
55. Exception represents errors that occur
a. During program execution b. Before program execution c. After
program execution d.None
56. Which of the following is not part of structured Exception handling
a. Try b. Catch c. Finally d. On Error Resume Next
57. Which of the following is part of unstructured Exception handling
a. Try b. Catch c. Finally d. On Error Resume Next
58. The statements which needs to be observed and have chances to have run time
error should be written in
a. Try b. Catch c. Finally d. None
59. You can customize exception using
a. ApplicationException b. SystemException c. OverFlowException
d. None
60. Extension of ASP.NET web service is
a. .aspx b. .ascx c. .asmx d. None
61. 61. In a connection string _____________ represents name of the database
a. Data Source b. Initial Catalog c. Catalog Initial d. Database

ASP.NET MCQ 2021-22 Page 4


62. Which ado.net class provide a disconnected environment?
a. DataReader b. Dataset c.Command d.None of the above.
63. Which is not an ADO.NET DataAdapter Object?
a. OleDbDataAdapter b. SQLDataAdapter c. QueryDataAdapter
d. All of the above.

64. A web server technology for dynamically rendering HTML pages using a combination
of HTML, Javascript, CSS, and server-side logic is
a. ASP.NET b. VB.NET c. ASP d. None

65. Which of the following template is mandatory to display data in repeater control?
a. ItemTemplate b. Footer Template c. Header Template d. All

66. Which are skin templates used to define the look of page and controls?
a. MasterPage b. Themes c. CSS d. None

67. When a browser asks for a page from a server, it is called


a. Application b. Response c. Request d. Server

68. Which block of .NET framework is also called Data Access Layer?
a. FCL b. ADO.NET & XML c. XML d. BCL
69. Which programming approach is supported by ASP.NET?
a. Structure Programming b. Even Driven Programming c. Linear
Programming d. None of the above
70. The first event triggered in an aspx page is ______.
a. Page_Init() b. Page_load c. Page_Click d. None of the Above
71 Which of the following can transfer the execution control to different domain?
a. Server.Transfer() b. Response.Query() c. Redponse.Redirect() d. None of
the above

ASP.NET MCQ 2021-22 Page 5


72. Which Property of hyperlink control set the URL to link page?
a. Href b. Link c. URL d. NavigateUrl

73. Which of the following model is disconnected Data Model?


a. DAO b. ADO c. ADO.NET D. RDO
74. Name of the control is added in the standard tab when the Master Page is created.
a. ContentPlaceHolder b. PlaceHolder c. Table d. Hyperlink
75. The skin with SkinID is called ___________ Skin.
a. Default b. Named c. Empty d. None
76. Which Data Controls are Read only?
a. GridView b. ListBox c. Repeater d Both b & c.
77. Which of the following control display single record at a time?
a. FormView b. ListBox c. Repeater d. Gridview
78. Where is the ViewState information stored?
a.Hidden Field b. URL c. Cookie d. QueryString
79. What is the extension of a Web User Control.
a. .asmx b. .aspx c. .ashx d. .ascx
80. Which of the following block of Structured Exception Handling is always executes, if
it is written?
a.Try b. Catch c. Finally d. All
81. ASP stands for?
a. Active Server Pages b. Access Server Pages c. Active Server Platform
d. Active Server Programming
82 Web.config file is used
a.. Configures the time that the server-side codebehind module is called
b. To store the global information and variable definitions for the
application
c. To configure the web server d. To configure the web browser

ASP.NET MCQ 2021-22 Page 6


83. Default Session data is stored in ASP.Net.
a. StateServer b. Session Object c. InProcess d. All of the above

84. 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

85. Which object can help you maintain data across users?
a. Application object b. Session object c. Response object d. Server object

86. Which of the following is not the way to maintain state?


a. View state b. Cookies c. Hidden fields d. Request object
87. WSDL stands for _________________ ?
a. Web Server Description Language
b. Web Server Descriptor Language
c. Web Services Description Language
d. Web Services Descriptor Language
88. Which of the following transfer execution directly to another page?
a. Server.Transfer b. Response.Redirect c. Both a and b. d. None of the
Above
89. 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
90. 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

91. The Command Object Method(s):


a. ExecuteReader b. ExecuteScalar c. ExecuteNonQuery d. All of the above.
92. Which file you should write for the connection string to access it in all the web pages
for the same application?
a. In App_Data folder b. In Web.config file c. In MasterPage file d. None of the
above

93. Which is not a DataReader method?


a. NextResult b. GetName c. GetValue d. GetDataType
94. The ADO.NET SqlConnection object designed for:
a. Access database b. Microsoft SQL Server database c. MySQL database
d. Oracle database

95. Which o the following is not an ADO.NET DataAdapter Object?


a. QueryDataAdapter b. OleDbDataAdapter c. SQLDataAdapter d.All of the
above.

ASP.NET MCQ 2021-22 Page 7


96. To perform Insert, Update and Delete Command, you will use method:
a. ExecuteScalar b. ExecuteNonQuery c. ExecuteReader d. None

97. An application must reference the _____________ namespace, to use the .NET
Framework Data Provider for SQL Server:
a. System.Data.Client b. System.Data.Sql c. System.Data.SqlClient d. None of the
mentioned

98.
__________object is used to fill a DataSet/DataTable with query results in ADO.net.
a. DataReader b. Dataset c. DataAdapter d. DataTables

99. Which method of adapter is used to populate dataset with records.


a. Put Method b. Fill Method c. Fills Method d. Insert Method

100. Component which is NOT used in ADO.NET.


a. ExecuteNonQuery b. ExecuteScalar c. ExecuteReader d.ExecuteQuery

101. What is the use of SQL command object?


a. SQLCommand object allows user to interact with the users.
b. SQLCommand object allows user to interact with the database.
c. SQLCommand object allows user to interact with the dataset.
d. SQLCommand object allows user to interact with the server.

102. What is ADO.NET


a. ActiveX Data Objects Network b. Active Data Objects Network
c. Active Data Object Network d. Access Data Objects Network

103. Which of the following illustrates the benefit of ADO.NET?


a. Interoperability b. It uses DataSet to represent data in memory that can store
data from multiple tables and multiple sources.
c. Disconnected data access d.All of the above

104. ADO.NET provides the communicator between


a. Data object and Dataset b.Data object and Data source c.Dataset and Data base
d. Dataset and the Data source.

105. Which file you should write for the connection string so that you can access it in all
the web pages for the same application?
a. In App_Data folder b.In Web.config file c.In MasterPage file d. Control page

ASP.NET MCQ 2021-22 Page 8


106. Which of the following is not server side state management technique available in
ASP.net ?
a. Profile Properties b. Application State c. Session State d. Control State

107. Which properties ensure that form is automatically posted back when CheckBox is
checked or Unchecked?
a. Crosscheck b. Postback c. AutoPostBack d. None

108. I am used to create an image that contains clickable hotspot region. Who am I?
a. ImageHotspot b. ImageMap c. ImageLink d. ImageButton

109. What is the file extension of web service in ASP.NET?


a. .ascx b. .asmx c. .aspx d. .docx

110. 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 d. None

111. How do you register a user control?


a. Add Tag prefix, Tag name b. Add Source, Tag prefix
c. Add Src, Tagprefix, Tagname d. None

112. Which of the following is the default authentication mode for IIS?
a. Anonymous b. Windows c. Basic Authentication d. None

113. The actual work process of ASP.NET is taken care by


a. Inetinfo.exe b. aspnet_isapi.dll c.aspnet_wp.exe d.None of the above
114. Which of the following is the managed code?
a. MSIL b. C# c. VB d. VC++

115. The .NET framework is managed; _________ environment for building, developing,
deploying and executing various applications.
a. Case Sensitive b. Type-Safe c. Case Insensitive d. User Friendly

116. ADO.NET consist of which of the following two parts:


a. Template and Component b. Tables and Views c. Data Provider and Dataset
d. Functions and Modules

117. Which of the following are the levels of CLS?


a. Complaint Provider b. Consumer c. Extender d. All of the above

118. Which of the following contains List of external types?


a. Assembly b. Metadata c. Manifest d. MSIL

ASP.NET MCQ 2021-22 Page 9


119. Which of the following data control(s) renders single record at a time from its
associated data Source?
a. FormView b. DetailsView c. DataList d. Both a and b

120. Which of the following Data Control allows you to add new record within the
database?
a. FormView b. ListBox c. Repeater d. None of the above

121. Which of the following control provide a user-defined validation function for an input
control?
a. RequiredFieldValidator b. CustomValidator c. RangeValidator
d. RegularExpressionValidator

122. NET framework class library is built on _______________ concepts.


a. Object Oriented b. Procedure Oriented c. Function Oriented d. Class Oriented

123. Which of the following are the Data Access Model(s) Present before ADO.NET?
a. DAO b. RDO c. ADO d. All of the above

124. Which of the following act as a bridge between Data Source and DataSet?
a. DataReader b. DataTable c. DataAdapter d. DataRelation

125. Which of the following is used for sorting, filtering, searching, editing and navigating
the data from a DataSet?
a. DataRow b. DataColumn c. DataView d. DataRelation

126. Which of the following directive is present on the top of Web User Control?
a. @WebControl b. @UserControl c. @GreetUser d. @Control

127. _________ is a directory services where web services can be registered and search.
a. WSDL b. UDDI c. W3C d. XML

128. Which is the protocol used to transfer information between Server and browser?
a. HTML b. XML c. FTP d. HTTP

129. Which status code indicates redirection of the client to another URL?
a. 5xx b. 4xx c. 3xx d. 2xx

130. For separating server-side code from client-side code on ASP.NET page, what
programming model should you use?
a. Separation Model b. Code-Behind Model c. In-Line Model d. Client Server
Model

ASP.NET MCQ 2021-22 Page 10


131. Which ASP.NET object is used to get information about the web servers?
a. Application b. Response c. Request d. Server

132. Which of the following ends the Session?


a. If user closes the browser b. If TimeOut property is reached
c. If Abandon () method is called d. All of the above
133. Which property of page class is used to determine whether the page is posted back
or not?
a. IsPostBack b. IsPosted c. IsBackPost d. None of the above

134. Which of the following is the Server Side State Management Technique?
a. Cookie b. Session c. Querystring d. None of the above

135. Which of the following class is used to create cookie?


a. HttpCookie b. HttpCookieState c. CookieClass d. None of the above

136. Which of the following are the features of ASP.NET that are used for structuring and
formatting the pages and controls?
a. Master page b. Themes c. Both a and b d. None of the Above

137. You want to make a configuration setting change that will affect only the current
Web application. Which file will you change?
A ) WEB.CONFIG B) Global.asax C) Machine.config D) All of the above

138. Which of the following is not an ASP.NET page event?


A) Init B) Load C) Import D) None of the above

139. What are the client-side state management options that ASP.NET supports?
A) Application B) Session C) Query string D) Both aapplication and session

140. What does IDE stand for?


A) Integrated Design Environment B) Integrated Development Environment
C) Interior Design Environment D) Interior Development Environment

141. Which validation control in ASP.NET can be used to determine if data that is entered
into a TextBox control is of type Currency?
A) RegularExpression Validator B) RequireField Validator
C) Compare Validator D) Range Validator

142. Which object in ASP.NET provides a global storage mechanism for state data that
needs to be accessible to all pages in a given Web application?
A) Session B) Application C) Cookies D) Viewstate

ASP.NET MCQ 2021-22 Page 11


143. What types of data cookies can store?
A) String B) Datetime C) System.Int32 D) None of the above

144. Validation Control display error messages using which of the following method?
A) Inline B) Summary C) Inplace and summary D) All of the above

145. Which of the following web server control display static text that can be changed at
runtime?
A) TextBox B) Label C) HyperLink D) Listbox

146. Which command are used to specify the settings for the aspx file?
A) Class B) Directive C) Event D) Validation

147. Which of the following is/are an ASP.NET page event?


a. PreInit b. Load c. Init d. All

148. The first event of the ASP.NET page when user request a webpage is
a. Init b. PreInit c. Load d. PreLoad

149. Which of the following is not a client side state management technique
a. Session b. Cookies c. QueryString d. HiddenField

150. The event procedure that resides in the Global.asax file is


a. Page_Error b. Application_Error
c. Session_Start d. Session_End

151. The properties of List Controls which allows it to interact with Database are/is
a. DataSource b. DataTextField c. DataValueField d. All

152. The data control which allows you to add new record within the database is
a. FormView b. ListBox c. Repeater d. None

153. The Navigation Control is used to create hierarchical structure as table of content is
a. GridView b. TreeView c. SiteMapPath d. All

154. The validation control used to ensure user does not skip an input field is
a. RangeValidator b. CompareValidator
c. RequiredFieldValidator d. RegularExpressionValidator

ASP.NET MCQ 2021-22 Page 12


155. Using CustomValidator server control
a. Developer can allow users to fill all required fields
b. Developer can generate pop up menu
c. A developer can write a custom validation function as needed
d. None
156. The control which is a graphics image, defined so that a user can click on different
areas of the image and be linked to different destinations
a. ImageMap b. PictureBox c. LinkLable d. None
157. Class used to automatically generate single-table commands that are used to
reconcile changes made to a DataSet with the associated database is
a. OleDbCommand b. OleDbCommandBuilder
c. OleDbConnection d. None
158. On a web page which property of the Cancel button needs to be set in order to
avoid validation
a. CausesValidation= False b. CausesValidation= True
c. Enabled= True d. None
159. The control which displays the navigation path to the current page form home page
is
a. SiteMapPath b. TreeView c. Menu d. All
160. Which of the following is not a member of DataReader Class?
a. Read() b. HasRows c. Close() d. ExecuteReader()

161. SOAP means


a. Simple Object Access Protocol b. Specific Object Access Protocol
c. Special Object Access Protocol d. None

162. The property of Command class used to specify command to be executed is


a. CommandType b. CommandText c. Parameters d. None

163. Which of the following is not web service protocol?


a. SOAP b. HTTP-GET c. HTTP-POST d. WSDL

ASP.NET MCQ 2021-22 Page 13


164. Which of the following is not the property of Connection in ADO.NET?
a. State b. ConnectionString c. Provider d. BeginTransaction

165. Which of the following is a memory-resident representation of data?


a. DataSet b. DataReader c. Both a & b d. None

166. The validator control used to verify input values falls between given minimum and
maximum value is
a. RegularExpressionValidator b. RangeValidator
c. RequiredFieldValidator d. CompareValidator
167. To call the constructor of the base class from derived class we need to use the
keyword
a. MyBase b. MyClass c. MyConstructor d. BaseConstruct

168. Which of the following is not part of structured Exception handling?


a. Try b. Catch c. Finally d. On Error Resume Next

169. Statements in which block are executed whether the exception occurs or not
a. Try b. Catch c. Finally d. None
170. Which statement is used to throw an exception?
a. Throw b. Try c. On error go to d. Catch
171. The property of the page to set when Master Page is bind with page is
a. MasterPage b. MasterFile c. MasterPageFile d. None
172. The method of command object which doesn’t return any value of database or row
of a database is
a. ExecuteNonQuery b. ExecuteScalar c. ExecuteReader d. None
173. The property of Command class used to specify how to interpret command text is
a. CommandText b. Connection c. CommandType d. Transaction
174. The directive used for master page is
a. Register b. Page c. Master d. Control

ASP.NET MCQ 2021-22 Page 14


175. Applications that runs on a web server and communicate with other applications are
a. HTMLForms b. WebForms c. WinForms d. Web Services
176. Property of button control used to prevent page validation is
a. Validate b. CausesValidation c. IsValid d. PreventValidation

177. Property of the button control used to set page to which it is redirected when button
is clicked
a. PostURL b. IsPostBack c. PageUrl d. PostBackUrl

178. The property of a control set to attach Named Skin with it is


a. Skin b. Theme c. SkinFile d.SkinID
179. Exception is caused by
a. Hardware Problem b. Problem in Operating System
c. Runtime Error d. Syntax Error
180. The read only forward only record set is
a. DataSet b. DataReader c. DataAdapter d. None

181. The control used to provide a UI for logging in to a Web site is


a. LinkButton b. Hyperlink c. Login d. None
182. Component of DataSet is/are
a. DataTableCollection b. DataRelationCollection c. Both a & b
d. None
183. The web server control used to display advertisements in ASP.NET webpage is
a. Image b. ImageMap c. AdRotator d. Panel
184. Choose the form in which Postback occur
A. HTMLForms B. Webforms C. Winforms D. None
185. Which of the following method must be overridden in a custom control?
A. The Paint() method B. The Control_Build() method
C. The default constructor D. The Render() method
186. An alternative way of displaying text on web page using
A. asp:label B. asp:listitem C. asp:button

ASP.NET MCQ 2021-22 Page 15


187. Which of the following is a components of a Web Service architecture?
A - SOAP B - UDDI C - WSDL D - All of the above.
188. Which of the following component of Web service describes interfaces to web services?
A – UDDI B - WSDL C - SOAP D - None of the above.
189. Which control is required inside a content page to reference ContentPlaceHolder control
inside the master page?
a. Content control on a content page. b. ContentPlaceHolder on a content page.
c. PlaceHolder control is required on content page. d. None of the above.
190. At which level Theme can be applied?
a. Page level b. Site level (through the Web.config file)
c. Individual control level d. All of the above.
191. If we want define style for an unique element, then which css selector will we use ?
A. Id B. text C. class D. name
192. What should be the table width, so that the width of a table adjust to the current width of
the browser window?
A. 640 pixels B. 100% C. full-screen D. 1024 px
193. Which element is used in the <HEAD> section on an HTML / XHTMLpage, if we want to use
an external style sheet file to decorate the page ?
A. <src> B. <link> C. <style> D. <css>
194. How will you make all paragraph elements 'RED' in color ?
A. p.all {color: red;} B. p.all {color: #990000;} C. all.p {color: #998877;}
D. p {color: red;}
195. Master Page must have at least one
a. ContentPlaceHolder b. PlaceHolder c. Header d. Footer
196. Which ADO.NET component is used for fill datatable?
a. Connection b. Datareader c. Dataadapter d. None
197. ADO.NET is working on the bases of _______
a. Connection-oriented b. Disconnected-Oriented c mix d. none
198. Which one is universal selector for CSS?
a. . b. + c. * d. None

ASP.NET MCQ 2021-22 Page 16


199. Why Global.asax class is used?
a. Declare Global variables b. Track application error c. Implement application and
session level event d. None
200. Which property of textbox is used to change behavior of the control?
a. Mode b. TextMode c. TextType d. Behavior
201. Which of the following is container control?
a. PlaceHolder b. TreeView c. Calendar d. None
202. Which of the following control contains LoggedInTemplate & AnonymousTemplate?
a. Login b. LoginStatus. c. Loginview d. LoginName
203. Which of the following does not have any visible interface?
a. Gridview b. Formview c. Repeater d. Datalist

ASP.NET MCQ 2021-22 Page 17

You might also like