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

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.
A) Option A and C) Option C and D) Option D
B) Option B

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
10 months ago
I agree with A and C, but D? Not so sure.
upvoted 0 times
...
Eleonora
11 months ago
All options look good to me, but I lean towards D.
upvoted 0 times
...
Johnna
11 months ago
Wait, are we sure Option B works? Seems off.
upvoted 0 times
...
Kristofer
11 months ago
I think Option C is the best one here.
upvoted 0 times
...
Julene
11 months ago
Option A is definitely a valid choice!
upvoted 0 times
...
Christiane
11 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
11 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
11 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
11 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
12 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
12 months ago
Hmm, this seems like a tricky one. I'll need to think it through carefully.
upvoted 0 times
...
Nancey
12 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