Microsoft Asp Net Exam

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Roxyrox101208
R
Roxyrox101208
Community Contributor
Quizzes Created: 1 | Total Attempts: 399
Questions: 35 | Attempts: 399

SettingsSettingsSettings
Visual Basic Quizzes & Trivia

.


Questions and Answers
  • 1. 

    The .NET Framework provides a runtime environment called..... ?

    • A.

      RMT

    • B.

      CLR

    • C.

      RCT

    • D.

      RC

    Correct Answer
    B. CLR
    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.

    Rate this question:

  • 2. 

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

    • A.

      Page.User.Identity

    • B.

      Page.User.IsInRole

    • C.

      Page.User.Name

    • D.

      None of the Above

    Correct Answer
    A. Page.User.Identity
    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.

    Rate this question:

  • 3. 

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

    • A.

      Serialization

    • B.

      Garbage Collection

    • C.

      Assemblies

    • D.

      Overriding

    Correct Answer
    B. Garbage Collection
    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.

    Rate this question:

  • 4. 

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

    • A.

      Session objects

    • B.

      Application objects

    • C.

      ViewState

    • D.

      All the Above

    Correct Answer
    D. All the Above
    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.

    Rate this question:

  • 5. 

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

    • A.

      Master Page

    • B.

      Page Class

    • C.

      Session Class

    • D.

      None of the Above

    Correct Answer
    B. Page Class
    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.

    Rate this question:

  • 6. 

    WSDL stands for _________________ ?

    • A.

      Web Server Description Language

    • B.

      Web Server Descriptor Language

    • C.

      Web Services Description Language

    • D.

      Web Services Descriptor Language

    Correct Answer
    C. Web Services Description Language
    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.

    Rate this question:

  • 7. 

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

    • A.

      Set the DataSource property

    • B.

      Call the DataBind method

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    C. Both A) and B)
    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.

    Rate this question:

  • 8. 

    Which of the following is FALSE?

    • A.

      ASP.NET applications run without a Web Server

    • B.

      ASP+ and ASP.NET refer to the same thing

    • C.

      ASP.NET is a major upgrade over ASP

    • D.

      None of the Above

    Correct Answer
    D. None of the Above
    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".

    Rate this question:

  • 9. 

    Which of the following transfer execution directly to another page?

    • A.

      Server.Transfer

    • B.

      Response.Redirect

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    A. Server.Transfer
    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.

    Rate this question:

  • 10. 

    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?

    • A.

      DataList

    • B.

      GridView

    • C.

      CompareValidator

    • D.

      Listview

    Correct Answer
    C. CompareValidator
    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.

    Rate this question:

  • 11. 

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

    • A.

      System.Web.Mail.MailMessage

    • B.

      System.Web.Mail.SmtpMail

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    C. Both A) and B)
    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.

    Rate this question:

  • 12. 

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

    • A.

      Normal

    • B.

      AboveNormal

    • C.

      Highest

    • D.

      All the Above

    Correct Answer
    D. All the Above
    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.

    Rate this question:

  • 13. 

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

    • A.

      Reflection

    • B.

      Enumeration

    • C.

      Binding

    • D.

      Serialization

    Correct Answer
    A. Reflection
    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.

    Rate this question:

  • 14. 

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

    • A.

      < deny >

    • B.

      < allow >

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    C. Both A) and B)
    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.

    Rate this question:

  • 15. 

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

    • A.

      Server-side code

    • B.

      Client-side code

    • C.

      Both A) and B)

    • D.

      None of the above

    Correct Answer
    A. Server-side code
    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.

    Rate this question:

  • 16. 

    Common type system is built into which of the following:

    • A.

      CLR

    • B.

      RCT

    • C.

      RCW

    • D.

      GAC

    Correct Answer
    A. CLR
    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.

    Rate this question:

  • 17. 

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

    • A.

      Inetinfo.exe

    • B.

      Aspnet_isapi.dll

    • C.

      Aspnet_wp.exe

    • D.

      None of the Above

    Correct Answer
    C. Aspnet_wp.exe
    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.

    Rate this question:

  • 18. 

    Which of the following allow writing formatted output?

    • A.

      Response.Write()

    • B.

      Response.Output.Write()

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    B. Response.Output.Write()
    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.

    Rate this question:

  • 19. 

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

    • A.

      ControlToValidate property

    • B.

      Text property

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    C. Both A) and B)
    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.

    Rate this question:

  • 20. 

    How many classes can a single .NET DLL contain?

    • A.

      One

    • B.

      Two

    • C.

      None

    • D.

      Many

    Correct Answer
    D. Many
    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."

    Rate this question:

  • 21. 

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

    • A.

      One must override the method ReceiveMessage

    • B.

      One must override the method InitializeMethod

    • C.

      Both A) and B)

    • D.

      One must override the method ProcessMessage

    Correct Answer
    A. One must override the method ReceiveMessage
    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.

    Rate this question:

  • 22. 

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

    • A.

      AlternatingItemTemplate

    • B.

      DataSource

    • C.

      ColorValidator

    • D.

      None of the Above

    Correct Answer
    A. AlternatingItemTemplate
    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.

    Rate this question:

  • 23. 

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

    • A.

      Serialization

    • B.

      Threading

    • C.

      RCW

    • D.

      AppDomain

    Correct Answer
    A. Serialization
    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.

    Rate this question:

  • 24. 

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

    • A.

      .NET Threading

    • B.

      .NET Remoting

    • C.

      .NET RMT

    • D.

      None of the above

    Correct Answer
    A. .NET Threading
    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.

    Rate this question:

  • 25. 

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

    • A.

      System.EnterpriseServices

    • B.

      System.Security

    • C.

      System.Diagnostics

    • D.

      System.Data

    Correct Answer
    A. System.EnterpriseServices
    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.

    Rate this question:

  • 26. 

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

    • A.

      GetTypes

    • B.

      GetType

    • C.

      Both A) and B)

    • D.

      None of the Above

    Correct Answer
    C. Both A) and B)
    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.

    Rate this question:

  • 27. 

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

    • A.

      Automatically determines role membership

    • B.

      Role membership determined only by user programming

    • C.

      ASP.NET does not support Windows Authentication

    • D.

      None of the Above

    Correct Answer
    A. Automatically determines role membership
    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.

    Rate this question:

  • 28. 

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

    • A.

      Set AutoGenerateColumns Property to false on the datagrid tag

    • B.

      Set AutoGenerateColumns Property to true on the datagrid tag

    • C.

      It is not possible to do the operation

    • D.

      Set AutomaunalColumns Property to true on the datagrid tag

    Correct Answer
    A. Set AutoGenerateColumns Property to false on the datagrid tag
    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.

    Rate this question:

  • 29. 

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

    • A.

      Load ( )

    • B.

      Fill( )

    • C.

      DataList

    • D.

      DataBind

    Correct Answer
    B. Fill( )
    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.

    Rate this question:

  • 30. 

    In ASP.NET the sessions can be dumped by using

    • A.

      Session.Dump

    • B.

      Session.Abandon

    • C.

      Session.Exit

    • D.

      None of the Above

    Correct Answer
    B. Session.Abandon
    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.

    Rate this question:

  • 31. 

    ASP.NET is a _________________________ ?

    • A.

      Server Side Scripting Technology

    • B.

      Client Side Scripting Technology

    • C.

      Programming Language

    • D.

      Database Programming Language same as SQL.

    Correct Answer
    A. Server Side Scripting Technology
    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.

    Rate this question:

  • 32. 

    What is ASP+ ?

    • A.

      ASP+ is the same as ASP.NET.

    • B.

      ASP+ is the Next version of ASP.NET

    • C.

      ASP+ is just an early name used by Microsoft when they developed ASP.NET.

    • D.

      ASP+ is a programming Language Specially developed for ASP.NET

    • E.

      ASP+ is the new Web Server by Microsoft after IIS.

    Correct Answer(s)
    A. ASP+ is the same as ASP.NET.
    C. ASP+ is just an early name used by Microsoft when they developed ASP.NET.
    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.

    Rate this question:

  • 33. 

    ASP stands for ____________ ?

    • A.

      Active Side Pages

    • B.

      Active Script Pages

    • C.

      Active Server Page

    • D.

      Active Script Program

    Correct Answer
    C. Active Server Page
    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.

    Rate this question:

  • 34. 

    ASP.NET provides increased performance by ____________________?

    • A.

      Supporting active variables.

    • B.

      Running CLR.

    • C.

      Running compiled code.

    • D.

      Using IIS Server

    Correct Answer
    C. Running compiled code.
    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.

    Rate this question:

  • 35. 

    What is the extension of ASP.NET web pages files

    • A.

      .ashx

    • B.

      .aspx

    • C.

      .asp

    • D.

      .ascx

    Correct Answer
    B. .aspx
    Explanation
    The extension of ASP.NET web pages files is .aspx.

    Rate this question:

Quiz Review Timeline +

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
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.