1. Question:When garbage collection will be performed? 

    Answer
    (a)When a threshold is exceeded.
    (b)When a user specifically calls the garbage collector.
    (c)When a low system memory condition occurs.

    1. Report
  2. Question:What is safe Critical code? 

    Answer
    Safe critical code acts as a middle man/gatekeeper between transparent and critical code verifying each result.

    1. Report
  3. Question:What is the benefit of using NGens? 

    Answer
    NGen (Native Image Generator) creates processor optimized machine code (images) of our application that is cached.

    1. Report
  4. Question:What are Memory Mapping Files? 

    Answer
    Memory mapping files maps the contents of a file into memory, allowing us to work with a very efficient manner.

    1. Report
  5. Question:What is the use of Sortedset<T>? 

    Answer
    SortedSet  mainftains the order of items as they are added. If a duplicate item is added to a sorted set, it will be ignored and a value of false is returned from the SortedSet's Add () method.

    1. Report
  6. Question:What loops are used when parallelize your application? 

    Answer
    Two loops parallel. For () and Parallel. ForEach () are used at the time of parallelized our application.

    1. Report
  7. Question:What are the functions Task wait () and Task wait all () methods? 

    Answer
    Task. Wait () and Task. WaitAll () methods allow us to pause the flow of execution until the tasks have completed their work.

    1. Report
  8. Question:What is PLINQ? 

    Answer
    PLINQ is the parallelized version of LINQ to objects and supports all existing LINQ operators and functionality with a few new options for fine-grained control of parallelization functionality.

    1. Report
  9. Question:What is the function of Barrier class? 

    Answer
    The Barrier class allows us to synchronize threads at a specific point.

    1. Report
  10. Question:When will you use SpinLock? 

    Answer
    SpinLock forces program to loop until it can obtain and lock access to particular resource.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd