Microsoft 70-548 Certification Exam

Exam Number/Code: 70-548C
Exam Name: Designing and Developing Windows-Based Applications by Using the Microsoft .NET Framework C++
Questions and Answers: 80 Q&As

“Designing and Developing Windows-Based Applications by Using the Microsoft .NET Framework C++”, also known as 70-548C exam, is a Microsoft certification.

A part demo of the 70-548C exam :

1. You create Microsoft Windows-based applications. You are designing a component that will draw a series of graphics based on an interactive user input. You need to ensure that the user can use the input without waiting for the graphics to be drawn. What should you do?
A. Design the component as a single-threaded component.
B. Design the component as a single-threaded apartment component.
C. Design the component as a multi-threaded component that has a thread for user input and a thread for graphics. Grant the user input thread a higher priority than the graphics thread.
D. Design the component as a multi-threaded component that has a thread for user input and a thread for graphics. Grant the user input thread a lower priority than the graphics thread.
Answer: C

2. You create Microsoft Windows-based applications. You are responsible for maintaining your companys application framework. You analyze the requirements for some of the applications that your company develops. You identify a common functionality. The functionality includes user interface elements as well as data-binding logic and display logic. You need to implement the functionality in such a way that other applications can reuse it. Which type of component should you implement?
A. data access component
B. business logic component
C. control library
D. data structure component
Answer: C

3. You create Microsoft Windows-based applications.
You are designing a class to be used by multiple client applications. This class will be used to generate unique account numbers. Your company guidelines state that unique number generating components must comply with the following design pattern:
 Classes must be designed so that they cannot be instantiated directly by client applications.
 Only a single instance of the class must be used by all the client applications.
 Instance methods and properties for these classes must be accessible to client applications.
You need to define how this class will implement the design pattern. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Declare the class constructors as private.
B. Declare the class constructors as internal.
C. Create a public static method to retrieve an existing instance of the class, or a new instance if one does not exist.
D. Create a public instance method to retrieve an existing instance of the class, or a new instance if one does not exist.
E. Create a private static method to retrieve an existing instance of the class, or a new instance if one does not exist.
Answer: BC

4. You create Microsoft Windows-based applications. You create a component to process daily reports. These daily reports are data-driven.
Eight database tables dictate the following properties:
 the data that is printed
 the format of the data
 the order of output
The component loads the configuration data into a specific internal structure. Subsequently, the component retrieves and outputs the report data based on the configuration settings that are stored in the internal structure. The database is not updated. You need to develop the data handling capabilities of the component to manage the configuration data and the report data. You also need to ensure that the reports are generated as quickly as possible. Which two data handling mechanisms should you choose? (Each correct answer presents part of the solution. Choose two.)
A. Use a DataReader object to load the report data based on the configuration data. Perform the required calculations.
B. Use a DataReader object to load the configuration data from the database.
C. Use a DataAdapter object and a DataSet object to load the configuration data from the database.
D. Use a DataAdapter object and a DataSet object to load the report data based on the configuration data. Perform the required calculations.
Answer: AB

5. You create Microsoft Windows-based applications. You create a component that calls an existing function. The design for the function specifies that it might throw an application-specific exception named InvalidChecksumException, which inherits from System.ApplicationException. The InvalidChecksumException exception is an error that can be handled. But the component cannot handle any other type of error. The component does not have any additional information that can be added to other types of errors. You need to design the component to correctly handle exceptions. You also need to ensure that the exception-handling strategy does not affect performance. What should you do?
A. Use a catch statement that has a filter for ApplicationExceptions and find the exception type. If it is InvalidChecksumException, handle it automatically or rethrow the exception.
B. Use only a catch statement that has a filter for InvalidChecksumExceptions and handle them automatically.
C. Use a catch statement that has an empty filter. Verify the Message property to see if the exception is an InvalidChecksumException and perform the automatic recovery or rethrow the exception.
D. Use a catch statement that has a filter for InvalidChecksumException, followed by another catch statement that has a filter for Exception. In the first catch block, automatically handle the exception. In the second catch block, log the error and rethrow the exception.
Answer: B

Create a free edublog to get your own comment avatar (and more!)

No Comment

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image