pass4sure microsoft mcpd 70-548(C++) v2.93
- Sunday, October 12, 2008, 22:09
- Cert Tests
- 15 views
- 3 comments
PRO:Design & Develop Wdws-Based Appl by Using MS.NET Frmwk : 70-548(C++) Exam
Product DescriptionExam Number/Code: 70-548(C++)
Exam Name: PRO:Design & Develop Wdws-Based Appl by Using MS.NET Frmwk
“PRO:Design & Develop Wdws-Based Appl by Using MS.NET Frmwk”, also known as 70-548(C++) exam, is a Microsoft certification. With the complete collection of questions and answers, Pass4sure has assembled to take you through 80 Q&As to your 70-548(C++) Exam preparation. In the 70-548(C++) exam resources, you will cover every field and category in MCPD helping to ready you for your successful Microsoft Certification.
QUESTION 1
You use Visual Studio .NET to create an assembly, called Certkiller Assembly, that
will be used by other applications, including a standard COM client application.
You must deploy your assembly on the COM application to a client computer. You
must ensure that the COM application can instantiate components within the
assembly as COM components.
What should you do?
A. Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
B. Generate a registry file for the assembly by using the Assembly Registration tool
(Regasm.exe)
Register the file on the client computer.
C. Generate a type library for the assembly by using the Type Library Importer
(Tlbimp.exe).
Register the file on the client computer.
D. Deploy the assembly to the global assembly cache on the client computer.
Add a reference to the assembly in the COM client application.
Answer: B
Explanation: The Assembly Registration tool reads the metadata within an assembly and
adds the necessary entries to the registry, which allows COM clients to create .NET
Framework classes transparently. Once a class is registered, any COM client can use it as
though the class were a COM class.
Reference:
.NET Framework Tools, Assembly Registration Tool (Regasm.exe)
.NET Framework Tools, Strong Name Tool (Sn.exe)
.NET Framework Tools, Type Library Importer (Tlbimp.exe)
Incorrect Answers
A: The Strong Name tool helps sign assemblies with strong names.
C: The Type Library Importer, tlbimp.exe, converts the type definitions found within a
COM type library into equivalent definitions in a common language runtime assembly. It
would not be useful in this scenario however.
D: This would not allow the COM application to use the class.
QUESTION 2
You development team used Visual Studio .NET to create an accounting
application, which contains a class named Certkiller Accounts. This class instantiates
several classes from a COM component that was created by using Visual Basic 6.0.
Each COM component class includes a custom method named ShutDownObject
that must be called before terminating references to the class.
Actualtests.org – The Power of Knowing
Software testers report that the COM component appears to remain in memory
after the application terminates. You must ensure that the ShutDownObject method
of each COM component class is called before Certkiller Accounts is terminated.
What should you do?
A. Add code to the Terminate event of Certkiller Accounts to call the ShutDownObject
method of each COM component class.
B. Find each location in your code where a reference to Certkiller Accounts is set to null
or goes out of scope.
Add code after each instance to manually invoke the Visual Studio .NET garbage
collector.
C. Add a destructor to Certkiller Accounts.
Add code to the destructor to call the ShutDownObject method of each COM component
class.
D. Add the procedure private void Finally() to Certkiller Accounts.
Add code to the procedure to call the ShutDownObject method of each COM component
class.
Answer: C
Explanation: Be creating a destructor for Certkiller Accounts class we can ensure
that appropriate actions are performed before Certkiller Accounts is terminated.
Reference: C# Language Specification, Destructors
QUESTION 3
You use Visual Studio .NET to create an application. Your application contains two
classes, Region and City, which are defined in the following code segment. (Line
numbers are included for reference only)
01 public class Region {
02 public virtual void Calculate CertK Tax() {
03 // Code to calculate tax goes here.
04 }
05 }
06 public class City:Region {
07 public override void Calculate CertK Tax() {
08 // Insert new code.
09 }
10 }
You need to add code to the Calculate CertK Tax method of the City class to call the
Calculate CertK Tax method of the Region class.
Which code segment should you add on line 08?
A. Calculate CertK Tax();
B. this.Calculate CertK Tax();
C. base.Calculate CertK Tax();
Actualtests.org – The Power of Knowing
D. Region r = new Region();r.Calculate CertK Tax();
Answer: C
pass4sure 70-548(C++)
Questions and Answers : 80 Q&As Expected Date: October 27th , 2008 Price: $129.99 $89.99 Pre-Buy price: $62.99 Save $27
Free download:pass4sure Microsoft 70-548(C++)
Free download:testking Microsoft 70-548(C++)
password:www.certbible.org
High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
| All Certbible 's Exam Dumps |
597 |
1 days ago | Available |
PassGuide Training Materials & Practice Tests
About the Author
3 Comments on “pass4sure microsoft mcpd 70-548(C++) v2.93”
Trackbacks
- Testking Microsoft MCPD 70-548(C++) | Free Latest TK Certification Exams Rapidshare Vce Dumps
- Actualtests microsoft MCPD 70-548(C++) | Free latest Actualtest Testking Certification Exams training braindumps
- Testinside Microsoft MCPD 70-548(C++) | Free Latest Microsoft Certification Training Exams rapidshare vce Braindumps
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

