0

programming languages Online Quiz - 342

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

trim(string) - returns string with leading blanks.

  1. True

  2. False


Correct Option: B

data check; set old; by id; if first.id and ^last.id; run; We can use the above code for finding the duplicate rows.

  1. True

  2. False


Correct Option: A

If you a variable containing data like,1984,00,1996,1945. Then which will be best option to make SAS read that variable properly(1984,2000,1996,1945)

  1. options yearcutoff=950;

  2. options yearcutoff=1950;

  3. options yearcut=1950;

  4. All of the above


Correct Option: B

If you a variable containing data like,1984,00,1996,1945. Then which will be best option to make SAS read that variable properly(1984,2000,1996,1945)

  1. options yearcutoff=950;

  2. options yearcutoff=1950;

  3. options yearcut=1950;

  4. All of the above


Correct Option: B

The interface used by ASP.Net to create Unique Id's?

  1. AppDomainsetup

  2. System.UI.Naming.Container

  3. IAsyncResult

  4. customFormatter


Correct Option: B
  1. Output Caching

  2. DataCaching

  3. Both A & B

  4. None of the above


Correct Option: C
  1. FieldValidator

  2. RegularExpressionValidator

  3. RangeValidator

  4. PatternValidator


Correct Option: B

Who can access Session state variables

  1. All Users of an application

  2. A Single session

  3. All users within a single tunnel

  4. None


Correct Option: B
  1. Windows

  2. Anonymous

  3. Basic Authentication

  4. None


Correct Option: B

Select the control which does not have any visible interface ?

  1. Datalist

  2. DropdownList

  3. Repeater

  4. Datagrid


Correct Option: C

Your company ABC Inc. standardizes on the .NET Framework as its software development platform. Subsequently, virus attacks cause your company to prohibit the execution of any applications downloaded from the Internet. You must ensure that all client computers on your intranet can execute all .NET applications originating from your company. You must also ensure that the execution of .NET applications downloaded from the Internet is prohibited. You must expend the minimum amount of administrative effort to achieve your goal. Which policy should you modify?

  1. Application Domain.

  2. Enterprise

  3. Machine

  4. User


Correct Option: B
  1. Use XCOPY to install the assembly in the global assembly cache.

  2. Use XCOPY to install the assembly in the Windows\Assembly folder.

  3. Create a strong name for the assembly.

  4. Recompile the assembly by using the Native Image Generator (Ngen.exe).


Correct Option: C

You use Visual Studio .NET to create an application that uses an assembly. The assembly will reside onthe client computer when the application is installed. You must ensure that any future applicationsinstalled on the same computer can access the assembly.Which two actions should you take? (Each correct answer presents part of the solution.

  1. Use XCOPY to install the assembly in the global assembly cache.

  2. Use XCOPY to install the assembly in the Windows\Assembly folder.

  3. Create a strong name for the assembly.

  4. Recompile the assembly by using the Native Image Generator (Ngen.exe).


Correct Option: C

You use Visual Studio .NET to develop a Windows-based application called ABCApp. Your application will display customer order information from a Microsoft SQL Server database. The orders will be displayed on a Windows Form in a data grid named DataGrid1. DataGrid1 is bound to a DataView object. The Windows Form includes a button control named displayBackOrder. When users click this button, DataGrid1 must display only customer orders whose BackOrder value is set to True. How should you implement this functionality?

  1. Set the RowFilter property of the DataView object to "BackOrder = True".

  2. Set the RowStateFilter property of the DataView object to "BackOrder = True".

  3. Set the Sort property of the DataView object to "BackOrder = True".

  4. Set the ApplyDefaultSort property of the DataView object to True.


Correct Option: A

You use Visual Studio .NET to create a Windows-based application. The application includes a form named TestKingProcedures (TKP). TKP allows users to enter very lengthy text into a database. When users click the Print button located on TKP, this text must be printed by the default printer. You implement the printing functionality by using the native .NET System Class Libraries with all default settings. Users report that only the first page of the text is being printed. How should you correct this problem?

  1. In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  2. In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  3. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.

  4. In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.


Correct Option: C
- Hide questions