Microsoft Asp Net Exam

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Roxyrox101208
R
Roxyrox101208
Community Contributor
Quizzes Created: 1 | Total Attempts: 414
| Attempts: 414 | Questions: 35
Please wait...
Question 1 / 35
0 %
0/100
Score 0/100
1. What is the extension of ASP.NET web pages files

Explanation

The extension of ASP.NET web pages files is .aspx.

Submit
Please wait...
About This Quiz
Microsoft Asp Net Exam - Quiz

The Microsoft ASP. NET Exam assesses knowledge of the. NET Framework, CLR, ASP. NET user identity management, garbage collection, state management, and Web Services Description Language. It's designed for learners to validate and enhance their ASP. NET skills.

Personalize your quiz and earn a certificate with your name on it!
2. The .NET Framework provides a runtime environment called..... ?

Explanation

The correct answer is CLR, which stands for Common Language Runtime. The CLR is a component of the .NET Framework that provides a runtime environment for executing and managing applications. It is responsible for tasks such as memory management, security, and exception handling. The CLR also provides services such as JIT (Just-In-Time) compilation, which converts intermediate language code into machine code at runtime for improved performance.

Submit
3. ASP stands for ____________ ?

Explanation

ASP stands for Active Server Page. This technology was developed by Microsoft and is used for creating dynamic and interactive web pages. ASP allows the server to generate dynamic content by embedding server-side scripts within HTML pages. These scripts can be written in various programming languages such as VBScript or JScript. ASP enables the execution of server-side code before the page is sent to the user's browser, allowing for dynamic content generation based on user input or other factors.

Submit
4. Common type system is built into which of the following:

Explanation

The Common Language Runtime (CLR) is built into the CLR itself. The CLR is a component of the .NET framework that provides various services such as memory management, exception handling, and security. It is responsible for executing .NET programs and managing the execution environment. Therefore, the correct answer is CLR.

Submit
5. Which of the following must be done in order to connect data from some data resource to Repeater control?

Explanation

To connect data from a data resource to a Repeater control, both the DataSource property must be set and the DataBind method must be called. The DataSource property is used to specify the data source for the Repeater control, while the DataBind method is used to bind the data source to the Repeater control. Therefore, in order to successfully connect the data from a data resource to a Repeater control, both A) and B) must be done.

Submit
6. If one has two different web form controls in a application and if one wanted to know whether the values in the above two different web form control match what control must be used?

Explanation

A CompareValidator control must be used in this scenario. The CompareValidator control allows for comparing the values of two different web form controls. It can be used to check if the values in the two web form controls match each other.

Submit
7. How many classes can a single .NET DLL contain?

Explanation

A single .NET DLL can contain multiple classes. This allows for better organization and modularity of code, as different classes can be grouped together based on their functionality. It also promotes code reusability, as these classes can be accessed and used by other applications or projects. Therefore, the correct answer is "Many."

Submit
8. In ASP.NET the < authorization > section contain which of the following elements?

Explanation

The section in ASP.NET contains both the and elements. These elements are used to specify access control rules for different users or roles. The element denies access to a specific user or role, while the element allows access to a specific user or role. By using both elements, developers can define fine-grained access control policies for their web applications.

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

Explanation

Serialization is the process of converting an object into a stream of bytes, which can then be stored or transmitted. This allows the object to be recreated later, either in the same application or in a different one. In the context of the given question, the correct answer is Serialization, as it accurately describes the process of converting an object into a stream of bytes.

Submit
10. ASP.NET is a _________________________ ?

Explanation

ASP.NET is a server-side scripting technology used for developing dynamic web applications. It allows developers to build web pages and applications that can run on a web server. Unlike client-side scripting technologies, which run on the user's browser, server-side scripting technologies execute on the server before sending the response to the client. ASP.NET enables the server to process user requests, interact with databases, and generate dynamic content, making it a suitable choice for server-side scripting.

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

Explanation

The code found in the Code-Behind class is server-side code. This means that it is executed on the server rather than on the client's browser. Server-side code is responsible for processing requests, interacting with databases, and generating HTML or other content to be sent back to the client. This code is typically written in languages such as C# or VB.NET and is used to handle the logic and functionality of a web application.

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

Explanation

The correct answer is "Fill( )". This method is invoked on the DataAdapter control to load a generated dataset with data. It retrieves data from a data source and populates the dataset with the retrieved data.

Submit
13. Find the term: The .NET framework which provides automatic memory management using a technique called ______________ ?

Explanation

The correct answer is Garbage Collection. In the .NET framework, Garbage Collection is a technique used for automatic memory management. It helps to identify and free up memory that is no longer in use by the program, thus preventing memory leaks and improving performance. This process involves identifying and removing objects that are no longer referenced by the program, allowing the memory to be reused for other purposes.

Submit
14. In my .NET Framework I have threads. Which of the following denote the possible priority level for the threads?

Explanation

