0
Alien head

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

Which one is not an Automatic variable in SAS ?

  1. ERROR

  2. N

  3. FORMAT

  4. IORC


Correct Option: C

How many types of variables does SAS recognize?

  1. Date variable

  2. Date , Character and Numeric varibale

  3. Date and Character variable

  4. Character and Numeric variable


Correct Option: D

Lenght of character variables can be

  1. 1-256 charcters

  2. 8 charcters

  3. 256 charcters

  4. 1-32 charcters


Correct Option: D

SAS DATASETS can be TEMPORARY and as well as PERMANENT.

  1. True

  2. False


Correct Option: A

PROC CONTENTS is a :-

  1. PROC STEP

  2. DATA STEP

  3. MACRO

  4. FUNCTION


Correct Option: A

DATA Step is used for :-

  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

The co-founder of SAS.

  1. David Stirling

  2. John Sall

  3. Lawrence Joseph

  4. Dennis Richie


Correct Option: B

SAS is not platform independent.

  1. True

  2. False


Correct Option: A

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

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 the NUnit test framework, which attribute must adorn a test class in order for it to be picked up by the NUnit GUI?

  1. TestAttribute

  2. TestClassAttribute

  3. TestFixtureAttribute

  4. NUnitTestClassAttribute


Correct Option: C

How does assembly versioning in .NET prevent DLL Hell?

  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

What is a delegate?

  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

What is a satellite Assembly?

  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

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

What is boxing?

  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

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

Which of these statements correctly declares a two-dimensional array in C#?

  1. int[,] testArray;

  2. int[][] testArray;

  3. int[2] testArray;

  4. System.Array[2] testArray;


Correct Option: A

Can a class be declared "synchronized"?

  1. Yes

  2. No

  3. In specific conditions

  4. Not sure


Correct Option: B

Can inner classes have static members?

  1. Yes

  2. No

  3. In specific conditions

  4. Not sure


Correct Option: B
+ View questions