Multiple Choice
Case 1 - MTN Outdoor
You have just started working for MTN Outdoor as a programmer. Your first assignment is to review and correct various code to use sub procedures and/or functions.
-An application allows a user to scan a bar code of an item to determine the item price.A message that contains the item name and the item price should display.You need to create a Sub procedure to display the message.Which of the following procedure headers should be used?
A) Private Sub DisplayMessage(ByVal strItem As String, ByVal decPrice As Decimal)
B) Private Function DisplayMessage(ByVal strItem As String, ByVal decPrice As Decimal)
C) Private Sub DisplayMessage(ByRef strItem As String, ByRef decPrice As Decimal)
D) Private Sub DisplayMessage(ByVal strItem As String, ByRef decPrice As Decimal)
Correct Answer:

Verified
Correct Answer:
Verified
Q15: Case 1 - MTN Outdoor<br>You have just
Q16: The following sample of code contains errors.
Q17: Visual Basic allows you to specify that
Q18: The expression Math.Round(287.876,2)yields a value of _.<br>A)287.87<br>B)287.88<br>C)288.00<br>D)290.00
Q19: For the access key to work correctly
Q21: What is a combo box? List the
Q22: Which of the following statements will determine
Q23: The syntax of the Call statement is
Q24: Which of the following is a valid
Q25: You pass a variable _ when the