Test Your Asp.Net Knowledge.

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 Textronics
T
Textronics
Community Contributor
Quizzes Created: 1 | Total Attempts: 582
Questions: 5 | Attempts: 582

SettingsSettingsSettings
Programming Quizzes & Trivia

Test your knowledge on ASP. NET. Answer 25 questions in 5 mins. Pass mark is 70.


Questions and Answers
  • 1. 

    What does ASP stand for?

    • A.

      All Standard Pages

    • B.

      Active Server Pages

    • C.

      A Server Page

    • D.

      Active Standard Pages

    Correct Answer
    B. Active Server Pages
    Explanation
    ASP stands for Active Server Pages. Active Server Pages is a technology developed by Microsoft that allows the creation of dynamic and interactive web pages. It is a server-side scripting language that enables the execution of scripts on the server before the web page is sent to the user's browser. This allows for the generation of dynamic content and the integration of databases and other server-side functionality into web pages.

    Rate this question:

  • 2. 

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

    • A.

      C++

    • B.

      C-sharp

    • C.

      VB

    • D.

      Both b) and c) above

    Correct Answer
    D. Both b) and c) above
    Explanation
    Both C-sharp and VB can be used to write server-side scripting in ASP.NET. ASP.NET is a web development framework that supports multiple programming languages. C-sharp and VB are two of the languages that are commonly used for server-side scripting in ASP.NET. These languages provide the necessary tools and libraries to interact with the server, handle requests, and process data on the server side. Therefore, the correct answer is "Both b) and c) above."

    Rate this question:

  • 3. 

    How does ASP.Net differ from classic ASP?

    • A.

      Scripting is separated from the HTML, Code is interpreted separately

    • B.

      Code is separated from the HTML and interpreted Code is interpreted separately

    • C.

      Code is separated from the HTML, Scripting is interpreted separately

    • D.

      Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server

    Correct Answer
    D. Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server
    Explanation
    ASP.Net differs from classic ASP in that scripting is separated from the HTML, and the code is compiled as a DLL. This means that the code is not interpreted separately, but rather compiled into a DLL (Dynamic Link Library) that can be executed on the server. This separation of scripting and code compilation allows for better performance and scalability in ASP.Net applications.

    Rate this question:

  • 4. 

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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    In a system, there can be multiple machine.config files. This is because the machine.config file is a configuration file used by the .NET Framework to define settings that apply to the entire machine or system. Different applications or components may require their own specific configuration settings, so having multiple machine.config files allows for customization and flexibility in managing these settings.

    Rate this question:

  • 5. 

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

    • A.

      System.Web.Mail.MailMessage

    • B.

      System.Web.Mail.SmtpMail

    • C.

      Both a) and b) above

    • D.

      None of the above

    Correct Answer
    C. Both a) and b) above
    Explanation
    Both System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail are used to send an email message from an ASP.NET page. System.Web.Mail.MailMessage is used to create and format the email message, while System.Web.Mail.SmtpMail is used to send the email using the Simple Mail Transfer Protocol (SMTP). Therefore, both options a) and b) are correct.

    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 16, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 24, 2010
    Quiz Created by
    Textronics
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.