.Net Framework Aptitude Questions and Answers

This section contains Aptitude Questions and Answers on .Net Framework.

1) There are the following options are given below, what are parts of the .NET Framework?
  1. FCL (Framework Class Library)
  2. Web Services published by Microsoft
  3. CLR (Common Language Runtime)
  4. Web Applications
  5. Mobile Applications

Options:

  1. D, E
  2. A, C
  3. All
  4. None

2) There are the following statements are given below, which statements are the correct regarding JIT.
  1. The source code which is compiled by the JIT compiler that is executed under CLR.
  2. JIT stands for Just In Time.
  3. JIT compiler converts source code into machine code at run time.
  4. Instructions which are compiled by Just In Time compilers are written in native code.
  5. Instructions which are compiled by Just In Time compilers are written in MSIL code.
  1. A only
  2. B only
  3. A, B, C, D
  4. All

3) There are the following statements are given below, which statements are correct regarding the .NET framework?
  1. It provides a platform to develop web applications, windows applications, and mobile applications.
  2. It provides a platform for developing, building, executing only mobile applications.
  3. It provides a platform for developing, building, executing only web applications.
  4. It provides a language-independent platform.

Options:

  1. A only
  2. B only
  3. B, C
  4. A, C

4) There are the following statements are given below, which statements are the correct regarding CLR.
  1. CLR stands for Common Language Runtime.
  2. It provides automatic garbage collection.
  3. CLR provides services to execute managed applications.
  4. CLR provides services to execute unmanaged applications.
  5. CLR provides a Language-Independent environment.

Options:

  1. A only
  2. A, B, C, E
  3. None of these
  4. D Only

5) There are the following statements are given below, which statements are NOT correct regarding CLR.
  1. CLR stands for Common Language Runtime.
  2. It provides automatic garbage collection.
  3. CLR provides services to execute managed applications.
  4. CLR provides services to execute unmanaged applications.
  5. CLR provides a Language-Independent environment.

Options

  1. A only
  2. A, B, C, E
  3. None of these
  4. D Only

6) Which statements are correct regarding managed code?
  1. Manage Code is a special code that is written to target the service of Common Language Runtime.
  2. Manage code is compiled by Just In Time compiler.
  3. Manage code that is executed at the top of the Windows Operating System.
  4. Manage code that is executed on the top of the Linux Operating System.

Options

  1. A
  2. B
  3. C
  4. D

7) There are the following security features are given below, which of them are available in .NET applications?
  1. Role based security
  2. PIN security
  3. Authentication Security
  4. Code Access Security
  5. Biorhythm Security

Options

  1. A, C
  2. B, E
  3. D Only
  4. B, D

8) There are the following statements are given below, which statements are correct regarding .NET assembly?
  1. .Net assembly is in the form of a DLL file.
  2. .Net assembly contains classes that contain reusable methods.
  3. .Net assembly is the smallest deployable unit.
  4. .Net assembly is the smallest deployable unit.
  5. .Net assembly can have only one entry point.

Options

  1. A Only
  2. A, B
  3. A, B, C, D
  4. All

9) There are the following statements are given below, which statements are correct regarding .NET Framework?
  1. .Net Framework provides an Object-Oriented programming environment.
  2. .Net Framework provides a Language-Independent environment.
  3. .Net Framework provides an Event-Driven programming environment.
  4. .Net Framework provides a different programming environment for window and web-based applications.

Options

  1. A Only
  2. A, B
  3. A, B, C
  4. All

10) There are the following statements are given below, which statements are NOT correct regarding .NET Framework?
  1. .Net Framework provides an Object-Oriented programming environment.
  2. .Net Framework provides a Language-Independent environment.
  3. .Net Framework provides an Event-Driven programming environment for device driver development.
  4. .Net Framework provides different programming environments for window and web-based applications.

Options

  1. A Only
  2. A, B
  3. C, D
  4. All

11) There are the following Jobs given below, which of them are done by Common Language Runtime?
  1. CLR provides garbage collection.
  2. CLR enforces type safety strictly.
  3. CLR provides memory and thread management.
  4. CLR provides Code Access Security.

