您的位置:首页 > 其它

70-599 微软Windows Phone 7开发人员证书考试真题

2011-09-08 19:43 519 查看
微软的WindowsPhone7的开发人认证7月份已经发布,上周我去考过了70-599的考试,这篇文章总结一下微软对于WindowsPhone开发人员的能力要求,认证要求以及提供考试的一些指导信息。关于WindowsPhone开发的Overview介绍,请见我之前为诺基亚培训总结的那篇文章。

微软的WP7开发人员认证全称为MCPD:WindowsPhoneDeveloper,包含以下三门考试

MCPD:WindowsPhoneDevelopercertificationrequirements*

Examnumber

MCTSprerequisite:TS:Silverlight4,Development

Exam70-506

MCTSprerequisite:TS:AccessingDatawithMicrosoft.NETFramework4

Exam70-516

MCPDrequirement:PRO:DesigningandDevelopingWindowsPhoneApplications

Exam70-599

可以看见,除了基础的C#能力之外,开发WindowsPhone微软主要要求三方面的能力:Silverlight、DataAccess和PhoneAPI。个人理解如果你目前已经对Silverlight了解,那基本上直接就可以熟练开发WP7应用程序,因为Phone相关的原理和API一周基本上就可以掌握。下面这张图也基本上涵盖了主要的API,如果不考虑XNA,从下往上看,BCL我相信大家都比较熟练,之后再掌握Silverlight,然后再学习PhoneAPI。



MCTSprerequisite:TS:Silverlight4,Development

以我个人的经验,其实对于没有接触过Silverlight的朋友,其实进行WP7开发的主要瓶颈还是Silverlight而不是Phone的API。核心我觉得需要理解以下几点Silverlight的知识点。

