DotNET

13 Questions | Attempts: 188
Share

SettingsSettingsSettings
DotNET Quizzes & Trivia

This quiz will contains the some basic and new features of Dotnet questions. The level of Dotnet tech quiz is meduim.


Questions and Answers
  • 1. 

    WCF Consists of

    • A.

      Web Services

    • B.

      Remoting

    • C.

      COM+

    • D.

      MSMQ

    • E.

      All of the above

    Correct Answer
    E. All of the above
  • 2. 

    Can we throw exception from catch block ?

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
  • 3. 

    Can we use Page.PreviousPage to get the value of controls of the previous page in case of response.Redirect ?

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
  • 4. 

    ADO.NET Data Services code name will be called as

    Correct Answer
    Astoria
    Explanation
    WCF Data Services is formerly known as ADO.NET Data Services and code name "Astoria"

    Rate this question:

  • 5. 

    How can we Filter rows in a Datatable ?

    • A.

      Datatable = datatable.CreateDataReader()

    • B.

      Datatable = datatable.select("Condition");

    • C.

      Datatable = datatable.Clone()

    • D.

      Datatable = datatable.Compute()

    Correct Answer
    B. Datatable = datatable.select("Condition");
  • 6. 

    Difference between cache and application object.

    • A.

      Application object stores an Object with a scope of availability of the entire Application unless explicitly destroyed.There as the lifetime of cache is throughout the lifetime of an application or is based upon timeouts

    • B.

      Application object stores an Object through the lifetime of an application.Where as There as the lifetime of cache object is with the scope of availability of the entire application

    • C.

      Application object stores an Object based on the expiry time .Where as There as the lifetime of cache object is with the scope of availability of the entire application

    Correct Answer
    A. Application object stores an Object with a scope of availability of the entire Application unless explicitly destroyed.There as the lifetime of cache is throughout the lifetime of an application or is based upon timeouts
  • 7. 

    How will you delete a Cookie?

    • A.

      Cookie.Discard

    • B.

      Cookie.Delete

    • C.

      By setting its Expires property

    • D.

      Both A & B

    Correct Answer
    C. By setting its Expires property
  • 8. 

    If the system has installed all the .NET framework versions of 1.1, 2, 3 and 3.5, then how many machine.config file(s) will be present in that system.

    • A.

      Only one

    • B.

      Two

    • C.

      Three

    • D.

      Four

    Correct Answer
    B. Two
  • 9. 

    The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is

    • A.

      Server.Transfer()

    • B.

      Server.Execute()

    • C.

      Response.Redirect()

    • D.

      Server.Return()

    Correct Answer
    B. Server.Execute()
  • 10. 

    What's New in Visual C# 2010?

    • A.

      Home Group, Type Equivalence Support, Covariance and Contravariance

    • B.

      Office Programmability, Type Equivalence Support, Covariance and Contravariance, Dynamic Support

    • C.

      Home Group, Dynamic Support

    • D.

      All the above

    • E.

      All are incorrect

    Correct Answer
    B. Office Programmability, Type Equivalence Support, Covariance and Contravariance, Dynamic Support
  • 11. 

    WCF Debug tool name called as

    • A.

      Reflector

    • B.

      WinDbg

    • C.

      Visualizer

    • D.

      Visual Log Parser

    • E.

      RealtimeTrace

    Correct Answer
    C. Visualizer
  • 12. 

    You are working on a debug build of an application. You need to find the line of code that caused an exception to be thrown. Which property of the Exception class should you use to achieve this goal?

    • A.

      Data

    • B.

      Message

    • C.

      Stack Trace

    • D.

      Source

    Correct Answer
    C. Stack Trace
  • 13. 

    Which dll is required/represent for WPF

    • A.

      PresentationFramework.dll

    • B.

      PresentationCore.dll

    • C.

      UIAutomationProvider.dll

    • D.

      None of the above

    Correct Answer
    A. PresentationFramework.dll

Quiz Review Timeline +

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

  • Current Version
  • Jan 16, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 21, 2010
    Quiz Created by
    Kumartv

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.