.NET Framework Questions and Answers

Practice Mode
Showing 10 of 20 questions
Q11
Which of the following assemblies can be stored in Global Assembly Cache?
  • A Private Assemblies
  • B Friend Assemblies
  • C Shared Assemblies
  • D Public Assemblies
Answer: Option C
Q12
Code that targets the Common Language Runtime is known as
  • A Unmanaged
  • B Distributed
  • C Legacy
  • D Managed Code
Answer: Option D
Q13
Which of the following statements is correct about the .NET Framework?
  • A .NET Framework uses DCOM for achieving language interoperability.
  • B .NET Framework is built on the DCOM technology.
  • C .NET Framework uses DCOM for making transition between managed and unmanaged code.
  • D .NET Framework uses DCOM for creating unmanaged applications.
Answer: Option C
Q14
 Which of the following is the root of the .NET type hierarchy?
  • A System.Object
  • B System.Type
  • C System.Base
  • D System.Parent
Answer: Option A
Q15
 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.
  • A Only 1 and 2
  • B Only 2, 3 and 4
  • C Only 1, 2 and 4
  • D Only 4
Answer: Option
Q16
Which of the following security features can .NET applications avail?     PIN Security     Code Access Security     Role Based Security     Authentication Security     Biorhythm Security
  • A 1, 4, 5
  • B 2, 5
  • C 2, 3
  • D 3, 4
Answer: Option C
Q17
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.
  • A Only 1 and 2
  • B Only 1, 3 and 4
  • C Only 2, 3 and 4
  • D All of the above
Answer: Option D
Q18
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.
  • A 1, 2, 3
  • B 2, 4, 5
  • C 1, 3, 5
  • D 1, 2
Answer: Option A
Q19
 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
  • A 1, 2, 3
  • B 2, 4
  • C 3, 4, 5
  • D 1, 2
Answer: Option A
Q20
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
  • A Only 1, 2, 3
  • B Only 1, 2
  • C Only 1, 2, 4
  • D Only 4, 5
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test