exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 83 discussion

Actual exam question from Microsoft's 98-361
Question #: 83
Topic #: 1
[All 98-361 Questions]

HOTSPOT -
You are reviewing the following code that saves uploaded images.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
cdc
Highly Voted 2 years, 6 months ago
The answer is: No, No, Yes
upvoted 17 times
...
Hashino
Most Recent 1 year, 10 months ago
answer: No, Yes, No because ImageInfo is not a value type, all of its information is stored in the heap
upvoted 4 times
Boruc
1 year, 7 months ago
The key factor here is struct which behaves differently than class. - right answer is No,No, Yes
upvoted 4 times
...
ReDo
1 year, 9 months ago
It is No, No, Yes Bytes[] is not a known size, so is NOT stored on the stack Length is an int, which is a known size, so is NOT stored on the heap Id is a Guid, which is a known size, which IS stored on the stack
upvoted 6 times
itexamsmicrosoft
9 months, 3 weeks ago
a Guid is an object so it's no, no, no
upvoted 1 times
itexamsmicrosoft
9 months, 3 weeks ago
correction - just notice it's a struct so on the stack. no, no, yes is correct.
upvoted 2 times
JamieS
1 month, 2 weeks ago
This is correct, a GUID is a struct, so when created it's on the stack. In our case we have a struct, but Bytes[] is a reference type, so its storage is on the heap. Length is an int (value type) so it's storage is on the stack.
upvoted 1 times
...
...
...
...
matt11
5 months, 2 weeks ago
This is wrong - ignore. Please can everybody avoid posting comments with such confidence unless you are 100% sure you are right - you're making the whole learning process a lot more confusing for people who don't know this stuff
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago