Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "70-306" Exam

Microsoft Exam 70-306 from ITCertkeys

 Question 1.
As a developer at XYZ you develop a new sales analysis application that reuses existing data access components. One of these components returns a DataSet object that contains the data for all customer orders for the previous year.

You want your application to display orders for individual product numbers. Users will specify the appropriate product numbers at run time.

What should you do?

A. Use the DataSet.Reset method.
B. Set the RowFilter property of the DataSet object by using a filter expression.
C. Create a DataView object and set the RowFilter property by using a filter expression.
D. Create a DataView object and set the RowStateFilter property by using a filter expression.

Answer:  C

Explanation: 
You filter data by setting the RowFilter property. The RowFilter property takes a String that can evaluate to an expression to be used for selecting records. RowFilter is a property of the DataView object.

Option A:
The DataSet-Reset method resets the DataSet to its original state.

Option B:
RowFilter is not a property of the DataSet object.

Option D:
The RowStateFilter property is used to filter based on a version or state of a record. Filter expressions cannot be used on RowStateFilters. The RowStates are Added, CurrentRows, Deleted, ModifiedCurrent, ModifiedOriginal, None, OriginalRows, and Unchanged.

Question 2.
You use Visual Studio .NET to create an application for 100 users for the XYZ support department.

The users run a variety of operating systems on a variety of hardware. You plan to create a distribution package for your application.
Your application includes several Windows Forms with many controls on each. You must ensure that the Windows Forms will launch as quickly as possible on client computers. You must not adversely affect the functionality of the application.

What should you do?

A. 	Set the Compression property of the setup project to Optimized for Speed.
	Then build your distribution package.
B. 	For each Windows Form in your application, set the CausesValidation property to False.
C. 	Use the Native Image Generator (Ngen.exe) to precompile your application.
	Add the precompiled application to your distribution package.
D. 	Add a custom action to your setup project to precompile your application during installation.

Answer:  D

Question 3.
You develop a Windows-based application. The application uses a DataSet object that contains two DataTable objects. The application will display data from the two data tables. One table contains customer information, which must be displayed in a data-bound ListBox control. The other table contains order information, which must be displayed in a DataGrid control.
You need to modify your application to enable the list box functionality. What should you do?

A. Use the DataSet.Merge method.
B. Define primary keys for the DataTable objects.
C. Create a foreign key constraint on the DataSet object.
D. Add a DataRelation object to the Relation collection of the DataSet object.

Answer:  D

Explanation: 
You can use a DataRelation to retrieve parent and child rows. Related rows are retrieved by calling the GetChildRows or GetParentRow methods of a DataRow.

A DataRelation object represents a relationship between two columns of data in different tables. The DataRelation objects of a particular DataSet are contained in the Relations property of the DataSet. A DataRelation is created by specifying the name of the DataRelation, the parent column, and the child column.

Option A: 
The Merge method is used to merge two DataSet objects that have largely similar schemas. A merge does not meet the requirements of the scenario however.

Option B: 
Primary keys would not help relating the DateTable objects.

Option C:
Foreign key constraints put restrictions on the data in two different tables. However, it would not help in retrieving related records.

Reference:
70-306/70-316 Training kit, Retrieving Related Records, Page 286

Question 4.
You use Visual Studio .NET to develop a Windows-based application that contains a single form. This form contains a Label control named labelEXValue and a TextBox control named textEXValue.

labelEXValue displays a caption that identifies the purpose of textEXValue.
You want to write code that enables users to place focus in textEXValue when they press ALT+V. This key combination should be identified to users in the display of labelEXValue.

Which three actions should you take? 
(Each correct Answer presents part of the solution. Choose three)

A. 	Set labelEXValue.UseMnemonic to True.
B. 	Set labelEXValue.Text to “&Value”.
C. 	Set labelEXValue.CausesValidation to True.
D. 	Set textEXValue.CausesValidation to True.
E. 	Set textEXValue.TabIndex to exactly one number less than labelValue.TabIndex.
F. 	Set textEXValue.TabIndex to exactly one number more than labelValue.TabIndex.
G. 	Set textEXValue.Location so that textValue overlaps with labelValue on the screen.
H. 	Add the following code to the Load event of MainForm:
	text.Value.Controls.Add (labelValue);

Answer:  A, B & F

Explanation: 
If the UseMnemonic property is set to true (A) and a mnemonic character (a character preceded by the ampersand) is defined in the Text property of the Label (B), pressing ALT+ the mnemonic character sets the focus to the control that follows the Label in the tab order (F). You can use this property to provide proper keyboard navigation to the controls on your form.

The UseMnemonic property gets or sets a value indicating whether the control interprets an ampersand character (&) in the control's Text property to be an access key prefix character. UseMnemonic is set to True by default.

As a practice verify the Answer yourself.

Option C, D:
The CausesValidation setting has no effect in this scenario.

Option E:
The Text control must use a tabindex that is the successor to the tabindex of the label control.

Option G, H:
This is not necessary. It has no effect here.

Question 5.
You develop a Windows-based application. Its users will view and edit employee attendance data. The application uses a DataSet object named customDataSet to maintain the data while users are working with it.

After a user edits data, business rule validation must be performed by a middle-tier component named myComponent. You must ensure that your application sends only edited data rows from customDataSet to myComponent.
Which code segment should you use?

A. 	Dim changeDataSet As New DataSet 
	If customDataSet.HasChanges _ 
	Then myComponent.Validate(changeDataSet) 
B. 	Dim changeDataSet As New DataSet 
	If customDataSet.HasChanges _ 
	Then myComponent.Validate(customDataSet).
C. 	Dim changeDataSet AS DataSet = customDataSet.GetChanges() 	myComponent.Validate(changeDataSet) 
D. 	Dim changeDataSet As DataSet = customDataSet.GetChanges() 	myComponent.Validate(customDataSet)

Answer:  C

Explanation: 
DataSet.GetChanges method gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called. It is used to create a second DataSet that features only the changes to the data.

We then validate the changes, the changedDataSet.

Option A, B: 
We should create a dataset which contains only the changes.

Option D:
We should validate only the changes, not the whole dataset customerDataSet.

Question 6.
You develop a Windows-based application XYZApp that includes several menus. Every top-level menu contains several menu items, and certain menus contain items that are mutually exclusive. You decide to distinguish the single most important item in each menu by changing its caption text to bold type. 

What should you do?

A. Set the DefaultItem property to True.
B. Set the Text property to “True”.
C. Set the Checked property to True.
D. Set the OwnerDraw property to True.
Answer:  A
Explanation: 
Gets or sets a value indicating whether the menu item is the default menu item. The default menu item for a menu is boldfaced.

Option B:
The Text property contains the text that is associated with the control. We cannot format this text by HTML-like tags in the text.

Option C:
We don’t want the menu-item to be selected, just bold.

Option D:
When the OwnerDraw property is set to true, you need to handle all drawing of the menu item. You can use this capability to create your own special menu displays.

Reference:
.NET Framework Class Library, MenuItem.DefaultItem Property [Visual Basic]

Question 7.
You use Visual Studio .NET to create a Windows-based application for online gaming. Each user will run the client version of the application on his or her local computer. In the game, each user controls two groups of soldiers, Group 1 and group 2.
You create a top-level menu item whose caption is Groups. Under this menu, you create two submenus.

One is named group1Submenu, and its caption is Group 1. The other is named group2Submenu, and its caption is Group2. When the user selects the Groups menu. The two submenus will be displayed. The user can select only one group of soldiers at a time.

You must ensure that a group can be selected either by clicking the appropriate submenu item or by holding down the ALT key and pressing 1 or 2. You must also ensure that the group currently select will be indicated by a dot next to the corresponding submenu item. You do not want to change the caption text of any of your menu items.

Which for actions should you take? 
(Each correct Answer presents part of the solution. Choose four)

A. 	Set group1Submenu.Text to "Group &1".
	Set group2Submenu.Text to "Group &2".
B. 	Set Group1.ShortCut to "ALT1".
	Set Group2.ShortCut to "ALT2".
C. 	In the group1Submenu.Click event, place the following code segment:
	group1Submenu.DefaultItem = True 
	In the group2Submenu.Click event, place the following code segment:
	group2Submenu.DefaultItem = True 
D. 	In the group1Submenu.Click event, place the following code segment:
	group2Submenu.DefaultItem = False 
	In the group2Submenu.Click event, place the following code segment:
	group1Submenu.DefaultItem = False 
E. 	In the group1Submenu.Click event, place the following code segment:
	group1Submenu.Checked = True 
	In the group2Submenu.Click event, place the following code segment:
	group2Submenu.Checked = True 
