πŸ“Š DotNet Technology
Q. A variable which is declared inside a method is called?
  • (A) Serial
  • (B) Local
  • (C) Private
  • (D) Static
πŸ’¬ Discuss
βœ… Correct Answer: (B) Local
πŸ“Š DotNet Technology
Q. Feature of a local variable?
  • (A) It can be used anywhere in the program
  • (B) It must accept a class
  • (C) It must be declared within a metho
  • (D) D It represent a class object
πŸ’¬ Discuss
βœ… Correct Answer: (C) It must be declared within a metho
πŸ“Š DotNet Technology
Q. Two methods with the same name but with different parameters?
  • (A) Overloading
  • (B) Loading
  • (C) Multiplexing
  • (D) Duplexing
πŸ’¬ Discuss
βœ… Correct Answer: (A) Overloading
πŸ“Š DotNet Technology
Q. What is the output of the code public class B: A { }?
  • (A) Errors
  • (B) It defines a class that inherits the public methods of A only
  • (C) It defines a class that inherits all the methods of A but the private members cannot be accesse
  • (D) D Both b and c
πŸ’¬ Discuss
βœ… Correct Answer: (C) It defines a class that inherits all the methods of A but the private members cannot be accesse
πŸ“Š DotNet Technology
Q. Which of the following statements is correct about Managed Code?
  • (A) Managed code is the code that is compiled by the JIT compilers.
  • (B) Managed code is the code where resources are Garbage Collected.
  • (C) Managed code is the code that runs on top of Windows.
  • (D) Managed code is the code that is written to target the services of the CLR.
πŸ’¬ Discuss
βœ… Correct Answer: (D) Managed code is the code that is written to target the services of the CLR.
πŸ“Š DotNet Technology
Q. Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?
  • (A) .NET class libraries
  • (B) Common Language Runtime
  • (C) Common Language Infrastructure
  • (D) Common Type System
πŸ’¬ Discuss
βœ… Correct Answer: (A) .NET class libraries
πŸ“Š DotNet Technology
Q. Which of the following .NET components can be used to remove unused references from the managed heap?
  • (A) Common Language Infrastructure
  • (B) CLR
  • (C) Garbage Collector
  • (D) CTS
πŸ’¬ Discuss
βœ… Correct Answer: (C) Garbage Collector
πŸ“Š DotNet Technology
Q. Which of the following assemblies can be stored in Global Assembly Cache?
  • (A) Private Assemblies
  • (B) Public Assemblies
  • (C) Shared Assemblies
  • (D) Protected Assemblies
πŸ’¬ Discuss
βœ… Correct Answer: (C) Shared Assemblies
πŸ“Š DotNet Technology
Q. Code that targets the Common Language Runtime is known as
  • (A) Unmanaged
  • (B) Distributed
  • (C) Native Code
  • (D) Managed Code
πŸ’¬ Discuss
βœ… Correct Answer: (D) Managed Code
πŸ“Š DotNet Technology
Q. Which of the following is the root of the .NET type hierarchy?
  • (A) System.Object
  • (B) System.Type
  • (C) System.Base
  • (D) System.Root
πŸ’¬ Discuss
βœ… Correct Answer: (A) System.Object

Jump to