Take as many assements as you can to improve your validate your skill rating
Total Questions: 30
1. Select protocol is used to call a web service
Correct Answer is : Http
2. What is MVC?
Correct Answer is : Framework
3. Select the data type which is NOT supported by range validator.
Correct Answer is : Character
4. .Net remote server object must implement
Correct Answer is : ISerializable
5. Which class does the remote object has to inherit?
Correct Answer is : System.MarshalByRefObject
6. What is the purpose of the Global Assembly Cache (GAC) in .NET?
Correct Answer is : The GAC is used to store assemblies that are shared by multiple applications to avoid duplication.
7. What is the purpose of the AppDomain in .NET?
Correct Answer is : AppDomain isolates applications for improved security and reliability by preventing conflicts between different applications.
8. Which of the following is true about Value Types and Reference Types in .NET?
Correct Answer is : Value Types are stored on the stack, while Reference Types are stored on the heap in .NET.
9. What is the purpose of the IDisposable interface in .NET?
Correct Answer is : IDisposable interface is used to release unmanaged resources in .NET to prevent memory leaks.
10. Which of the following is true about the Garbage Collector in .NET?
Correct Answer is : The Garbage Collector in .NET automatically manages memory by reclaiming unused objects to prevent memory leaks.
11. What is the purpose of the JIT compiler in .NET?
Correct Answer is : The JIT compiler in .NET converts Intermediate Language (IL) code into native machine code for execution.
12. What is the difference between boxing and unboxing in .NET?
Correct Answer is : Boxing is converting a value type to a reference type, while unboxing is the reverse process in .NET.
13. What is the purpose of the using statement in C#?
Correct Answer is : The using statement ensures that IDisposable objects are properly disposed after use in C# to prevent memory leaks.
14. Which of the following is true about Generics in .NET?
Correct Answer is : Generics in .NET allow for type-safe operations without specifying the data type, improving code reusability and performance.
15. What is the purpose of the ConfigurationManager class in .NET?
Correct Answer is : The ConfigurationManager class is used to read configuration settings from the application configuration file in .NET.
16. Which of the following is NOT a valid access modifier in C#?
Correct Answer is : Private Internal is not a valid access modifier in C#.
17. What is the purpose of the 'using' keyword in C#?
Correct Answer is : The 'using' keyword is used to include a namespace in the current scope.
18. What is the difference between 'ref' and 'out' parameters in C#?
Correct Answer is : 'ref' parameters must be initialized before passing to a method, while 'out' parameters do not.
19. Which of the following is true about delegates in C#?
Correct Answer is : Delegates can point to both static and instance methods in C#.
20. What is the purpose of the 'volatile' keyword in C#?
Correct Answer is : The 'volatile' keyword in C# is used to indicate that a field might be modified by multiple threads that are executing at the same time.
21. What is the purpose of the 'async' and 'await' keywords in C#?
Correct Answer is : The 'async' and 'await' keywords in C# are used to define asynchronous methods and await their completion.
22. What is the purpose of the 'using' statement in C# when dealing with IDisposable objects?
Correct Answer is : The 'using' statement in C# ensures that the object is disposed of properly after use.
23. What is the purpose of the 'yield' keyword in C#?
Correct Answer is : The 'yield' keyword in C# is used to return an iterator that uses lazy evaluation.
24. In .NET, what is the purpose of the 'using' statement in C#?
Correct Answer is : The 'using' statement is used to ensure that IDisposable objects are properly disposed of after use.
25. What is a delegate in .NET?
Correct Answer is : A delegate in .NET represents references to methods with a specific parameter list and return type.
26. What is the difference between an abstract class and an interface in .NET?
Correct Answer is : An abstract class can have implementation details, while an interface cannot in .NET.
27. What is the role of the Common Language Runtime (CLR) in the .NET framework?
Correct Answer is : The Common Language Runtime (CLR) provides a runtime environment for executing .NET applications.
28. What is the purpose of the AppDomain class in .NET?
Correct Answer is : The AppDomain class in .NET is used to provide a sandbox for executing untrusted code.
29. What is the purpose of the 'using' keyword in C# and how does it relate to memory management?
Correct Answer is : The 'using' keyword ensures that resources are properly disposed of after use, preventing memory leaks.
30. What is the purpose of the 'Task' class in .NET?
Correct Answer is : The 'Task' class in .NET represents a single operation that does not return a value, used for asynchronous programming.
Similar Interview Questions
Search for latest jobs
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!