Options

  1. A, B
  2. C, D
  3. All (A, B, C, D)
  4. None of these

12) There are the following assemblies given below, which of them can be stored in GAC (Global Assembly Cache)?
  1. Public Assembly
  2. Private Assembly
  3. Protected Assembly
  4. Shared Assembly
  5. Friend Assembly

Options

  1. A
  2. B
  3. C
  4. D
  5. E

13) There are the following options given below, which of them are component of .NET Framework?
  1. FCL (Framework Class Library)
  2. CLR (Common Language Runtime)
  3. ASP.NET web application
  4. Windows Application and Windows Services
  5. Console Application

Options

  1. A
  2. B
  3. A, B
  4. All
  5. None of these

14) There are the following Jobs given below, which of them are NOT performed by Garbage Collector?
  1. Release memory occupied in STACK.
  2. Release memory occupied by non-referenced objects.
  3. Close opened file.
  4. Prevent from memory leaks.

Options

  1. A, B
  2. B, C
  3. A, C
  4. B, C
  5. B, D

15) There are the following names of the code given below, which code that targets CLR is?
  1. Native Code
  2. Unmanaged Code
  3. Managed Code
  4. Distributed Code

Options

  1. A
  2. B
  3. C
  4. D

16) There are the following .NET Components given below, which component is used remove un-used references from the managed heap?
  1. Common Language Runtime
  2. Common Type System
  3. Common Language Infrastructure
  4. Garbage Collector

Options

  1. A
  2. B
  3. C
  4. D

17) There are the following options given below, which is the root of type hierarchy in .NET Framework?
  1. System.Object
  2. System.Root
  3. System.Base
  4. System.Top

Options

  1. A
  2. B
  3. C
  4. D

18) There are the following options given below, which of them are valid JIT performance counters?
  1. Average memory used in JIT compilation.
  2. Number of methods which are failed to compile with Just In Time Compiler
  3. Total memory used for JIT compilation
  4. Percentage of processor time spent during JIT compilation

Options

  1. Only A
  2. A, C
  3. Only B
  4. B, D

19) There are the following options given below, which of them are used to provide a set of classes that are used by any .NET programming language?
  1. CLR
  2. CTS
  3. COM
  4. .NET class libraries.

Options

  1. A
  2. B
  3. C
  4. D

20) There are the following utilities given below, which of them are used to compile managed assemblies to processor-specific native code?
  1. ngen
  2. ildasm
  3. gacutil
  4. sn
  5. dumpbin

Options

  1. A
  2. B
  3. C
  4. D, E

21) There are the following method names given below, which method is used to trigger the garbage collector?
  1. GarbageCollect()
  2. Collect()
  3. Garbage()
  4. FreeMem()

Options

  1. A
  2. B
  3. C
  4. D

22) There are the following options given below, which types are supported by Common Type System?
  1. Value Types
  2. Reference Types
  3. None of the above
  4. Both Value and Reference Types

Options

  1. A
  2. B
  3. C
  4. D

23) There are the following statements given below, which statements are correct about unmanaged resources?
  1. Unmanaged resources are always released by garbage collection automatically.
  2. Unmanaged resources are outside the scope of Common Language Runtime.
  3. Unmanaged resources are cleaned up by the programmer explicitly.
  4. Unmanaged resources are not outside the scope of Common Language Runtime.

Options

  1. A and D
  2. B
  3. C
  4. B and C

24) There are the following statements given below, which statements are correct about side by side execution?
  1. Side by Side execution provides abilities to execute and store different versions of the same application on the same PC.
  2. It provides control over versioning of the application.
  3. We can use multiple versions of .NET runtime can execute side by side.

Options

  1. A
  2. B
  3. A, B, C
  4. None of these

25) There are the following statements given below, which statements are correct about Metadata?
  1. Metadata stored in PE assembly.
  2. Metadata is data about data.
  3. Metadata stores name, visibility, member methods, member fields, and properties, etc.
  4. Metadata is created by the application programmer.

Options

  1. A
  2. B
  3. A and C
  4. A, B, and C






Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.