Multiple choice technology web 2.0

What is the output for UCase(True)?

  1. True

  2. TRUE

  3. tRUE

  4. true

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Visual Basic / VBA, UCase converts a string to uppercase. When passed a boolean value like True, it implicitly converts the boolean to its string representation 'True' and then capitalizes it to 'TRUE'.