Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft MB-500 Exam - Topic 15 Question 8 Discussion

Actual exam question for Microsoft's MB-500 exam
Question #: 8
Topic #: 15
[All MB-500 Questions]

You are a Dynamics 365 Finance developer. You create an integer variable named totalSales.

You need to display the value from totalSales in an info statement.

Which three code segments can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: A, C, D

A: int2Str converts an integer to the equivalent string.

C: any2Str converts an anytype value to a str value. The anytype data type is a placeholder for any data type.

D: Example:

void MyMethod()

{

for (int i = 0; i < 10; i++)

{

info(strfmt('i is %1', i));

}

}


https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-variables-data-types

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-primitive#anytype

Contribute your Thoughts:

0/2000 characters
Melynda
4 months ago
I agree with A and C, but D? Not so sure.
upvoted 0 times
...
Eleonora
5 months ago
All options look good to me, but I lean towards D.
upvoted 0 times
...
Johnna
5 months ago
Wait, are we sure Option B works? Seems off.
upvoted 0 times
...
Kristofer
5 months ago
I think Option C is the best one here.
upvoted 0 times
...
Julene
5 months ago
Option A is definitely a valid choice!
upvoted 0 times
...
Christiane
5 months ago
I’m pretty confident that option D is a valid way to display totalSales, but I need to double-check the syntax for the others.
upvoted 0 times
...
Yuonne
5 months ago
I think options A and C look familiar from our last session. I’m a bit uncertain about B though.
upvoted 0 times
...
Cammy
5 months ago
I remember we practiced displaying variables in info statements, but I’m not sure if all the options are correct.
upvoted 0 times
...
Muriel
5 months ago
I feel like I’ve seen a similar question before, but I can’t recall if it was about displaying integers or strings.
upvoted 0 times
...
Hyman
5 months ago
This seems like a straightforward ethics question. I'll carefully review the ACFE Code of Professional Ethics to make sure I understand the guidelines around expressing opinions on control deficiencies.
upvoted 0 times
...
Delisa
6 months ago
Hmm, this seems like a tricky one. I'll need to think it through carefully.
upvoted 0 times
...
Nancey
6 months ago
I remember we talked about how certain areas are designated specifically for high-value items. I'm leaning towards "Limited areas."
upvoted 0 times
...

Save Cancel