

MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following .NET components can be used to remove unused references from the managed heap? |
A. | Common Language Infrastructure |
B. | CLR |
C. | Garbage Collector |
D. | CTS |
Answer» D. CTS | |
2. |
I have an ASP.NET application. I have a page loaded from server memory. At this instance which of the following methods gets fired |
A. | Unload() |
B. | Load() |
C. | PreRender() |
D. | None of the Above |
Answer» C. PreRender() | |
3. |
The .NET framework which provides automatic memory management using a technique called |
A. | Serialization |
B. | Garbage Collection |
C. | Assemblies |
D. | Overriding |
Answer» C. Assemblies | |
4. |
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 |
Answer» B. DataSource | |
5. |
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 |
Answer» D. None of the Above | |
6. |
Which method do you invoke on the DataAdapter control to load your generated dataset with data? |
A. | Load() |
B. | Fill() |
C. | DataList |
D. | DataBind |
Answer» C. DataList | |
7. |
The control used in ASP.NET to display information from data set but with better formatting and editing behavior is |
A. | Panel |
B. | Button |
C. | DataList |
D. | None of the above |
Answer» D. None of the above | |
8. |
When an .aspx page is requested from the web server, the output will be rendered to browser in following format? |
A. | HTML |
B. | XML |
C. | WML |
D. | JSP |
Answer» B. XML | |
9. |
In C#.NET if we do not catch the exception thrown at runtime then which of the following will catch it? |
A. | Compiler |
B. | CLR |
C. | Linker |
D. | Loader |
Answer» C. Linker | |
10. |
Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor. |
A. | True |
B. | False |
C. | none |
D. | all |
Answer» B. False | |
11. |
Master pages are used to provide the code and appearance that are the same for a series of __________. |
A. | Content Pages |
B. | Base pages |
C. | Both A and B |
D. | None of the above |
Answer» B. Base pages | |
12. |
It is compulsory for all classes whose objects can be thrown with throw statement to be derived from System.Exception class. |
A. | True |
B. | False |
C. | none |
D. | all |
Answer» C. none | |
13. |
All code inside finally block is guaranteed to execute irrespective of whether an exception occurs in the protected block or not. |
A. | True |
B. | False |
C. | none |
D. | all |
Answer» B. False | |
14. |
Which of the following denote the web control associated with Table control function of ASP.NET? |
A. | DataList |
B. | ListBox |
C. | TableRow |
D. | All the above |
Answer» D. All the above | |