News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Mcq Answers for Asp.net

  1. @Page

  2. @Implements

  3. @Insert

  4. @Register

  5. @Reference

Answer: Answer is c

  1. Server.GetLastError()

  2. Exception ex

  3. Raise Error

  4. None of above

Answer: Answer i
Further Reading:

Useful resources, Handling COM Interop Exceptions


  1. By enabling page tracing

  2. By enabling application tracing

  3. By enabling server tracing

  4. By looking up the system.log file

Answer: Answer is a, b
Further Reading:

The Trace.Write() statements do not appear within the resulting output. To view the results of the Trace.Write() statements, we need to enable tracing for the page or for the application. Useful resources, tracing


1. For configuration, ASP.NET uses IIS Metabase

2. For configuration, ASP.NET uses an XML based configuration system

  1. 1 only

  2. 2 only

  3. Both 1 and 2

  4. Neither 1 nor 2

Answer: Answer is c
Further Reading:

Useful resources, ASP.NET Configuration Overview


  1. Yes

  2. No

Answer: Answer is b

<system.web>

<authorization>

<deny users="RIL"/>

<allow users="RIL"/>

</authorization>

</system.web>
  1. The user RIL is first denied and then allowed access

  2. The user RIL is denied access because the <deny> element takes precedence over the <allow> element

  3. An error is generated because deny and allow cannot both be assigned to the same user

  4. Can't say. It depends on the Windows OS version

Answer: Answer is b
Further Reading:

At run time, the authorization module iterates through the allow and deny elements, starting at the most local configuration file, until the authorization module finds the first access rule that fits a particular user account. Then, the authorization module grants or denies access to a URL resource depending on whether the first access rule found is an allow or a deny rule. Useful resources, deny allow Element for authorization


  1. Include

  2. Import

  3. Insert

  4. Both a and b

Answer: Answer is b

  1. To signal the occurrence of unusual or unanticipated program events

  2. To redirect the program's normal flow of control

  3. In cases of potential logic or user input errors

  4. In case of overflow of an array boundary

Answer: Answer is c

  1. Document-centric workflows

  2. Human workflows

  3. User-interface page flows

  4. Builtin support for communications across multiple applications and/or platforms

Answer: Answer is a, b, c
Further Reading:

Useful resources, Windows Workflow Foundation


  1. Replace the GridView control with a ListView control.

  2. Set the ClientIDMode attribute to Predictable in the web.config file.

  3. Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.

  4. Set the @ OutputCache directive's VaryByControl attribute to the ID of the GridView control.

Answer: Answer is c
Further Reading:

Useful resources, GridView, GridView.ClientIDRowSuffix Property

Useful resources,

Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;