Tuesday, April 01, 2008

.NET Interview questions and Answers: 3

Threading

  1. What is Multi-tasking ?
  2. What is Multi-threading ?
  3. What is a Thread ?
  4. Did VB6 support multi-threading ?
  5. Can we have multiple threads in one App domain ?
  6. Which namespace has threading ?
  7. Can you explain in brief how can we implement threading ?
  8. How can we change priority and what the levels of priority are provided by .NET ?
  9. What does Addressof operator do in background ?
  10. How can you reference current thread of the method ?
  11. What's Thread.Sleep() in threading ?
  12. How can we make a thread sleep for infinite period ?
  13. What is Suspend and Resume in Threading ?
  14. What the way to stop a long running thread ?
  15. How do i debug thread ?
  16. What's Thread.Join() in threading ?
  17. What are Daemon thread's and how can a thread be created as Daemon?
  18. When working with shared data in threading how do you implement synchronization ?
  19. Can we use events with threading ?
  20. How can we know a state of a thread?
  21. What is a monitor object?
  22. What are wait handles ?
  23. Twist :- What is a mutex object ?
  24. what is ManualResetEvent and AutoResetEvent ?
  25. What is ReaderWriter Locks ?
  26. How can you avoid deadlock in threading ?
  27. What’s difference between thread and process?

No comments: