PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create Microsoft Windows-based applications. You are creating an application that will monitor sales data.

The application must meet the following requirements:

Users must be able to customize display settings and the amount of data to monitor. Users must be able to log on to any computer on the network to use the application. User settings must be retrieved based on the logged-on user from any computer on the network.

You need to decide where to store the user settings. What should you do?

Which design should you choose?

You create Web-based client applications. You are creating a class library. The class library will be used to read and write data in the following three tables that are located in the Northwind database: CustomersOrdersOrderDetails The structure of the three tables is shown in the following diagram. (Refer to the Exhibit.) You need to ensure that the interfaces of the three classes accurately represent the connections between the tables in the database. Which design should you choose?

Which storage mechanism should you choose?

You create Microsoft Windows-based applications. You create a purchase order application. Sales personnel use the application to place orders for customers. Sales personnel need to connect to the network to use the application. The application saves data to a database server on the network. Multiple sales personnel use the application simultaneously.

The purchase order application requires a logging mechanism to permit auditing of sales. The logging mechanism must meet the following requirements:

Log entry is created for every sales order created, saved, or deleted.
Log data is available only to administrators.
Log entries for all sales are stored together.
Current log data can be read while the application is running.

You need to decide on a storage mechanism for the logged data. Which storage mechanism should you choose?

Which code segment should you choose?

You create Web-based client applications. You create a class library that is named Fabrikam.dll. Ten applications will use Fabrikam.dll. Fabrikam.dll contains two classes that are named Order and OrderDetail. The class library must meet the following requirements:

Both the classes in Fabrikam.dll are available to client applications of Fabrikam.dll. Each instance of the OrderDetail class is associated with an instance of the Order class. Code segments in client applications do not instantiate the OrderDetail class.
The OrderDetail class contains no static members.

You need to design the interface for the OrderDetail class. Which code segment should you choose?