ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 170 - MCD - Level 1 discussion

Report
Export

Correct answer is {customerID}.

A.
var toUpper(userName) -> upper(userName)
Answers
A.
var toUpper(userName) -> upper(userName)
B.
fun toUpper(userName) = upper(userName)
Answers
B.
fun toUpper(userName) = upper(userName)
C.
fun toUpper(userName) -> upper(userName)
Answers
C.
fun toUpper(userName) -> upper(userName)
D.
var toUpper(userName) = upper(userName)
Answers
D.
var toUpper(userName) = upper(userName)
Suggested answer: B

Explanation:

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.

What is the correct DW code to define the toUpper function?

asked 18/09/2024
Ali Abbas
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first