F. 	In the group1Submenu.Click event, place the following code segment:
	group2Submenu.Checked = False 
	In the group2Submenu.Click event, place the following code segment:
	group1Submenu.Checked = False 
G. 	Set group1Submenu.RadioCheck to True.
	Set group2Submenu.RadioCheck to True.
H. 	Set group1Submeny.RadioCheck to False.
	Set group2Submenu.RadioCheck to False.

Answer:  B, E, F, G

Explanation:
B: Simply set the Group1.Shortcut to appropriate value.
E, F: The menu item's Checked property is either true or false, and indicates whether the menu item is selected.
We should set the clicked Submenu Checked property to True, and the other Submenu Checked property to False.
G: The menu item's Radio Check property customizes the appearance of the selected item: if Radio Check is set to true, a radio button appears next to the item;

Incorrect Answers:
A: You do not want to change the caption text of any of your menu items.
C, D: We are not interested in defining default items. We want to mark items as checked.
H: The Radio Check property must be set to True for both menu items.

Reference:
Visual Basic and Visual C# Concepts, Adding Menu Enhancements to Windows Forms Visual Basic and Visual 
C# Concepts, Introduction to the Windows Forms Main Menu Component

Question 8.
You use Visual Studio .NET to create a Windows-based application for XYZ Inc. The application includes a form that contains several controls, including a button named exitButton. After you finish designing the form, you select all controls and then select Lock Controls from the Format menu.

Later, you discover that exitButton is too small. You need to enlarge its vertical dimension with the least possible effort, and without disrupting the other controls.
First you select exitButton in the Windows Forms Designer. What should you do next?

A. 	Set the Locked property to False.
	Set the Size property to the required size.
	Set the Locked property to True.
B. 	Set the Locked property to False.
	Use the mouse to resize the control.
	Set the Locked property to True.
C. 	Set the Size property to the required size.
D. 	Use the mouse to resize the control.

Answer:  C

Question 9.
You use Visual Studio .NET to create a form that includes a submenu item named helpEXOption. In the Click event handler for helpEXOption, you write code to open a Web browser loaded with a context-sensitive Help file.

You add a ContextMenu item named ContextMenu1 to the form. ContextMenu1 will be used for all controls on the form.

Now you need to add code to the Popup event handler for ContextMenu1. Your code will create a popup menu that offers the same functionality as helpEXOption. You want to use the minimum amount of code to accomplish this goal.

Which two code segments should you use? 
(Each correct Answer presents part of the solution. Choose two)

A. 	ContextMenu1.MenuItems.Clear() 
B. 	ContextMenu1.MenuItems.Add(“&Display Help”) 
C. 	ContextMenu1.MenuItems.Add(helpEXOption.CloneMenu() 
D. 	ContextMenu1.MenuItems[0].Click += new 
	System.EventHandler(helpEXOption_Click) 
E. 	ContextMenu1.Popup += new System.EventHandler(helpEXOption_Click)

Answer:  A & C

Question 10.
You develop a kiosk application that enables users to register for an e-mail account in the XYZ.com domain. Your application contains two TextBox controls named textName and textEmail.

Your application is designed to supply the value of textEmail automatically. When a user enters a name in the textName, an e-mail address is automatically assigned and entered in textEmail. The ReadOnly property of textEmail is set to True.
Your database will store each user’s name. It can hold a maximum of 100 characters for each name.

However, the database can hold a maximum of only 34 characters for each e-mail address. This limitation allows 14 characters for your domain, @proseware.com, and 20 additional characters for the user’s name.

If a user enters a name longer than 20 characters, the resulting e-mail address will contain more characters that the database allows.
You cannot many any changes to the database schema.
You enter the following in the Leave event handler of textName:
textEmail.Text = textName.Replace(“ “,”.”) ? 
“@XYZ.com”;.

Now you must ensure that the automatic e-mail address is no longer than 34 characters. You want to accomplish this goal by writing the minimum amount of code and without affecting other fields in the database.

What should you do?

A. 	Set the textName.Size property to “1,20”.
B. 	Set the textEmail.Size property to “1,34”.
C. 	Set the textName.AutoSize property to True.
D. 	Set the textEmail.AutoSize property to True.
E. 	Set the textName.MaxLenght property to 20.
F.   Set the textEmail.MaxLenght property to 34.
G. 	Change the code in textName_Leave to ensure that only the first 20 characters of textName.Text are used.
H. 	Use an ErrorProvider control to prompt a revision if a user enters a name longer than 20 characters.

Answer:  G

Question 11.
You use Visual Studio .NET to develop a Windows-based application that will manager vendor contracts.

You create a DataSet object, along with its associated DataTable object and DataView object. 

The DataSet object contains all data available for a single contract. This data is displayed in a DataGrid control. After all parties sign a contract, the value in a field named ContractEXApproved is set to True.

Business rules prohibit changes to database information about a contract when the ContractEXApproved value associated with the contract is true.
You must ensure that this business rule is enforces by your application code.
What should you do?

A. Set the AllowNew property of the DataSet object to False.
B. Set the AllowEdit property of the DataView object to False.
C. Call the EndEdit method of the DataTable object.
D. Call the EndEdit method of the DataRow object.

Answer:  B

Question 12.
As a software developer at XYZ you use Visual Studio .NET to create a Windows-based application.

The application enables users to update customer information that is stored in a database.
Your application contains several text boxes. All TextBox controls are validated as soon as focus is transferred to another control. However, your validation code does not function as expected. To debug the application, you place the following line of code in the Enter event handler for the first text box:

Trace.WriteLine (“Enter”)

You repeat the process for the Leave, Validated, Validating, and TextChanged events. In each event, the text is displayed in the output window contains the name of the event being handled.
You run the application and enter a value in the first TextBox control. Then you change focus to another control to force the validation routines to run. Which code segment will be displayed in the Visual Studio .NET output windows?

A. Enter Validating TextChanged Leave Validated 
B. Enter TextChanged Leave Validating Validated 
C. Enter Validating Validated TextChanged Leave 
D. Enter TextChanged Validating Validated Leave 
E. Enter Validating TextChanged Validated Leave

Answer:  B


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for MB5-199 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "MB5-199" Exam

Retail Management system Store Operations

 Question 1.
How are Receipt Formats applied in Store Operations Manager?

A. Per Printer. Each printer can have its own receipt format.
B. Per Cashier. Each cashier has their own receipt format.
C. None of the above
D. Per Store. Only one receipt format can be used on all registers.

Answer: A

Question 2.
A sales representative (Sales Rep) is added to a transaction in which ways?

A. 1 Sales Rep per Transaction
B. Multiple Sales Reps per Line Item
C. 1 Sales Rep Per Line Item
D. None of the above

Answer: A, C

Question 3.
Which of the following transactions allows the customer to make a deposit?

A. Return
B. Layaway
C. Work Order
D. Void

Answer: B, C

Question 4.
In the following scenario, how many will Store Operations suggest to order of this item considering the following? Quantity On Hand = 6; Quantity Committed = 1; On Order = 12; Reorder Point = 36; Restock Level = 48

A. 48
B. 31
C. 30
D. 82

Answer: B

Question 5.
Which options are available when creating a purchase order?

A. Based off of Reorder Information
B. By Last Ordered Date
C. Create duplicate of last order
D. Based off of Items Sold

Answer: A, D

Question 6.
The quantity on hand for an item that is being returned is currently 50 and the quantity committed is 15. If the item is returned to offline inventory through the use of a reason code, what is the quantity on hand and quantity committed once the return is completed and the quanties are automatically transferred to offline inventory?

A. Quantity on hand = 51; quantity committed = 14
B. Quantity on hand = 50; quantity committed = 16
C. Quantity on hand = 49; quantity committed = 16
D. Quantity on hand = 50; quantity committed = 15

Answer: D

Question 7.
Which Cost Update Method should you configure if you wish to replace existing item costs with the supplier's cost each time a shipment is received and committed?

A. None (manually updated)
B. LIFO
C. Last Cost
D. Weighted Average

Answer: C

Question 8.
Which report closes the current POS batch?

A. Y Report
B. None of the above
C. Z Report
D. X Report

Answer: C

Question 9.
Which tab in File | Configuration of Administrator would be used to define a merchant's Credit Card Authorization software?

A. HQ Client
B. EDC
C. Paths
D. Database

Answer: B

Question 10.
Users can create custom POS buttons for which of the following functions?

A. Invoke a custom program (COM objects)
B. View a web page
C. Execute an external application
D. Run an internal command (FireEvent)

Answer: A, B, C, D


Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.