Tag: programming languages

Questions Related to programming languages

  1. Yes

  2. No

  3. In specific conditions

  4. Not sure


Correct Option: B
  1. Yes

  2. No

  3. In specific conditions

  4. Not sure


Correct Option: B
  1. int[,] testArray;

  2. int[][] testArray;

  3. int[2] testArray;

  4. System.Array[2] testArray;


Correct Option: A
  1. Classes that are both in the same assembly and derived from the declaring class.

  2. Only methods that are in the same class as the method in question.

  3. Internal methods can be only be called using reflection.

  4. Classes within the same assembly, and classes derived from the declaring class.


Correct Option: D
  1. Encapsulating an object in a value type.

  2. Encapsulating a copy of an object in a value type.

  3. Encapsulating a value type in an object.

  4. Encapsulating a copy of a value type in an object.


Correct Option: D
  1. A peripheral assembly designed to monitor permissions requests from an application.

  2. Any DLL file used by an EXE file.

  3. An assembly containing localized resources for another assembly.

  4. An assembly designed to alter the appearance of an application.


Correct Option: C
  1. A strongly typed function pointer.

  2. A light weight thread or process that can call a single method.

  3. A reference to an object in a different process.

  4. An inter-process message channel.


Correct Option: A
  1. The runtime checks to see that only one version of an assembly is on the machine at any one time.

  2. .NET allows assemblies to specify the name AND the version of any assemblies they need to run.

  3. The compiler offers compile time checking for backward compatibility.

  4. It doesn't


Correct Option: B