The possible priority levels for threads in the .NET Framework are Normal, AboveNormal, and Highest. This means that threads can have a normal priority level, above normal priority level, or the highest priority level. Therefore, all of the given options - Normal, AboveNormal, and Highest - denote the possible priority levels for the threads.

Submit
15. Which of the following denote ways to manage state in an ASP.Net Application?

Explanation

The correct answer is "All the Above" because all three options mentioned - Session objects, Application objects, and ViewState - are ways to manage state in an ASP.Net Application. Session objects allow storing and retrieving user-specific data across multiple requests, Application objects allow storing and retrieving data that is shared among all users of the application, and ViewState allows preserving the state of controls during postbacks. Therefore, all three options are valid ways to manage state in an ASP.Net Application.

Submit
16. What is the base class from which all Web forms inherit?

Explanation

The correct answer is Page Class. In ASP.NET, the Page class is the base class from which all Web forms inherit. It provides a set of properties, methods, and events that are commonly used in web development. The Page class represents an individual web page and is responsible for handling user events, rendering HTML content, and managing the page's lifecycle. It provides a framework for building dynamic and interactive web applications.

Submit
17. In ASP.NET in form page the object which contains the user name is ______ ?

Explanation

In ASP.NET, the object that contains the user name in a form page is Page.User.Identity. This object represents the identity of the user making the request and provides access to properties such as the user name. The other options, Page.User.IsInRole and Page.User.Name, do not directly provide the user name.

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

Explanation

The AlternatingItemTemplate can be used to add an alternating color scheme in a Repeater control. This template allows you to define the layout and appearance of the alternating items in the Repeater control. By specifying different colors or styles for the alternating items, you can create a visually appealing and organized display for the repeated data. The other options, DataSource and ColorValidator, are not related to adding an alternating color scheme in a Repeater control.

Submit
19. WSDL stands for _________________ ?

Explanation

WSDL stands for Web Services Description Language. It is an XML-based language used to describe the functionalities of a web service. WSDL provides a standardized way for different applications to communicate with each other over a network. It defines the operations, messages, data types, and protocols used by the web service. By using WSDL, developers can easily understand and integrate the web service into their own applications.

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

Explanation

To bind columns manually within the asp:datagrid tags, one needs to set the AutoGenerateColumns Property to false on the datagrid tag. This will disable the automatic generation of columns and allow the user to manually define the columns for data binding.

Submit
21. Which of the following is used to send email message from my ASP.NET page?

Explanation

Both A) and B) are used to send email messages from an ASP.NET page. System.Web.Mail.MailMessage is used to create an email message and System.Web.Mail.SmtpMail is used to send the email message using the Simple Mail Transfer Protocol (SMTP). By using both A) and B), developers can create and send email messages from their ASP.NET pages.

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

Explanation

Windows Authentication in ASP.NET automatically determines role membership. This means that ASP.NET can determine the roles that a user belongs to without requiring any additional programming. This is a convenient feature as it allows developers to easily implement role-based authorization and access control in their applications without having to manually manage and assign roles to users.

Submit
23. In .NET the operation of reading metadata and using its contents is known as ______?

Explanation

Reflection in .NET refers to the ability of a program to examine and manipulate its own structure, properties, and behavior at runtime. It allows accessing and analyzing metadata, such as classes, methods, properties, and attributes, of an assembly. Reflection is commonly used for dynamically loading types, invoking methods, creating instances, and accessing and modifying properties at runtime. It provides a powerful mechanism for building flexible and extensible applications by enabling developers to perform operations based on the runtime information of their code.

Submit
24. In ASP.NET the sessions can be dumped by using

Explanation

The correct answer is Session.Abandon. In ASP.NET, the Session.Abandon method is used to abandon or end a user's session. When this method is called, the session state is reset and all session data is removed. This can be useful in scenarios where you want to clear out session data and start a new session for the user. The other options, Session.Dump and Session.Exit, are not valid methods in ASP.NET for dumping or ending sessions.

Submit
25. Which of the following allow writing formatted output?

Explanation

Both Response.Write() and Response.Output.Write() allow writing formatted output. The Response.Write() method writes a string directly to the output stream without any formatting. On the other hand, the Response.Output.Write() method allows for more control over the output by providing formatting options. Therefore, both options A) and B) are correct.

Submit
26. The actual work process of ASP.NET is taken care by _____________?

Explanation

The correct answer is aspnet_wp.exe. This is because aspnet_wp.exe is responsible for managing the worker process of ASP.NET applications. It handles the execution of ASP.NET code and manages resources such as memory and threads. inetinfo.exe is the Internet Information Services (IIS) process responsible for handling incoming HTTP requests, while aspnet_isapi.dll is an ISAPI extension that allows IIS to communicate with the ASP.NET runtime. Therefore, neither of these options is the correct answer.

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

Explanation

