ASP.Net MCQ Quiz Hub

ASP.Net Mcq Question Set 7

Choose a topic to test your knowledge and improve your ASP.Net skills

The type of code found in Code-Behind class is ________ ?





✅ Correct Answer: 1

Common type system is built into which of the following:





✅ Correct Answer: 1

The actual work process of ASP.NET is taken care by _______?





✅ Correct Answer: 3

Which of the following allow writing formatted output?





✅ Correct Answer: 2

Which of the following denote the property in every validation control?





✅ Correct Answer: 3

How many classes can a single .NET DLL contain?





✅ Correct Answer: 4

Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below:





✅ Correct Answer: 1

Which of the following can be used to add alternating color scheme in a Repeater control?





✅ Correct Answer: 1

Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called ________ ?





✅ Correct Answer: 1

The technique that allow code to make function calls to .NET applications on other processes and on other machines is





✅ Correct Answer: 1

The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ....................





✅ Correct Answer: 1

Which of the following method is used to obtain details about information types of assembly?





✅ Correct Answer: 3

Which of the following is TRUE about Windows Authentication in ASP.NET?





✅ Correct Answer: 1

What tags one need to add within the asp:datagrid tags to bind columns manually?





✅ Correct Answer: 1

Which method do you invoke on the DataAdapter control to load your generated dataset with data?





✅ Correct Answer: 2

In ASP.NET the sessions can be dumped by using





✅ Correct Answer: 2

Which of the following languages can be used to write server side scripting in ASP.NET?





✅ Correct Answer: 4

When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.





✅ Correct Answer: 1

The Asp.net server control, which provides an alternative way of displaying text on web page, is





✅ Correct Answer: 1

The first event to be triggered in an aspx page is.





✅ Correct Answer: 3

Postback occurs in which of the following forms.





✅ Correct Answer: 3

What namespace does the Web page belong in the .NET Framework class hierarchy?





✅ Correct Answer: 1

Which method do you invoke on the Data Adapter control to load your generated dataset?





✅ Correct Answer: 1

How do you register a user control?





✅ Correct Answer: 3

Which of the following is true?





✅ Correct Answer: 3

To add a custom control to a Web form we have to register with.





✅ Correct Answer: 2

Custom Controls are derived from which of the classes





✅ Correct Answer: 4

How ASP.Net Different from classic ASP?





✅ Correct Answer: 3

What's the difference between Response.Write() andResponse.Output.Write()?





✅ Correct Answer: 2

There can be more than 1 machine.config file in a system





✅ Correct Answer: 1

What is the extension of a web user control file?





✅ Correct Answer: 1

Which of the following is true?





✅ Correct Answer: 2

The number of forms that can be added to a aspx page is.





✅ Correct Answer: 3

How do you manage states in asp.net application





✅ Correct Answer: 1

Which property of the session object is used to set the local identifier?





✅ Correct Answer: 4

Select the caching type supported by ASP.Net





✅ Correct Answer: 2

Where is the default Session data is stored in ASP.Net?





✅ Correct Answer: 3

Select the type Processing model that asp.net simulate





✅ Correct Answer: 1

Does the EnableViewState allows the page to save the users input on a form?





✅ Correct Answer: 1

What is the maximum number of cookies that can be allowed to a web site?





✅ Correct Answer: 1

Select the control which does not have any visible interface.





✅ Correct Answer: 3

How do you explicitly kill a user session?





✅ Correct Answer: 3

Which one of the following namespaces contains the definition for IdbConnection?





✅ Correct Answer: 4

In your ASP.NET web application you want to display a list of clients on a Web page. The client list displays 10 clients at a time, and you require the ability to edit the clients. Which Web control is the best choice for this scenario?





✅ Correct Answer: 3

You need to store state data that is accessible to any user who connects to your Web application. Which object should you use?





✅ Correct Answer: 2

Explain the significance of Server .MapPath





✅ Correct Answer: 3

_______ element in the web.config file to run code using the permissions of a specific user





✅ Correct Answer: 4

For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company. Some of graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Web site. What is the best way of incorporating these images into your Web site?





✅ Correct Answer: 4

An ASP.NET page uses a Datagrid displays employee information.The Web application supports a large number of concurrent users, who will be saving data from the grid back to the database. It is important that the Web application doesn't overwhelm the Web Server.





✅ Correct Answer: 4

The host for ASP.NET Core web application is configured in _________ file?





✅ Correct Answer: 1