Microsoft 70-494 - Recertification for MCSD: Web Applications Exam

Question #11 (Topic: Topic 1)
You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from
Views\Runlog \GetLog.cshtml to display the runner's average mile pace.
How should you implement the view? (To answer, drag the appropriate code segments to
the correct location or locations. Each code segment may be used once, more than once,
or not at all. You may need to drag the split bar between panes or scroll to view content.)
[Microsoft-70-494-8.0/Microsoft-70-494-21_2.png]
Answer: [Microsoft-70-494-8.0/Microsoft-70-494-21_3.png]
Question #12 (Topic: Topic 1)
You need to display the "miles" unit description after the distance in the GetLog view.
Which line of code should you use to replace line GL21? (Each correct answer presents a
complete solution. Choose all that apply.)
A. @log.Distance miles B. @Htrml.DisplayFor(model => log.Distance) miles C. @log.Distance.ToString() @Html.TextArea("miles") D. @Html.DisplayFor(model => log.Distance.ToString() + " miles")
Answer: A,B
Question #13 (Topic: Topic 1)
You need to ensure that only valid parameters are passed to the EditLog action.
How should you build the route? (To answer, drag the appropriate code segments to the
correct location or locations. Each code segment may be used once, more than once, or
not at all. You may need to drag the split bar between panes or scroll to view content.)
[Microsoft-70-494-8.0/Microsoft-70-494-22_2.png]
Answer: [Microsoft-70-494-8.0/Microsoft-70-494-23_2.png]
Question #14 (Topic: Topic 1)
[8]
and the Insert Run Data header text below the image. The view should resemble the
exhibit. (Click the Exhibit button.)
[Microsoft-70-494-8.0/Microsoft-70-494-24_2.png]
The application must display the image above the field set.
You need to add the HTML code to /Runlog/Views/InsertLog.cshtml to display the image
and header text.
Which code segment should you use?
[Microsoft-70-494-8.0/Microsoft-70-494-25_2.png]
A. Option A B. Option B C. Option C D. Option D
Answer: D
Question #15 (Topic: Topic 2)
You need to implement client-side animations according to the business requirements.
Which line of code should you use? (Each correct answer presents a complete solution.
Choose all that apply.)
A. $("body h1:nth-child(1)").fadeIn(1000); B. $("body h1:nth-child(1)")-fadeOut(1000); C. $("body h2:nth-child(1)").animate({ opacity: 0 }); D. $("body h1:nth-child(1)").animate({ opacity: 1 });
Answer: B,C
Download Exam
Page: 3 / 50
Total 249 questions