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 MVC

  1. Use try and catch on every method.

  2. Override the One Exception method of each controller.

  3. Decorate all controllers with a custom Handle Error attribute.

  4. Decorate all controllers with the default Handle Error attribute.

Answer: Answer is c

  1. Create a jQuery library plug-in.

  2. Create an HtmlHelper extension method.

  3. Create a controller that returns an Action Result.

  4. Create a Web Form server control that stores values in View State.

Answer: Answer is b

  • "Deliver content that is provided by user controls to the browser.
  • "Select the appropriate user controls to render within the controller.

You need to ensure that your design meets the requirements. Which approach should you recommend?

  1. Use the Html. Render Partial extension method.

  2. Use the Html. Render Action extension method.

  3. Use the Partial View Result class.

  4. Use the Content Result class.

Answer: Answer is b

  • "Provide a simple way to map posted form values to a custom class object.
  • "Control the deserialization of custom class objects that are passed to the server.

You need to design the application to meet the requirements. Which approach should you recommend?

  1. Implement model binding.

  2. Use ASP.NET Dynamic Data.

  3. Implement AJAX data templates.

  4. Use a built-in HtmlHelper extension method.

Answer: Answer is a

  • "Type safety must be validated at compile time.
  • "Code must not require explicit run-time type casting.

You need to pass data between the controllers and the views within the Web application. Which approach should you recommend?

  1. Use the View Data Dictionary class.

  2. Use the Temp Data Dictionary class.

  3. Use strongly typed view model classes.

  4. Use dynamic object view model classes.

Answer: Answer is c

  1. Configure the llS Request Filter module to filter requests.

  2. Configure IIS to reject requests from outside the specified IP address range.

  3. Configure the llS URL Rewrite module to redirect requests from outside the specified IP address range to the public Web site.

  4. Design the default controller and action to check the IP address and to redirect requests from outside the specified IP address range to the public Web site.

Answer: Answer is c

  • "Centralize business rules.
  • "Directly validate the accuracy of the business rules.

You need to design tests against the appropriate layer to meet the requirements. Which layer should you recommend?

  1. The controllers

  2. The domain model

  3. The data access layer

  4. The domain model facade

Answer: Answer is b

  • "Centralize data operations.
  • "Directly validate data access rules.

You need to design tests against the appropriate layer to meet the requirements. Which layer should you recommend?

  1. The controllers

  2. The domain model

  3. The data access layer

  4. The repository objects

Answer: Answer is d

  1. Use a Page_Error method.

  2. Use a HandleError attribute.

  3. Use a customErrors element.

  4. Use an Application_Error method.

Answer: Answer is b

  1. Convert the Web site project to a Web application.

  2. Convert the Web site project to an ASP. NET MVC 2 application.

  3. Modify the T4 templates to support ASP.NET Web Forms.

  4. Reference the ASP.NET MVC 2 assemblies in the application configuration file.

Answer: Answer is a, d

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.

;