exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 1 question 19 discussion

Actual exam question from Microsoft's 70-483
Question #: 19
Topic #: 1
[All 70-483 Questions]

HOTSPOT -
You are implementing a library method that accepts a character parameter and returns a string.
If the lookup succeeds, the method must return the corresponding string value. If the lookup fails, the method must return the value "invalid choice."
You need to implement the lookup algorithm.
How should you complete the relevant code? (To answer, select the correct keyword in each drop-down list in the answer area.)
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References: http://msdn.microsoft.com/en-us/library/06tc147t(v=vs.110).aspx

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
mmarinov
Highly Voted 5 years, 1 month ago
The answer is correct. switch case case default
upvoted 9 times
MDimitrov
4 years, 5 months ago
Correct. And there should be also a break; at the end of the default statement.
upvoted 1 times
...
...
Ryan1234
Most Recent 4 years, 11 months ago
Switch case case default
upvoted 2 times
...
lh2607
4 years, 11 months ago
Yep, as mmarinov said.
upvoted 3 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 ...