.NET Framework Questions and Answers

Take Exam

The .NET Framework - C# Programming questions with answers section is designed to help students and job seekers strengthen their core programming skills. This topic focuses on real-world programming questions and answers, including C# syntax, object-oriented concepts, and .NET components. Practicing these C# questions helps candidates prepare effectively for coding rounds in placement drives and technical interviews at top companies like TCS, Infosys, Wipro, and Capgemini. Whether you are looking for C programming MCQ, Java MCQ, or programming interview questions with answers, this section will help you enhance your confidence and coding accuracy for competitive exams and online assessments.

.NET Framework

Showing 10 of 20 questions

11. Which of the following assemblies can be stored in Global Assembly Cache?

  • Private Assemblies
  • Friend Assemblies
  • Shared Assemblies
  • Public Assemblies
Show Answer Report

12. Code that targets the Common Language Runtime is known as

  • Unmanaged
  • Distributed
  • Legacy
  • Managed Code
Show Answer Report

13. Which of the following statements is correct about the .NET Framework?

  • .NET Framework uses DCOM for achieving language interoperability.
  • .NET Framework is built on the DCOM technology.
  • .NET Framework uses DCOM for making transition between managed and unmanaged code.
  • .NET Framework uses DCOM for creating unmanaged applications.
Show Answer Report

14.  Which of the following is the root of the .NET type hierarchy?

  • System.Object
  • System.Type
  • System.Base
  • System.Parent
Show Answer Report

15.  Which of the following benefits do we get on running managed code under CLR?     Type safety of the code running under CLR is assured.     It is ensured that an application would not access the memory that it is not authorized to access.     It launches separate process for every application running under it.     The resources are Garbage collected.

  • Only 1 and 2
  • Only 2, 3 and 4
  • Only 1, 2 and 4
  • Only 4
Show Answer Report

16. Which of the following security features can .NET applications avail?     PIN Security     Code Access Security     Role Based Security     Authentication Security     Biorhythm Security

  • 1, 4, 5
  • 2, 5
  • 2, 3
  • 3, 4
Show Answer Report

17. Which of the following jobs are done by Common Language Runtime? It provides core services such as memory management, thread management, and remoting.     It enforces strict type safety.     It provides Code Access Security.     It provides Garbage Collection Services.

  • Only 1 and 2
  • Only 1, 3 and 4
  • Only 2, 3 and 4
  • All of the above
Show Answer Report

18. Which of the following statements are correct about a .NET Assembly?     It is the smallest deployable unit.     Each assembly has only one entry point - Main(), WinMain() or DLLMain().     An assembly can be a Shared assembly or a Private assembly.     An assembly can contain only code and data.     An assembly is always in the form of an EXE file.

  • 1, 2, 3
  • 2, 4, 5
  • 1, 3, 5
  • 1, 2
Show Answer Report

19.  Which of the following statements are correct about JIT?     JIT compiler compiles instructions into machine code at run time.     The code compiler by the JIT compiler runs under CLR.     The instructions compiled by JIT compilers are written in native code.     The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.     The method is JIT compiled even if it is not called

  • 1, 2, 3
  • 2, 4
  • 3, 4, 5
  • 1, 2
Show Answer Report

20. Which of the following are parts of the .NET Framework?     The Common Language Runtime (CLR)     The Framework Class Libraries (FCL)     Microsoft Published Web Services     Applications deployed on IIS     Mobile Applications

  • Only 1, 2, 3
  • Only 1, 2
  • Only 1, 2, 4
  • Only 4, 5
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test