অণুজীব

 

asp-net – web-dev-asp-net – কুইজ মডেল টেস্ট অনুশীলন – 23

10804. You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use

  1. On each page in the Web site: void Page_Load(Object sender
  2. EventArgs E{FormsAuthentication.RedirectToLoginPage(“login.aspx”); //Rest of the Page_Load code goesOn each page in the Web site: void Page_Load(Object sender
  3. EventArgs E){Response.Redirect(“login.aspx”);//Rest of the Page_Load code goes here}In the Web.config file: <authentication mode=”Forms”> <forms name=”.ASPXUSERDEMO”loginUrl=”login.aspx” protection=”All” timeout=”60” /> </authentication>In the Web.config file: <authorization> <deny users=””/></authorization> On each page in the Web site: void Page_Load(Object sender
  4. EventArgs E){ FormsAuthentication.Initialize();//Rest of the Page_Load code goes here}”;}}

10805. Where are shared assemblies stored

  1. Web.Config
  2. Database
  3. Global assembly cache
  4. Session

10806. What is the full form of ASP

  1. All Standard Pages
  2. Active Server Pages
  3. A Server Page
  4. Active Standard Pages

10807. Different ways a method can be overloaded in C#.NET

  1. Different order of parameters
  2. Different parameter data types
  3. All of the above
  4. Different number of parameters

10808. What attribute must be set on a validator control for the validation to work

  1. Validate
  2. ValidateControl
  3. ControlToBind
  4. ControlToValidate

10809. To invoke Fill() method of a DataAdapter object

  1. The connection should be opened
  2. The DataAdapter object should have InsertCommand
  3. None of the above
  4. The DataAdapter object should have SelectCommand

10810. Which method do you use to redirect the user to another page without performing a round trip to the client

  1. Server.Transfer
  2. Response.Transfer
  3. Response.Redirect()
  4. Server.Redirect

10811. Which template must you provide, in order to display data in a Repeater control

  1. DataTemplate
  2. ItemTemplate
  3. ViewTemplate
  4. DisplayTemplate

10812. What is advantage of Response.Clear()

  1. Allows you to send the user to a new URL
  2. NONE
  3. Use this when the buffer is set to true and you want to send to the browser what you’ve processed up to the point where the Clear() is
  4. Use this when the buffer is set to true and you want to get rid of everything processed up to where the Clear() is

10813. What is accessibility modifier “protected internal”

  1. It is available within the class definition
  2. It is the least permissive access level
  3. It is available to classes that are within the same assembly and derived from the specified base class.
  4. It is the most permissive access level

আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।

Leave a Reply

স্যার, কিভাবে আপনাকে সাহায্য করতে পারি?

Click one of our representatives below

Customer Support
Customer Support

Syeda Nusrat

I am online

I am offline

Technical Support
Technical Support

Ariful Islam Aquib

I am online

I am offline