nerdexam
SAP

C_BOCR_11 · Question #125

You create the following custom function in a new Crystal report: Function (TextVar Title); Select Title Case Mr. : Mister Case Mrs. : Missus Case Ms. : Miss Case Miss : Miss Case Dr. : Doctor Which…

The correct answer is A. You must re-declare the variable type. C. You must enclose all Select Case list items in quotes. See the full explanation below for the reasoning.

Question

You create the following custom function in a new Crystal report:

Function (TextVar Title); Select Title Case Mr. : Mister Case Mrs. : Missus Case Ms. : Miss Case Miss : Miss Case Dr. : Doctor Which two changes must you make to the code to successfully save the function? (Choose two.)

Options

  • AYou must re-declare the variable type.
  • BYou must insert a semicolon at the end of every line.
  • CYou must enclose all Select Case list items in quotes.
  • DYou must reorder the Select Case list.

How the community answered

(54 responses)
  • A
    80% (43)
  • B
    15% (8)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full C_BOCR_11 Practice