XAML(用XML的方式定义对象对象树

Resource&Style(一个能够存放任何对象的Dictionary,通过x:Key来获取这个对象)

DependencyProperty/AttachedProperty/RoutedEvent/AttachedEvent

ControlTemplate(Silverlight用来定义和修改控件Render的Layout)

DataBinding(将两个对象值自动相互传递的机制)



强烈推荐考试准备材料

GettingreadyforMicrosoftSilverlightExam70-506

MCTSprerequisite:TS:AccessingDatawithMicrosoft.NETFramework4

这个主要测试关于ADO.net,LinqtoSQL以及LinqtoEntities的内容,这门考试是很多MCPD的基础课程,例如AzureDeveloper。内容以后有机会再解释。

MCPDrequirement:PRO:DesigningandDevelopingWindowsPhoneApplications

这门课是真正关于WindowsPhone的考试,主要考试内容包括:

·DesigningDataAccessStrategies(19%)(thisarticle)

·DesigningandImplementingNotificationStrategies(17%)

·WorkingwithPlatformAPIs,Tasks,andChoosers(21%)

·DesigningtheApplicationArchitecture(21%)

·DesigningtheUserInterfaceandUserExperience(23%)

根据回忆来讲,考试主要考了PushNotification(NotificationHeader),BackKey,IsolateStorage,InputScope,WebClient,BindTileToShell(Uris),Toast,Accelometer,
NetworkChange,BinarySerialization,Manipulation,storyboard-drivenanimations,DeviceExtendedProperties,XAPfilesize,GeoLocation.TimeStamp,TouchPanelCapabilities,
MVVMViewModelUnitTest,Setting.EnableRedrawRegions等

在考试之前,强烈推荐以下这个系列的文章,基本上很详细的介绍关于WindowsPhone各个方面的知识和考试内容:

GettingreadyfortheWindowsPhone7Exam70-599

http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-1.aspx

http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-2.aspx

http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-3.aspx

http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-4.aspx

http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-5.aspx

GettingreadyforExam70-599:DesigningandDevelopingWindowsPhone7Applications.HelpfulLinksandResources

http://www.maxpaulousky.com/blog/archive/2011/05/04/exam-70-599-designing-and-developing-windows-phone-7-applications-links-resources.aspx


70-599Sample

最后在这里贴几道考试的Sample题目供大家参考。


Question

YouaredesigningaWindowsPhone7application.Theapplicationmustuseadynamicapplicationkeytoaccessacompanyswebservices.Youneedtorecommendawaytohelpkeeptheapplicationsecure.Whatshouldyourecommend?

A.Createaproxywebservicetoretrievetheapplicationkey.

B.Storetheapplicationkeyinaresourcefileassociatedtotheapplicationproject.

C.EncrypttheapplicationkeyandstoreitintheApplication.ResourcessectionoftheApp.xaml.csfile.

D.UseacustomclassinthesameassemblyastheWebClientobjectthatcontainsastringpropertyholdingtheapplicationkey.

Answer:A

Question

YouaredesigningaWindowsPhone7application.Youneedtostoredatasothatitwillbeavailableiftheapplicationisresumed.Whatshouldyourecommend?

A.IntheapplicationDeactivatedeventhandler,savedatatothePhoneApplicationService.Statedictionary.IntheapplicationLaunchingeventhandler,readthedatafromthePhoneApplicationService.Statedictionary.

B.IntheapplicationDeactivatedeventhandler,savethedatatothePhoneApplicationService.Statedictionary.IntheapplicationActivatedeventhandler,readthedatafromthePhoneApplicationService.Statedictionary.

C.IntheapplicationClosingeventhandler,savethedatatothePhoneApplicationService.Statedictionary.IntheapplicationActivatedeventhandler,readthedatafromthePhoneApplicationService.Statedictionary.

D.InapplicationClosingeventhandler,savethedatatothePhoneApplicationService.Statedictionary.

E.InapplicationLaunchingeventhandler,readthedatafromthePhoneApplicationService.Statedictionary.

Answer:B

Question

YouaredesigningaWindowsPhone7applicationthatusesmultiplepagesfortheentryofuserdata.Ausercanfreelynavigateamongthepagesintheapplicationatanytime.Theusercanalsoperformactionsthatusealauncherorchooserobjecttoselectdatatopopulatedataentryfields.Youneedtorecommendawayforpagedatatopersistwhentheusernavigatesthroughtheapplication.Whatshouldyourecommend?

A.AddabuttontothepagewithaClickeventthatpersiststhepagedatatoIsolatedStoragewhenthebuttonisclicked.

B.AddNavigatedToandNavigatedFromeventsthatretrieveandstorepagedatabyusingtheStatepropertyofthePhoneApplicationServiceobjectwhentheeventsareexecuted.

C.AddlogictotheApplication_LaunchingandApplication_ClosingeventsthatretrieveandstorepagedatatoIsolatedStoragewhentheeventsareexecuted.

D.AddlogictotheApplication_DeactivatedandApplication_ActivatedeventsthatretrieveandstorepagedatabyusingtheStatepropertyofthePhoneApplicationServiceobjectwhentheeventsareexecuted.

Answer:B

Question

YouaredesigningaWindowsPhone7application.

Theapplicationwillprovideabuttonthatlaunchesthedefaultcameraapplicationwhenthebuttonispressed.Afteraphotoistaken,theapplicationwilldisplaythecapturedphotototheuser.

Youneedtoensurethatafterthephotoistakenandtheapplicationisreactivated,thephotoisretrieved.

Whatshouldyoudeclareinthecode(Eachcorrectanswerpresentspartofthesolution.Chooseallthatapply.)

A.aninstanceofCameraCaptureTaskattheendoftheconstructorofthePhoneApplicationPageclass

B.aninstanceofCameraCaptureTaskwithaglobalscopewithinthePhoneApplicationPageclass

C.aninstanceofPhotoChooserTaskwithaglobalscopewithinthePhoneApplicationPageclass

D.aneventhandlerforthecompletionofCameraCaptureTaskwithintheconstructorofthePhoneApplicationPageclass

E.aneventhandlerforthecompletionofCameraCaptureTaskwithintheeventhandleroftheClickeventofthebutton

F.aneventhandlerforthecompletionofPhotoChooserTaskwithintheconstructorofthePhoneApplicationPageclass

Answer:ABD

Questions

IfyouwanttopasstheWindowsPhone7applicationcertificationpass,youneedtoensureyourapplicationdoesnotexceedthemaxmemorysize,whichAPIshouldyouusetodetermineit?

A.UseDeviceExtendedPropertiestocheckApplicationPeakMemoryUsageislessthan90MBwhenDeviceTotalMemoryislargerthan256MB.

B.UseDeviceExtendedPropertiestocheckApplicationPeakMemoryUsageislessthan90MBwhenDeviceTotalMemoryislessthanorequalto256MB.

C.UseDeviceExtendedPropertiestocheckDeviceTotalMemoryislessthan90MBwhenApplicationPeakMemoryUsageislessthanorequalto256MB.

D.UseDeviceExtendedPropertiestocheckApplicationPeakMemoryUsageislessthan90MBwhenDeviceTotalMemoryislessthanorequalto256MB.

Answer:B

Question

Yourpushnotificationserverwantstopushamessagewhichrequirestobedelaydeliveredtothedevice.WhichHTTPheadershouldyousetforthenotificationrequest?

A.Date

B.X-NotificationStatus

C.X-NotificationClass

D.X-MessageID

Answer:C
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: