
asp-net – web-dev-asp-net – কুইজ মডেল টেস্ট অনুশীলন – 24
10814. What is the Global.asax used for
- None of the above
- Application Level Events
- Session Level Events
- Both of these
10815. You require to create an ASP.NET page with the functionality to allow a user to upload a file to the server
- You need to use the System.WeUpload namespace
- The ASP.Net application automatically loops through all the <input type="File"> and saves the uploaded files to a virtual folder called "uploads"
- You need to use the SaveAs method of the HttpPostedFile class
- You need to use a COM component to save the file on the server
10816. In a ASP.NET page, which is the best way to find if the contents of a TextBox has changed after the form containing the TextBox has been posted back to the server
- By checking the NewValue property of the TextBox control
- By checking the HasChanged property of the TextBox
- By comparing the old value with the new value
- By handling the TextBox control’s TextChanged event
10817. Which of the following tags should be inserted into the Web.Config file to handle the mobile devices that do not accept relative URLs
- <Filter> tag
- <httpRuntime> tag
- <deviceFilters> tag
- <DeviceSpecific> tag
10818. Which is TRUE to bind a method by setting the Master attribute in the <pages>
- < pages>< system.web>< pages masterpagefile="r4r.co.in.MasterPage" /></system.web></ pages>
- < configuration> < system.web> < pages masterpagefile="r4r.co.in.MasterPage" /> </system.web></configuration>
- None of the above
- Both
10819. What is the file extension used for ASP.NET files
- .ASP
- .Web
- None of the above
- .ASPX
10820. While creating a file-system Web site, where can the files be stored other than a folder in the local computer’s file system
- They may be stored in a shared local folder.
- They may be stored in a shared folder on the remote web server.
- They may be stored in a local folder that is not share
- They may be stored in a shared network folder
10821. Which WebForm Validator control would you use if you needed to make sure the values in two different WebForm controls matched
- CustomValidator Control
- RangeValidator Control
- RequiredField Validator
- CompareValidator Control
10822. What is the output of the code public class B : A { }
- It defines a class that inherits all the methods of A but the private members cannot be accessed.
- B and C
- It defines a class that inherits the public methods of A only.
- Errors
10823. Which are the two things you need to take care of in your ASP.Net application to take advantage of connection pooling
- You need to explicitly close the connection with the Close() method
- You need to use the same exact connection string whenever you open a database connection
- You need to call the ReleaseToPool() method after the connection is closed
- You need to set the Pooling property of the Connection object to TRUE
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।