

MCQOPTIONS
Saved Bookmarks
This section includes 220 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
201. |
Choose the correct one 1) XML serialization serializes the public fields and properties of an object. 2) XML serialization serializes the private fields and properties of an object. 3) XML serialization serializes only the public methods. |
A. | Only 1 |
B. | Only 2 |
C. | Only 1 & 2 |
D. | All of the above |
Answer» B. Only 2 | |
202. |
Choose the correct one 1) Sealed class can be declared as abstract 2) Abstract class cannot be declared as abstract 3) Abstract class can be declared as abstract |
A. | Only 1 |
B. | Only 2 |
C. | Only 1 & 2 |
D. | All of the above |
Answer» B. Only 2 | |
203. |
ByDefault ASP.Net SessionID is stored in _________. |
A. | Application |
B. | Session |
C. | Cookies |
D. | ViewState |
Answer» D. ViewState | |
204. |
By default, when you use Page Output Caching, at what location page is cached? |
A. | Only on web server |
B. | Only on Client |
C. | Web server, any proxy servers, and browser |
D. | All of the above. |
Answer» D. All of the above. | |
205. |
By default, a .Net web site is configured with which of the following authentication types? |
A. | Anonymous |
B. | Basic |
C. | Digest |
D. | Integrated Windows authentication |
E. | a and d |
Answer» F. | |
206. |
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. |
Answer» E. | |
207. |
ASP.NET validation controls works (handle validation) at |
A. | Client side only. |
B. | Server side only. |
C. | Both client side and server side. |
D. | None of the above. |
Answer» D. None of the above. | |
208. |
ASP.NET Validation Control works at ________ . |
A. | Client side only. |
B. | Server side only. |
C. | Both Client Side and Server Side |
D. | None of the above. |
Answer» D. None of the above. | |
209. |
Application_Start event is available in which file? |
A. | Global.asax |
B. | Local.asax |
C. | Web.config |
D. | None of the above |
Answer» B. Local.asax | |
210. |
AnUpdatePanel control defined on a page. Button control is placed outside of the UpdatePanel. How to cause the UpdatePanel to execute an update. |
A. | Set the Trigger attribute of the UpdatePanel to the ID of the Button control. |
B. | Set the AsyncPostBackTrigger attribute of the Button control to the ID of theUpdatePanel. |
C. | Place the button control on the update panel without script manager. |
D. | Add an AsyncPostBackTrigger control to the Triggers section of the UpdatePanel. Set the ControlID attribute of the AsyncPostBackTrigger control to the |
Answer» E. | |
211. |
An interface can contain declaration of? |
A. | Methods, properties, events, indexers |
B. | Methods |
C. | Static members |
D. | All of the above |
Answer» B. Methods | |
212. |
An indexer is |
A. | A class |
B. | A structure |
C. | An enumeration |
D. | A special type of property |
Answer» E. | |
213. |
An assembly must have an permission to connect with web server is? |
A. | socketPermission |
B. | DnsPermission |
C. | WebPermission |
D. | TCPPermission |
Answer» D. TCPPermission | |
214. |
According to the given below statements, choose the correct option. Statement 1: Application caching is the process of storing data (and not pages) in a cache object. Statement 2: Page output caching stores a rendered page, portion of a page, or version of a page in memory. Statement 3: Caching reduces the time required to render cached page in future requests. |
A. | Only statement 1 is correct. |
B. | Statement 2 and 3 are correct. |
C. | Only statement 3 is correct. |
D. | All statements are correct. |
Answer» E. | |
215. |
A write - only property can be specified if the following is present. |
A. | The set modifier only |
B. | The get modifier only |
C. | Both the modifiers |
D. | None of the modifiers |
Answer» B. The get modifier only | |
216. |
A web page has lots of input data, and you want the data input to be spread across multiple screens. What is the best control to implement this solution on a single Web page? |
A. | ImageMap |
B. | Panel |
C. | Wizard |
D. | None of the above. |
Answer» D. None of the above. | |
217. |
A web page has lots of input data, and you want the data input to be spread across multiple screens. What is the best control to use to implement this solution on a single Web page? |
A. | ImageMap |
B. | Panel |
C. | Wizard |
D. | None of the above |
Answer» D. None of the above | |
218. |
A web application can contain _______ . |
A. | Only One Web.Config File |
B. | Only Two Web.Config File |
C. | more than one Web.config file |
D. | No file. |
Answer» D. No file. | |
219. |
A Master Page contains a ScriptManager control and a user wants the AJAX functionality on content page then which control is necessary on content page? |
A. | AsyncPostBackTrigger |
B. | ScriptManager |
C. | ScriptManagerProxy |
D. | None of the above. |
Answer» D. None of the above. | |
220. |
A Master Page contains a ScriptManager control and a user wants the AJAX functionality on content page then which control is necessary on content page. |
A. | AsyncPostBackTrigger |
B. | ScriptManager |
C. | ScriptManagerProxy |
D. | None of the above. |
Answer» D. None of the above. | |