programming languages Online Quiz - 215
programming languages Online Quiz - 215
Questions
What are the valid values of SYSENV macro variable
- FORE, BACK
- OpenVMS,WIN, HP 300
- Batch,Interactive
- All of the above
(a) %let prog=%str(data new; x=1; run;); (b) %let prog=data new%str(;) x=1%str(;)run%str(;); The above two are equivalent?
- True
- False
%let a=begin; %let b=%nrstr(&a); %put UPCASE produces: %upcase(&b); %put QUPCASE produces: %qupcase(&b); The output of the two put statement is :
- BEGIN and &A
- begin and &A
- begin and begin
- begin and BEGIN
What are the resulting values for the macro variables that are defined here? %let month1 = June; %let month2 = July; %let period1 = &month1&month2; %let period2 = May&month1; %let period3 = &month2.Aug;
- month1 June month2 July period1 June July period2 May June period3 July Aug
- month1 June month2 July period1 JuneJuly period2 MayJune period3 July.Aug
- month1 June month2 July period1 JuneJuly period2 MayJune period3 JulyAug
- month1 June month2 July period1 junejuly period2 Mayjune period3 julyaug
%let lib=sasuser; %let year=02; %let month=jan; libname &lib ’SAS-data-library’; proc print data=&lib.y&year&month; run; The dataset name that proc print gets is "sasusery02jan".Which of the following character you will use in place of to finally have "sasuser.y02jan" dataset. proc print data=&lib.y&year&month; run;
- . (period)
- &(ampersand)
- %(percentage)
- Any one of the above character
Which of the following correctly produces a title in which the current date is left justified in order to remove extra blanks?
- title "Report for %sysfunc(left(%sysfunc(today(),worddate.)))";
- title "Report for %sysfunc(left(today(), worddate.))";
- title "Report for %sysfunc(left(%qsysfunc(today(), worddate.)))";
- title "Report for %left(today(), worddate.))";
Suggest the most appropriate masking macro function that can be used to read the following text strings: Pride and Prejudice Rice & Beans Charles Dickens' Complete Works
- %QUOTE , %NRQUOTE , %BQUOTE
- %NRQUOTE , %NRQUOTE , %QUOTE
- %QUOTE , %QUOTE , %NRQUOTE
- %QUOTE , %BQUOTE , %NRQUOTE
New functions provided with SAP NetWeaver PI 7.1 are an extension of the robust architecture based on
- JEE5
- VB
- .NET
- ABAP
The integral part of SAP Netweaver is made up of
- Enterprise Service Repository
- Enterprise Service Registry
- Integration Directory
- Integration Builder
The Expansion for eSOA
- Extensible Service Oriented Architecture
- Extensible Schema of Application
- Enterprise Schema Oriented Application
- enterprise Service Oriented Architecture
As of SAP Netweaver PI 7.1 , the Integration Builder(Design) is replaced by
- Operation mapping
- Service Interface
- Enterprises Service Builder
- Communication Component
As of SAP Netweaver PI 7.1 , Interface mapping is replaced by
- Message mapping
- Communication Channel
- Operation mapping
- Communication Component
Among the following choices which is correct about readonly variable in C# code?
- It's the same as a constant
- It's value can be assigned only once
- You can never assign a value to it
- You can assign value multiple times
What is a manifest ?
- area where the assembly code is compiled
- area in which Debug information is a stored
- area in which Assembly metadata is stored
- area where variables are initialized
COM objects can be called in C# using :
- DLLImport
- UsingDLL
- DLLCall
- CallDLL
In C# an assembly is deployed
- Using MSI installer
- using XCOPY
- using a CAB archive
- All of the above
Which among the following is a valid syntax defining a delegate
- delegate {TheMethod( int Z) }
- delegate void TheMethod(int Z) ;
- delegate: TheMethod (int Z)
- delegate: {TheMethod (int Z)}
Which of the following is an exclusive feature of C#?
- Object Oriented
- IL
- XML documentation
- Garbage Collection
Considering that applications are running in different application domains how does a running application communicate or share data with other application?
- using Exceptions
- using attributes
- using .NET remoting services
- using IO
How does struct differ from class in C#?
- Structs cannot be inherited.
- Structs are passed by value, not by reference.
- Struct is stored on the stack, not the heap.
- structs can be inherited