需要注意的 MCSD 题目 316, 2

You are a developer for a TestKing Inc that provides free software over the Internet. You are
developing en e-mail application that users all over the world can download.
 
The application displays text strings in the user interface. At run time, these text strings must appear
in the language that is appropriate to the locale setting of the computer running the application.
 
You have resources to develop versions of the application for only four different cultures. You must
ensure that your application will also be usable by people of other cultures.
 
How should you prepare the application for deployment?
 
A.  Package a different assembly for each culture.
B.  Package a different executable file for each culture.
C.  Package a main assembly for source code and the default culture.
Package satellite assemblies for the other cultures.
D.  Package a main assembly for source code.
Package satellite assemblies for each culture.
 
 
Answer: C
Explanation: When you build a project, the resource files are compiled and then embedded in satellite
assemblies, or assemblies which contain only the localized resources. The fallback resources are built into
the main assembly, which also contains the application code.
 
Reference: 
Visual Basic and Visual C# Concepts, What's New in International Applications
Visual Basic and Visual C# Concepts, Introduction to International Applications in Visual Basic and Visual
C#
 
Incorrect Answers
A: A main assembly is needed.
B: Assemblies not executables are used.
D: The main assembly contains the fallback resources (including default culture).
 
展开阅读全文

四条MCSD题目

03-11

You write a Wondows-based application by using MFC.You create a scrolling view class by deriving from the MFC library class CScorollView. The source code that implements your class includes the following code fragment:rnCMyView::OnLButtonDown(UNIT,CPoint point)rnrn CCLientDC dc(this);rn OnPrepareDC(&dc);rnrnWhat is the most likely result of the call to the OnPrepareDC function?rnA.The clipping region of the view is adjusted to the containing framernB.The device Contest object is enabled for GDI calls.rnC.The view will disable scrolling while drawing takes place.rnD.The viewport origin and viewport extents are adjusted to the containing frame.rnrnrnYou create an application for your company.The company has a network connecting several work locations across the country.Computers at all locations have access to a central several work locations across the country.Computers at all locations have access to a central server on this network.The server is located at the read office.You want to package the application files in a single.cab filernWhat must you have to create the .cab file (Chose all that apply.)rnA.the application filesrnB.the .inf file describing files to be packaged in the .cab filernC.a Software Publisher CertificaternD.the Cabarc utility programrnE.the Cabivew utility programrnF.the Signcode utility programrnrnrnYou write a Windows-based application by using Platform SDK.In your application,you want to initiate an action whenever the user presses the F2 key.rnWhich Microsoft Windows message should you respond to?rnA.WM_CHARrnB.WM_HOTKEYrnC.WM_SYSKEYDOWNrnD.WM_KEYDOWNrnE.WM_SETHOTKEYrnF.WM_GETHOTKEYrnrnrnrnYou design a Windows-based application by using MFC.Users can enable or disable error logging by clicking the Log Errors command on the Tools menu of Your application.Error logging is indicated by a check mark displayed next to the log Errors command on the Tools menu.The state of the menu item is stored in a Boolean class member variable named m_bLogErrors.rnHow should you manage the menu item?rnA.Write an ON_UPDATE_COMMAND_UI handler function,and add it to the message map.rn Call the CCmdUI::SetRadio function from within the handlerrnB.Write an ON_COMMAND handler function,and add it to the message map.rn Call the CcmdUI::Enable function from within the handler.rnC.Write an ON_UPDATE_COMMAND_UI handler function,and add it to the message map.rn Call the CCmdUI::Enable function from within the handler.rnD.Write an ON_COMMAND handler function,and add it to the message map.rn Call the CCmdUI::SetCheck function from within the handler.rnE.Write an ON_UPDATE_COMMAND_UI handler function,and add it to the message map.rn Call the CCmdUI::SetCheck Function from within the handler.rnF.Write an ON_COMMAND handler function,and add it to the message map.rn Call the CCmdUI::SetRadio function from within the handler.rnrn分别该怎么做啊,再写一下为什么,谢谢 论坛

没有更多推荐了,返回首页