Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computer Certification > MCAD > Confusing Test Questions

Reply
Thread Tools

Confusing Test Questions

 
 
Simon Hart
Guest
Posts: n/a
 
      02-01-2006
Hi,

Below is a question which I am testing myself on due to my 70-316 exam
booked next week.

The thing with some of these questions is, there are sometimes two anwsers.

Take the following, the anwser is B, but I would have said A. The reason,
even if you have currently loaded a form and selected a menuitem which sets
the CurrentUICulture property to the new culture, this alone would not
render the user interface in the new culture. You have have to repopulate
all controls again. This detail is not in the answer.

In addition, not using assembly resource files - in other words allowing
VS.NET to handle localizing the form by means of creating separate resx
files for each culture makes the whole development process simpler.

So choosing B might in this case not be the right choice.

---------------

You are using satellite assemblies to hold localization
resource for the user interface of your application.
The application's main form includes a
menu that lets users select English, French,
Spanish, or German as the user interface language.
When the user makes a selection, your
code creates an appropriate CultureInfo object
and assigns it to the Thread.CurrentThread.
CurrentUICulture property.

Users report that the user interface does not
change languages when they make a selection
from the menu. What can you do to fix this bug?

A. Instruct the users to close and reopen the
application after making a selection.

B. Switch to assembly resource files to hold the
resources. Use a ResourceManager object to
extract the resources whenever they're needed.

C. Verify that your code contains the correct
namespace name for your application in the
class that selects the resources to use.

D. Spawn a second copy of the main form, this
one with the correct user interface language.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOS confusing ACL questions? Michael Letchworth Cisco 1 06-15-2008 05:09 AM
TEST TEST Test...Blah Blah Blah Generalbatguano@pacbell.net Computer Support 6 09-13-2006 01:53 AM
Nother confusing Questions, or maybe not Kendal Emery MCSE 5 03-18-2005 08:56 PM
TEST TEST TEST Gazwad Computer Support 2 09-05-2003 07:32 PM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments