programming languages Online Quiz - 166

Description: programming languages Online Quiz - 166
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Can inner classes have static members?

  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

If a method is marked as protected internal who can access it?

  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

Which compiler switch creates an xml file from the xml comments in the files in an assembly?

  1. /text

  2. /doc

  3. /xml

  4. /help

Correct Option: B
  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

Which of the following operations can you NOT perform on an ADO.NET DataSet?

  1. A DataSet can be synchronised with the database.

  2. A DataSet can be synchronised with a RecordSet.

  3. A DataSet can be converted to XML.

  4. You can infer the schema from a DataSet.

Correct Option: B

In Object Oriented Programming, how would you describe encapsulation?

  1. The conversion of one type of object to another.

  2. The runtime resolution of method calls.

  3. The exposition of data.

  4. The separation of interface and implementation.

Correct Option: D

SAS is not platform independent.

  1. True

  2. False

Correct Option: A

The co-founder of SAS.

  1. David Stirling

  2. John Sall

  3. Lawrence Joseph

  4. Dennis Richie

Correct Option: B
  1. To output the statistical report.

  2. To create a new dataset

  3. To delete a dataset

  4. To read an external file

Correct Option: B,D


  3. MACRO


Correct Option: A
  1. 1-256 charcters

  2. 8 charcters

  3. 256 charcters

  4. 1-32 charcters

Correct Option: D
  1. Date variable

  2. Date , Character and Numeric varibale

  3. Date and Character variable

  4. Character and Numeric variable

Correct Option: D
- Hide questions