The correct answer is System.EnterpriseServices because this namespace in the Microsoft .NET framework is specifically designed to provide the functionality for implementing transaction processing. It includes classes and interfaces that allow developers to create and manage transactions, ensuring the consistency and reliability of data operations in a distributed environment. System.Security, System.Diagnostics, and System.Data are other namespaces in the .NET framework, but they do not specifically focus on transaction processing functionality.

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

Explanation

Both the GetTypes and GetType methods are used to obtain details about information types of an assembly. The GetTypes method returns an array of all the types defined in the assembly, while the GetType method is used to retrieve information about a specific type within the assembly. Therefore, both methods can be used to obtain information about the types present in an assembly.

Submit
29. ASP.NET provides increased performance by ____________________?

Explanation

ASP.NET provides increased performance by running compiled code. When an ASP.NET application is deployed, the source code is compiled into an intermediate language (IL) that can be executed by the Common Language Runtime (CLR). This compilation process improves performance because the code is pre-compiled and optimized, reducing the overhead of just-in-time (JIT) compilation that occurs with interpreted languages. By running compiled code, ASP.NET can execute faster, resulting in improved performance for the application.

Submit
30. Which of the following denote the property in every validation control?

Explanation

The correct answer is Both A) and B). In every validation control, the ControlToValidate property is used to specify the input control to validate, and the Text property is used to get or set the text displayed in the validation control. Both of these properties are important for the validation process and are present in every validation control.

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

Explanation

.NET Threading is not the correct answer because it is a technique that allows code to execute multiple threads within a single process, but it does not specifically enable function calls to .NET applications on other processes or machines. .NET RMT is not the correct answer because it is not a recognized term or technology in the .NET framework. None of the above is not the correct answer because there is a specific technique in .NET that allows function calls to .NET applications on other processes and machines, which is .NET Remoting.

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

Explanation

To modify a SOAP message in a SOAP extension, one must override the method ReceiveMessage. This method is responsible for receiving the SOAP message, allowing the extension to intercept and modify it before further processing. By overriding this method, the extension can access the SOAP message and make the necessary modifications according to the requirements.

Submit
33. Which of the following is FALSE?

Explanation

The statement "ASP.NET applications run without a Web Server" is false because ASP.NET applications require a web server to run. ASP.NET is a framework developed by Microsoft for building web applications and it relies on a web server to process the requests and serve the application to clients. ASP+ and ASP.NET do not refer to the same thing as ASP+ was an early codename for ASP.NET, which is a major upgrade over classic ASP. Therefore, the correct answer is "None of the Above".

Submit
34. Which of the following transfer execution directly to another page?

Explanation

Server.Transfer is the correct answer because it allows for transferring the execution directly to another page on the server without the client being aware of the transfer. This means that the URL in the browser's address bar does not change, and the client's request is processed by the new page. In contrast, Response.Redirect causes the client's browser to be redirected to a new URL, resulting in a new request being made to the server.

Submit
35. What is ASP+ ?

Explanation

ASP+ is the same as ASP.NET. The answer suggests that ASP+ and ASP.NET are essentially the same thing. It implies that ASP+ was just an early name used by Microsoft when they were developing ASP.NET.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 29, 2012
    Quiz Created by
    Roxyrox101208
Cancel
  • All
    All (35)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the extension of ASP.NET web pages files
The .NET Framework provides a runtime environment called..... ?
ASP stands for ____________ ?
Common type system is built into which of the following:
Which of the following must be done in order to connect data from some...
If one has two different web form controls in a application and if one...
How many classes can a single .NET DLL contain?
In ASP.NET the < authorization > section contain which of the...
Suppose a .NET programmer wants to convert an object into a stream of...
ASP.NET is a _________________________ ?
The type of code found in Code-Behind class is ________ ?
Which method do you invoke on the DataAdapter control to load your...
Find the term: The .NET framework which provides automatic memory...
In my .NET Framework I have threads. Which of the following denote the...
Which of the following denote ways to manage state in an ASP.Net...
What is the base class from which all Web forms inherit?
In ASP.NET in form page the object which contains the user name is...
Which of the following can be used to add alternating color scheme in...
WSDL stands for _________________ ?
What tags one need to add within the asp:datagrid tags to bind columns...
Which of the following is used to send email message from my ASP.NET...
Which of the following is TRUE about Windows Authentication in...
In .NET the operation of reading metadata and using its contents is...
In ASP.NET the sessions can be dumped by using
Which of the following allow writing formatted output?
The actual work process of ASP.NET is taken care by _____________?
The namespace within the Microsoft .NET framework which provides the...
Which of the following method is used to obtain details about...
ASP.NET provides increased performance by ____________________?
Which of the following denote the property in every validation...
The technique that allow code to make function calls to .NET...
Suppose one wants to modify a SOAP message in a SOAP extension then...
Which of the following is FALSE?
Which of the following transfer execution directly to another page?
What is ASP+ ?
Alert!

Advertisement