.Net Technical Quiz Prelims

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 569461_tcs
5
569461_tcs
Community Contributor
Quizzes Created: 2 | Total Attempts: 589
Questions: 8 | Attempts: 60

SettingsSettingsSettings
.Net Technical Quiz Prelims - Quiz


Questions and Answers
  • 1. 

    How do you automatically associate page events and methods in the ASP.NET page framework?   

    • A.

      AutoEventWireup attribute of the Page directive is set to true

    • B.

      AutoEventWireup attribute of the Page directive is set to False

    • C.

      It is not possible to set automatically page events and methods

    • D.

      None of the above

    Correct Answer
    A. AutoEventWireup attribute of the Page directive is set to true
    Explanation
    When the AutoEventWireup attribute of the Page directive is set to true, the ASP.NET page framework automatically associates page events and methods. This means that the framework will automatically wire up the event handlers for the events defined in the page's code-behind file without the need for explicit event handler registration in the markup. This simplifies the development process by reducing the amount of manual code that needs to be written.

    Rate this question:

  • 2. 

    A collection of property settings that allow you to define the look of pages and controls is known as?

    • A.

      Master Page

    • B.

      Theme

    • C.

      Customization

    • D.

      Style Sheet

    Correct Answer
    B. Theme
    Explanation
    A theme is a collection of property settings that allow you to define the look of pages and controls. It provides a consistent and unified design for a website by specifying colors, fonts, and other visual elements. With a theme, you can easily apply a predefined set of styles and customize the appearance of your website without having to modify individual pages or controls. This helps in maintaining a consistent and professional look across the entire website.

    Rate this question:

  • 3. 

    ASP.NET separates the HTML output from program logic using a feature named as? 

    • A.

      Exception

    • B.

      Code-behind

    • C.

      Code-front

    • D.

      None of the above

    Correct Answer
    B. Code-behind
    Explanation
    ASP.NET separates the HTML output from program logic using a feature named as code-behind. This feature allows developers to write the program logic in a separate file, called the code-behind file, while keeping the HTML markup separate in the front-end file. This separation of concerns helps in maintaining clean and organized code, making it easier to manage and modify the application.

    Rate this question:

  • 4. 

    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
    The correct answer is Page.User.Identity. In ASP.NET, the object that contains the user's name is accessed through the Page.User.Identity property. This property provides information about the user's identity, including their name, authentication type, and whether they are authenticated or not. The Page.User.IsInRole property is used to check if the user belongs to a specific role, and Page.User.Name does not exist in ASP.NET. Therefore, the correct object to access the user's name is Page.User.Identity.

    Rate this question:

  • 5. 

    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. WSDL is an XML-based language used to describe the functionalities of a web service. It provides a standardized way for different applications to communicate with each other over a network. With the help of WSDL, developers can define the operations, input/output parameters, and the structure of the messages exchanged between the client and the server. This allows for interoperability between different platforms and programming languages, making it easier to integrate and consume web services.

    Rate this question:

  • 6. 

    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. In the Code-Behind model, the code is separated into two parts - the user interface (UI) code in the front-end and the server-side code in the back-end. The server-side code is responsible for processing the logic, handling data, and interacting with the server, while the client-side code is responsible for the UI and user interactions. Therefore, the correct answer is server-side code.

    Rate this question:

  • 7. 

    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 the worker process responsible for handling ASP.NET requests and managing the execution of ASP.NET applications. It is responsible for processing incoming requests, managing application pools, and maintaining the state of the application. inetinfo.exe is the Internet Information Services (IIS) process that handles HTTP requests, while aspnet_isapi.dll is an ISAPI extension that allows IIS to pass ASP.NET requests to the ASP.NET worker process. Therefore, the correct answer is aspnet_wp.exe.

    Rate this question:

  • 8. 

    The GridView control in ASP.NET has which of the following features?

    • A.

      Automatic data binding

    • B.

      Automatic paging

    • C.

      Both A and B

    • D.

      None of the above

    Correct Answer
    C. Both A and B
    Explanation
    The GridView control in ASP.NET has both automatic data binding and automatic paging features. Automatic data binding allows the control to bind to a data source and display the data automatically. Automatic paging allows the control to divide the data into multiple pages and display them automatically, providing a convenient way to navigate through large amounts of data.

    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
  • Jun 09, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 20, 2012
    Quiz Created by
    569461_tcs
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.