

MCQOPTIONS
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
______ attributes can be used for data validation in MVC. |
A. | DataAnnotations |
B. | Fluent AP |
C. | DataModel |
D. | HtmlHelper |
Answer» B. Fluent AP | |
2. |
Does MVC 6 was introduced new JSON project-based structure? |
A. | Yes |
B. | No |
C. | Both A & B |
D. | None |
Answer» B. No | |
3. |
What Request Processing technique follows ASP.Net? |
A. | Top-Down |
B. | Down-Up |
C. | Pipeline |
D. | Waterfall |
Answer» D. Waterfall | |
4. |
WIF enables you to create a custom token. To be able to use the token, you must create a custom token handler by overriding which of the following? |
A. | SecurityToken |
B. | SecurityTokenHandler |
C. | SWTToken |
D. | Saml2SecurityTokenHandler |
Answer» C. SWTToken | |
5. |
What is the name of the configuration files that the App_Start folder contains? |
A. | BundleConfig.cs |
B. | FilterConfig.cs |
C. | RouteConfig.cs |
D. | All of these |
Answer» E. | |
6. |
What are the various types of filters in an ASP.NET MVC application? |
A. | Authorization filters |
B. | Action filters |
C. | Result filters |
D. | All of these |
Answer» E. | |
7. |
Which of the followings are Actionselectors? |
A. | ActionName |
B. | NonAction |
C. | ActionVerbs |
D. | All of the above |
Answer» E. | |
8. |
What is ActionResult()? |
A. | It is an abstract Class |
B. | It is a Concrete Class |
C. | Both A and B |
D. | None |
Answer» B. It is a Concrete Class | |
9. |
Which namespace is used for ASPX View Engine? |
A. | System.Web.Razor |
B. | System.Web.Mvc.WebFormViewEngine |
C. | Both A & B |
D. | None |
Answer» C. Both A & B | |
10. |
The model is a _______ |
A. | Shape of data |
B. | Html content |
C. | Collection of data |
D. | Type of data |
Answer» B. Html content | |
11. |
Which of the following is true? |
A. | User controls are displayed correctly in the Visual Studio .NET Designer |
B. | Custom controls are displayed correctly in VS.Net Designer |
C. | User and Custom controls are displayed correctly in the Visual Studio .NET Designer |
D. | All of these |
Answer» C. User and Custom controls are displayed correctly in the Visual Studio .NET Designer | |
12. |
_____________ is not a member of ADODBCommand object |
A. | ExecuteReader |
B. | ExecuteStream |
C. | ExecuteScalar |
D. | Open |
Answer» E. | |
13. |
Every command in .NET Core command line interface starts with _________ |
A. | core |
B. | dotnet |
C. | net |
D. | aspdotnet |
Answer» C. net | |
14. |
What are characteristics best define .NET Core? |
A. | Flexible deployment |
B. | Cross-platform |
C. | Command-line tools |
D. | All of the above |
Answer» E. | |
15. |
What are the features of MVC5? |
A. | Scaffolding |
B. | ASP.NET Identity |
C. | One ASP.NET |
D. | All of the above |
Answer» E. | |
16. |
Which of the following is an entry point of ASP.NET Core application? |
A. | Main method of Program class |
B. | Configure method of Startup class |
C. | ConfigureService method of Startup class |
D. | Application_start method of Global.asax |
Answer» B. Configure method of Startup class | |
17. |
Middlwares can be configured in ___________ method of Startup class |
A. | Configure |
B. | ConfigureService |
C. | Main |
D. | ConfigureMiddleware |
Answer» B. ConfigureService | |
18. |
Which of the following does not have any visible interface? |
A. | Datagrid |
B. | Repeater |
C. | DropdownList |
D. | Datalist |
Answer» C. DropdownList | |
19. |
The host for ASP.NET Core web application is configured in _________ file? |
A. | Program.cs |
B. | Startup.cs |
C. | Middleware |
D. | None of the above |
Answer» B. Startup.cs | |
20. |
Which property of the session object is used to set the local identifier? |
A. | LCID |
B. | SessionId |
C. | Key |
D. | Item |
Answer» B. SessionId | |