C# Exam October #1

10 Questions | Total Attempts: 155

SettingsSettingsSettings
Please wait...
C Sharp Quizzes & Trivia

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented, and component-oriented programming disciplines. Are you looking for practice questions and answers for the Microsoft Programming in the C# exam? Give the test below a try and see how prepared you are. All the best as you tackle it!


Questions and Answers
  • 1. 
    Which of the CLR component allows .net application exchange data with COM application?
    • A. 

      Base class library

    • B. 

      COM marshaller

    • C. 

      Class loader

    • D. 

      Thread support

  • 2. 
    • A. 

      It manages the reclamation of unused memory

    • B. 

      It deals with circular references

    • C. 

      You can be certain when an object will be reclaimed by garbage collector

    • D. 

      It disposes unreferenced objects

  • 3. 
    Which of the following does the actual .Net code execute?
    • A. 

      CLS

    • B. 

      MSIL

    • C. 

      CTS

    • D. 

      CLR

  • 4. 
    Which of the CLR component allows converting MSIL into operating system native code?
    • A. 

      Native compiler

    • B. 

      JIT compiler

    • C. 

      Runtime compiler

    • D. 

      None of above

  • 5. 
    When does garbage collector run?
    • A. 

      Every one minute

    • B. 

      When application is running low of memory

    • C. 

      It runs randomly

    • D. 

      When application closed

  • 6. 
    Which of the following statement is not correct?
    • A. 

      CLR is an execution engine of .NET

    • B. 

      Assembly is a logical unit of deployment

    • C. 

      CLR executes manage code

    • D. 

      .Net provides cross language interoperability using code access security

  • 7. 
    Limitation of XML serialization
    • A. 

      It doesn’t serialize type information

    • B. 

      It can't serialize DataSet objects

    • C. 

      It can’t serialize XMLNode object

    • D. 

      All of the above

  • 8. 
    What are the configuration files used by the .NET Framework?
    • A. 

      Machine configuration, Machine.config file

    • B. 

      Application configuration file

    • C. 

      Security configuration file

    • D. 

      All of the above

  • 9. 
    Which of the following is the tool to modify configuration files?
    • A. 

      Mscorcfg.msc

    • B. 

      Caspol.exe

    • C. 

      IIASM.exe

    • D. 

      A and b

  • 10. 
    What are the facilities is not provide by CLR?
    • A. 

      Memory management

    • B. 

      Thread management

    • C. 

      Exception handling

    • D. 

      Compiler management