programming languages Online Quiz - 341
|Description: programming languages Online Quiz - 341|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: programming languages|
You develop a Windows-Based application that accesses a Microsoft SQL Server database named ABC. Users must supply a user name and password when they start the application. This information is then used to dynamically build a connection string. When you test the application, you discover that it is not using the SqlClient connection pooling feature. You must reduce the time needed to retrieve information. How should you modify the connection string?
You are preparing a localized version of a Windows Form named ABCLocal. Users of ABCLocal speak a language that prints text from right to left. User interface elements on the form need to conform to this alignment. You must ensure that all user interface elements are properly formatted when the localized Windows Form runs. You must also ensure that ABCLocal is easy to update and maintain. What should you do?
You develop a Windows-based application that contains a form named ContactABC. You need to write code to initialize all class-level variables in ContactABC as soon as ContactABC is instantiated. You will place your code in a public procedure in the ContactABC class. Which public procedure should you use?
You use Visual Studio .NET to create several Windows-based applications. All use a common class library assembly named ABCCustomers. You deploy the application to client computers on your company intranet. Later, you modify ABCCustomers.Any application that uses version 18.104.22.168 must now user version 22.214.171.124. What should you do?
You develop a Windows-based application ABCApp by using Visual Studio .NET. ABCApp uses a SqlConnection object for database access. You typically run ABCApp on a computer that has limited RAM and hard disk space. After the code finishes using the SqlConnection object, you must ensure that the connection is closed and that any resources consumed by the object are released immediately. What should you do?
You plan to develop a customer information application CustomABC that uses a Microsoft SQL Server database. CustomABC will be used frequently by a large number of users. Your application code must obtain the fastest possible performance when accessing the database and retrieving large amounts of data. You must accomplish this goal with the minimum amount of code. How should you design CustomABC?
You use Visual Studio .NET to develop a component named ABCComponent. You plan to develop several client applications that use ABCComponent. You need to deploy ABCComponent with each of these applications. You will create a distribution package to be included with each application. Which type of project should you create?
Which two statements about views are true? (Choose two)
From the following code fragments select the most appropriate way of throwing exceptions ?Assume that variable i is properly defined , in scope and has appropriate value